/* SUNIVA_CHARACTER_PORTAL_V1_20260912 */
/* SUNIVA_ADMIN_MEMBER_PREVIEW_PROTECTED_IMAGES_V1_20260920 */
.scp {
    --scp-bg: #f7f1e4;
    --scp-ink: #2b241c;
    --scp-muted: #7a6f62;
    --scp-gold: #c6ae7a;
    --scp-green: #2f5c45;
    --scp-green-deep: #244a38;
    --scp-card: #fffdf8;
    max-width: 430px;
    margin: 0 auto;
    padding: 8px 20px 64px;
    color: var(--scp-ink);
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "Hiragino Sans", serif;
    background: transparent;
    min-height: 70vh;
    position: relative;
}
.scp-brand {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 0 0 14px;
}
.scp-brand a { color: inherit; text-decoration: none; }
.scp-brand__mark {
    display: block;
    letter-spacing: 0.28em;
    font-size: 0.72rem;
    color: #b8924e;
}
.scp-brand__sub {
    display: block;
    margin-top: 6px;
    font-size: 0.72rem;
    color: var(--scp-muted);
    letter-spacing: 0.04em;
}
.scp-brand__menu,
.scp-brand__back {
    font-size: 0.88rem;
    color: var(--scp-green);
    padding: 6px 0;
    line-height: 1.45;
    text-align: right;
    max-width: 9.5em;
}
.scp-title {
    font-size: 1.7rem;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0.04em;
    margin: 0 0 16px;
}
.scp-title--hero {
    font-size: 1.85rem;
    line-height: 1.5;
    letter-spacing: 0.03em;
    margin: 0 0 14px;
}
.scp-h2 {
    font-size: 1.28rem;
    font-weight: 500;
    line-height: 1.55;
    margin: 0 0 8px;
    text-align: center;
}
.scp-lead {
    color: #4a4238;
    font-size: 1.05rem;
    line-height: 1.9;
    margin: 0 0 22px;
}
.scp-lead--tight { margin-bottom: 22px; }
.scp-sec .scp-lead, .scp-sec .scp-h2 { text-align: center; }
.scp-kicker {
    letter-spacing: 0.08em;
    font-size: 0.95rem;
    color: #8a7043;
    margin: 0 0 12px;
    line-height: 1.7;
}
.scp-note {
    font-size: 0.95rem;
    color: #5c5348;
    line-height: 1.75;
    margin: 14px 0 0;
    text-align: center;
}
.scp-script {
    text-align: center;
    color: #b8924e;
    font-style: italic;
    letter-spacing: 0.08em;
    margin: 18px 0 22px;
    font-size: 0.92rem;
}
.scp-script--soft { margin-top: 18px; }
.scp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 54px;
    width: 100%;
    border: 1px solid rgba(184, 146, 78, 0.55);
    border-radius: 18px;
    background: #fffdf8;
    color: var(--scp-green-deep);
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(184, 146, 78, 0.14);
    cursor: pointer;
}
.scp-btn__arrow {
    color: var(--scp-green);
    font-size: 1.2rem;
    line-height: 1;
}
.scp-btn--green,
.scp-btn--soft {
    background: #fff8ea;
    color: var(--scp-green-deep);
}
.scp-btn--ghost {
    background: #fff;
    color: var(--scp-ink);
    box-shadow: none;
    border: 1px solid rgba(198, 174, 122, 0.55);
    margin-top: 20px;
}
.scp-products .scp-btn { margin-top: 12px; }
.scp-text-btn {
    background: none;
    border: 0;
    color: var(--scp-green);
    text-decoration: underline;
    padding: 12px 0;
    cursor: pointer;
}
.scp-hero-map,
.scp-map-board { margin: 8px 0 0; }
.scp-map-board { margin: 0 0 22px; }
.scp-map-board__world,
.scp-hero-map {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background:
        radial-gradient(circle at 18% 78%, rgba(120, 168, 122, 0.42), transparent 38%),
        radial-gradient(circle at 82% 18%, rgba(255, 220, 160, 0.5), transparent 32%),
        repeating-linear-gradient(90deg, rgba(170, 190, 160, 0.18) 0 1px, transparent 1px 28px),
        repeating-linear-gradient(0deg, rgba(170, 190, 160, 0.14) 0 1px, transparent 1px 28px),
        linear-gradient(180deg, #e7f0e4 0%, #f3efe4 48%, #dce8d6 100%);
    min-height: 280px;
    box-shadow: 0 18px 40px rgba(80, 50, 20, 0.12);
}
.scp-map-board--hero .scp-map-board__world { min-height: 300px; }
.scp-map-board__road {
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 16%;
    height: 16px;
    border-radius: 20px;
    background: linear-gradient(90deg, rgba(180, 160, 130, 0), rgba(180, 160, 130, 0.45), rgba(180, 160, 130, 0));
    z-index: 1;
    pointer-events: none;
}
.scp-map-board__green {
    position: absolute;
    inset: auto 0 0 0;
    height: 26%;
    background: radial-gradient(circle at 30% 40%, rgba(80, 130, 90, 0.22), transparent 50%);
    pointer-events: none;
}
.scp-map-board__dot {
    position: absolute;
    z-index: 1;
    width: 14px;
    height: 18px;
    border-radius: 5px 5px 2px 2px;
    background: linear-gradient(180deg, #efe3c4, #b9a078);
    box-shadow: 0 4px 8px rgba(60, 40, 20, 0.18);
    pointer-events: none;
}
.scp-map-board__dot--a { left: 8%; bottom: 24%; }
.scp-map-board__dot--b { right: 9%; bottom: 28%; }
.scp-map-board__dot--c { left: 16%; top: 14%; }
.scp-map-board__spark {
    position: absolute;
    z-index: 2;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff6d6;
    box-shadow: 0 0 10px #ffe9a8;
    pointer-events: none;
}
.scp-map-board__spark--1 { left: 28%; top: 12%; }
.scp-map-board__spark--2 { right: 20%; top: 22%; }
.scp-map-board__spark--3 { left: 58%; bottom: 18%; }
.scp-map-board__portal {
    display: block;
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center bottom;
    vertical-align: bottom;
}
.scp-map-board figcaption { padding: 12px 4px 0; }
.scp-map-board strong { display: block; font-size: 1.02rem; }
.scp-map-board small, .scp-map-board em {
    display: block;
    color: var(--scp-muted);
    font-style: normal;
    margin-top: 4px;
}
.scp-map-board em { color: var(--scp-green); font-size: 0.85rem; }
.scp-map-boards { display: grid; gap: 18px; }
.scp-map-pin {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 253, 248, 0.94);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    font-family: "Hiragino Sans", sans-serif;
    box-shadow: 0 6px 16px rgba(60, 40, 20, 0.12);
    white-space: normal;
    max-width: calc(100% - 28px);
    line-height: 1.4;
}
.scp-map-pin::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: #c6ae7a;
}
.scp-map-pin--gold::before { background: #c6ae7a; }
.scp-map-pin--green { left: 10px; bottom: auto; top: 10px; }
.scp-map-pin--green::before { background: #3d8a5a; }
.scp-map-pin--rose { left: auto; right: 10px; bottom: auto; top: 10px; }
.scp-map-pin--rose::before { background: #d08a3a; }
.scp-ribbon {
    display: none;
}
.scp-sec { margin-top: 56px; padding-top: 8px; }
.scp-sec--flush { margin-top: 28px; }
.scp-sec--close { margin-top: 64px; text-align: center; }
.scp-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.scp-mini .scp-map-pin {
    font-size: 0.58rem;
    padding: 5px 8px;
    max-width: calc(100% - 16px);
    overflow: hidden;
    text-overflow: ellipsis;
}
.scp-mini {
    display: block;
    position: relative;
    color: inherit;
    text-decoration: none;
    background: var(--scp-card);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(80, 50, 20, 0.08);
    padding-bottom: 12px;
}
.scp-mini img { width: 100%; display: block; aspect-ratio: 1; object-fit: cover; }
.scp-mini strong, .scp-mini small { display: block; padding: 0 10px; }
.scp-mini strong { margin-top: 10px; font-size: 0.92rem; }
.scp-mini small { color: var(--scp-muted); font-size: 0.72rem; line-height: 1.5; margin-top: 4px; }
.scp-types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 8px 0 22px;
}
.scp-types a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 86px;
    background: var(--scp-card);
    border-radius: 22px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 18px rgba(80, 50, 20, 0.06);
    font-size: 0.88rem;
}
.scp-recipe {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin: 0 0 22px;
}
.scp-recipe__card {
    flex: 1;
    min-height: 88px;
    background: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(80, 50, 20, 0.06);
    font-size: 0.78rem;
    color: var(--scp-muted);
    text-align: center;
}
.scp-recipe__card--note { background: #fff8e8; }
.scp-recipe__card--map { padding: 6px; flex-direction: column; gap: 4px; }
.scp-recipe__card--map img { width: 100%; border-radius: 10px; display: block; }
.scp-recipe__card--map small { font-size: 0.58rem; line-height: 1.3; color: var(--scp-green); }
.scp-recipe__plus { color: var(--scp-gold); font-size: 1.1rem; }
.scp-plans { display: grid; gap: 18px; margin-top: 8px; }
.scp-plan {
    display: block;
    background: #fffdf8;
    border-radius: 22px;
    padding: 24px 22px 20px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 24px rgba(80, 50, 20, 0.06);
    position: relative;
    border: 1px solid rgba(198, 174, 122, 0.35);
    text-align: left;
    width: 100%;
    font-family: inherit;
}
.scp-plan--focus {
    background: linear-gradient(180deg, #fffdf8, #f7edd3);
    border-color: rgba(184, 146, 78, 0.55);
}
.scp-plan i {
    position: absolute;
    right: 14px;
    top: -10px;
    font-style: normal;
    font-size: 0.72rem;
    background: #fffdf8;
    color: var(--scp-green-deep);
    border: 1px solid rgba(184, 146, 78, 0.55);
    border-radius: 999px;
    padding: 4px 10px;
    font-family: "Hiragino Sans", sans-serif;
}
.scp-plan b { display: block; font-weight: 500; font-size: 1.08rem; }
.scp-plan strong {
    display: block;
    font-size: 1.35rem;
    margin: 10px 0 12px;
    font-weight: 500;
    line-height: 1.45;
}
.scp-plan small, .scp-plan p { display: block; color: #4a4238; line-height: 1.7; margin: 0 0 12px; font-size: 1rem; }
.scp-plan ul {
    margin: 0 0 18px;
    padding: 0 0 0 1.1em;
    color: #4a4238;
    line-height: 1.75;
}
.scp-plan span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 46px;
    border-radius: 16px;
    background: #fffdf8;
    color: var(--scp-green-deep);
    border: 1px solid rgba(184, 146, 78, 0.5);
    font-family: "Hiragino Sans", sans-serif;
    letter-spacing: 0.04em;
}
.scp-plan span i { position: static; border: 0; padding: 0; background: none; color: var(--scp-green); font-size: 1.1rem; }
.scp-plan--focus span { background: #fff; }
.scp-plaza-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}
.scp-plaza-head .scp-h2 { text-align: left; margin: 0; }
.scp-plaza-head a { font-size: 0.8rem; color: var(--scp-muted); white-space: nowrap; }
.scp-plaza-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 72%;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 2px 12px;
    scroll-snap-type: x mandatory;
}
.scp-plaza-card {
    scroll-snap-align: start;
    background: var(--scp-card);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 18px rgba(80, 50, 20, 0.08);
    position: relative;
    display: block;
}
.scp-plaza-card img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.scp-plaza-card em {
    position: absolute;
    left: 10px;
    top: 10px;
    font-style: normal;
    background: rgba(255,253,248,0.92);
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 0.68rem;
}
.scp-plaza-card strong, .scp-plaza-card small { display: block; padding: 0 12px; }
.scp-plaza-card strong { margin-top: 10px; font-size: 0.92rem; }
.scp-plaza-card small { color: var(--scp-muted); padding-bottom: 14px; margin-top: 4px; }
.scp-foot {
    margin-top: 48px;
    text-align: center;
    color: var(--scp-muted);
    font-size: 0.82rem;
    line-height: 1.8;
}
.scp-foot__links { display: flex; justify-content: center; gap: 16px; margin-top: 10px; }
.scp-foot__links a { color: var(--scp-muted); }

.scp-hero {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.scp-hero__copy { order: 1; }
.scp-hero .scp-map-board--hero { order: 2; margin-top: 8px; }
.scp-hero__cta { order: 3; margin-top: 4px; }
.scp-hero__lead { order: 4; margin: 18px 0 0; }
.scp-map-caption {
    margin: 0 0 8px;
    text-align: center;
    font-size: 0.92rem;
    color: #8a7043;
    letter-spacing: 0.04em;
}
.scp-cues {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}
.scp-cues li {
    background: rgba(255, 253, 248, 0.96);
    border: 1px solid rgba(198, 174, 122, 0.45);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 0.88rem;
    color: var(--scp-green-deep);
    letter-spacing: 0.04em;
}
.scp-story,
.scp-steps {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    position: relative;
}
.scp-story::before,
.scp-steps::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 18px;
    bottom: 18px;
    width: 1px;
    background: rgba(184, 146, 78, 0.45);
}
.scp-story li,
.scp-steps li {
    position: relative;
    padding: 0 0 22px 36px;
}
.scp-story li:last-child,
.scp-steps li:last-child { padding-bottom: 0; }
.scp-story li::before,
.scp-steps li::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 8px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #fffdf8;
    border: 2px solid var(--scp-green);
}
.scp-story b,
.scp-steps b,
.scp-dream h3,
.scp-after h3 {
    display: block;
    font-size: 1.12rem;
    font-weight: 500;
    margin: 0 0 6px;
}
.scp-story p,
.scp-steps p,
.scp-dream p,
.scp-after p {
    margin: 0;
    color: #4a4238;
    font-size: 1.02rem;
    line-height: 1.85;
}
.scp-story,
.scp-steps,
.scp-dreams,
.scp-after,
.scp-can,
.scp-trust {
    text-align: left;
}
.scp-dreams { display: grid; gap: 36px; margin-top: 18px; }
.scp-dream h3 { margin-top: 12px; }
.scp-dream__line {
    color: #8a7043 !important;
    font-size: 1.08rem !important;
    margin: 0 0 8px !important;
}
.scp-dream em {
    display: block;
    margin-top: 10px;
    color: var(--scp-green);
    font-style: normal;
    font-size: 0.95rem;
}
.scp-types { margin-top: 22px; }
.scp-how .scp-btn,
.scp-sec .scp-btn { margin-top: 8px; }
.scp-after { display: grid; gap: 22px; margin-top: 12px; }
.scp-after article {
    background: #fffdf8;
    border-radius: 22px;
    padding: 22px 20px;
    border: 1px solid rgba(198, 174, 122, 0.28);
}
.scp-after ul,
.scp-can,
.scp-trust {
    margin: 10px 0 0;
    padding: 0 0 0 1.15em;
    color: #4a4238;
    font-size: 1.02rem;
    line-height: 1.85;
}
.scp-can { margin-top: 0; }
.scp-trust {
    margin: 22px 0 8px;
    padding: 16px 18px 16px 2.1em;
    background: #fffdf8;
    border-radius: 18px;
    border: 1px solid rgba(198, 174, 122, 0.28);
}
.scp-buy-note {
    margin: 16px 0 0;
    text-align: center;
    color: #4a4238;
    font-size: 1rem;
    line-height: 1.8;
}
.scp-meet { padding: 4px 0 8px; }
.scp-buy-choice {
    display: block;
    width: 100%;
    text-align: left;
    background: #fffdf8;
    border: 1px solid rgba(198, 174, 122, 0.45);
    border-radius: 18px;
    padding: 16px 18px;
    margin-top: 10px;
    cursor: pointer;
    font-family: inherit;
}
.scp-buy-choice strong { display: block; color: var(--scp-green-deep); margin: 6px 0; }
.scp-buy-choice span { color: var(--scp-green-deep); }

.scp-screen { display: none; padding: 8px 0 24px; }
.scp-screen.is-active { display: block; }
.scp-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 24px; }
.scp-choice {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    background: var(--scp-card);
    border: 1px solid rgba(198, 174, 122, 0.35);
    border-radius: 20px;
    padding: 22px 12px;
    min-height: 86px;
}
.scp-upload {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    border: 1px dashed rgba(198, 174, 122, 0.7);
    border-radius: 24px;
    background: var(--scp-card);
    margin-bottom: 16px;
}
.scp-upload input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.scp-preview { width: 100%; border-radius: 24px; margin-bottom: 16px; }
.scp-form textarea, .scp-form-stack input, .scp-form-stack select, .scp-shop input {
    width: 100%;
    border: 1px solid rgba(198, 174, 122, 0.4);
    background: #fff;
    border-radius: 14px;
    padding: 14px;
    font-size: 1rem;
}
.scp-shop { display: grid; gap: 10px; margin: 16px 0; }
.scp-flow {
    text-align: center;
    margin: 20px 0;
    padding: 14px;
    background: #fff;
    border-radius: 16px;
    letter-spacing: 0.06em;
}
.scp-spinner {
    width: 42px;
    height: 42px;
    margin: 32px auto;
    border-radius: 50%;
    border: 2px solid #efe3c4;
    border-top-color: var(--scp-gold);
    animation: scp-spin 1s linear infinite;
}
@keyframes scp-spin { to { transform: rotate(360deg); } }
.scp-map-scene { margin: 0 0 28px; }
.scp-map-scene__world {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #e7f0e4;
    min-height: 280px;
}
.scp-map-scene__hero {
    display: block;
    width: 100%;
}
.scp-result-stage {
    position: relative;
    margin: 0 0 24px;
    background: radial-gradient(circle at 50% 30%, #fff, #f3efe4);
    border-radius: 28px;
    overflow: hidden;
}
.scp-result-stage img { width: 100%; display: block; }
.scp-result-stage--small { max-width: 280px; margin-left: auto; margin-right: auto; }
.scp-work-name {
    margin: -6px auto 22px;
    max-width: 560px;
    text-align: center;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "Hiragino Sans", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, serif;
    font-size: 0.92rem;
    line-height: 1.5;
    letter-spacing: 0.14em;
    color: #5c4a32;
    background: #fffaf0;
    border: 1px solid rgba(198, 174, 122, 0.75);
    box-shadow: inset 0 0 0 1px rgba(255, 248, 232, 0.9);
    border-radius: 999px;
    padding: 8px 22px;
}
@media (max-width: 640px) {
    body.scp-create-flow .scp-result .scp-title {
        padding-right: 72px;
    }
}
.scp-two { margin-top: 8px; }
.scp-plaza { display: grid; gap: 18px; }
.scp-card {
    background: var(--scp-card);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(80, 60, 30, 0.06);
}
.scp-card img { width: 100%; display: block; }
.scp .scp-owned-image-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 220px;
    padding: 28px;
    box-sizing: border-box;
    background: linear-gradient(145deg, #fffefb, #fff7df);
    color: #725f3e;
    text-align: center;
    line-height: 1.8;
    border-bottom: 1px solid rgba(198, 174, 122, 0.35);
}
.scp-card h2, .scp-card p, .scp-card strong, .scp-card span { display: block; padding: 0 16px; }
.scp-card h2 { margin: 12px 0 4px; font-size: 1.05rem; }
.scp-card a { color: inherit; text-decoration: none; display: block; padding-bottom: 16px; }
.scp-products { display: grid; gap: 12px; margin-top: 16px; }
.scp-product {
    text-align: left;
    background: #fffdf8;
    border: 1px solid rgba(198, 174, 122, 0.45);
    border-radius: 18px;
    padding: 16px 18px;
    cursor: pointer;
}
.scp-product span { display: block; color: var(--scp-green-deep); margin: 6px 0; }
.scp-form-stack { display: grid; gap: 12px; }
.scp-check { display: flex; gap: 8px; align-items: flex-start; font-size: 0.95rem; }
.scp-flash { background: #fff; border-left: 3px solid var(--scp-gold); padding: 12px 14px; }
.scp-flash--error { border-left-color: #a45b4a; }
.scp-links { margin-top: 28px; text-align: center; }
.scp-links a { color: var(--scp-green); }
.suniva-map-create-character {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 8px 12px 0;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.92);
    color: #2b241c;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.04em;
    box-shadow: 0 6px 18px rgba(80, 60, 30, 0.12);
}
.spic__item.is-character, .spe-building-card.is-character {
    outline: 1px solid rgba(198, 174, 122, 0.8);
    order: -1;
}
@media (min-width: 860px) {
    .scp { max-width: 980px; padding-top: 16px; }
    .scp-title--hero { font-size: 2.15rem; }
    .scp-btn { width: auto; min-width: 300px; }
    .scp-hero {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 36px 40px;
        align-items: center;
    }
    .scp-hero__copy,
    .scp-hero .scp-map-board--hero,
    .scp-hero__cta,
    .scp-hero__lead { order: unset; }
    .scp-hero__copy { grid-column: 1; grid-row: 1; }
    .scp-hero__lead { grid-column: 1; grid-row: 2; margin: 0; }
    .scp-hero__cta { grid-column: 1; grid-row: 3; }
    .scp-hero .scp-map-board--hero { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
    .scp-hero .scp-btn { width: 100%; max-width: 380px; }
    .scp-plans { grid-template-columns: 1fr 1fr; }
    .scp-after { grid-template-columns: 1fr 1fr; }
    .scp-plaza-row { grid-auto-columns: 31%; }
    .scp-map-boards { grid-template-columns: 1fr; }
    .scp-map-board--hero .scp-map-board__world { min-height: 420px; }
    .scp-brand__back { max-width: none; }
}
@media (max-width: 859px) {
    .scp-brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .scp-brand__menu,
    .scp-brand__back {
        max-width: none;
        text-align: left;
        white-space: nowrap;
    }
    .scp-brand__back { white-space: normal; }
}
/* LP only: confirmed live DOM on 2026-09-12
   body#page_suniva_character_portal_lp
   header.sn-live-header
   .sn-live-header-spacer-v5-1
   nav.sn-live-bottom
   nav.sn-live-main
   aside.sn-live-drawer
   .sn-live-backdrop
   .sn-live-place
   .suniva-trust-footer
   .ec-layoutRole__contents max-width 1150px
   aside.ec-layoutRole__left is NOT present on this LP
*/
body#page_suniva_character_portal_lp,
body.scp-lp-page,
body#page_suniva_character_portal_plaza_detail,
body.scp-detail-page {
    overflow-x: hidden;
    background:
        radial-gradient(circle at 12% 8%, rgba(255, 236, 180, 0.55), transparent 28%),
        radial-gradient(circle at 88% 12%, rgba(255, 248, 220, 0.7), transparent 24%),
        #f7f1e4;
}
body#page_suniva_character_portal_lp .ec-layoutRole,
body.scp-lp-page .ec-layoutRole,
body#page_suniva_character_portal_lp .ec-layoutRole__contents,
body.scp-lp-page .ec-layoutRole__contents,
body#page_suniva_character_portal_lp .ec-layoutRole__main,
body.scp-lp-page .ec-layoutRole__main {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
}
body#page_suniva_character_portal_lp .ec-layoutRole__contents,
body.scp-lp-page .ec-layoutRole__contents {
    padding-bottom: 0;
}
body#page_suniva_character_portal_lp .sn-live-header,
body.scp-lp-page .sn-live-header,
body#page_suniva_character_portal_lp .sn-live-header-spacer-v5-1,
body.scp-lp-page .sn-live-header-spacer-v5-1,
body#page_suniva_character_portal_lp .sn-live-bottom,
body.scp-lp-page .sn-live-bottom,
body#page_suniva_character_portal_lp .sn-live-main,
body.scp-lp-page .sn-live-main,
body#page_suniva_character_portal_lp .sn-live-drawer,
body.scp-lp-page .sn-live-drawer,
body#page_suniva_character_portal_lp .sn-live-backdrop,
body.scp-lp-page .sn-live-backdrop,
body#page_suniva_character_portal_lp .sn-live-place,
body.scp-lp-page .sn-live-place,
body#page_suniva_character_portal_lp .suniva-trust-footer,
body.scp-lp-page .suniva-trust-footer,
body#page_suniva_character_portal_lp .ec-blockTopBtn,
body.scp-lp-page .ec-blockTopBtn {
    display: none !important;
}
body#page_suniva_character_portal_plaza_detail,
body.scp-detail-page {
    overflow-x: hidden;
    background:
        radial-gradient(circle at 12% 8%, rgba(255, 236, 180, 0.55), transparent 28%),
        radial-gradient(circle at 88% 12%, rgba(255, 248, 220, 0.7), transparent 24%),
        #f7f1e4;
}
body#page_suniva_character_portal_plaza_detail .ec-layoutRole,
body.scp-detail-page .ec-layoutRole,
body#page_suniva_character_portal_plaza_detail .ec-layoutRole__contents,
body.scp-detail-page .ec-layoutRole__contents,
body#page_suniva_character_portal_plaza_detail .ec-layoutRole__main,
body.scp-detail-page .ec-layoutRole__main {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
}
body#page_suniva_character_portal_plaza_detail .sn-live-header,
body.scp-detail-page .sn-live-header,
body#page_suniva_character_portal_plaza_detail .sn-live-header-spacer-v5-1,
body.scp-detail-page .sn-live-header-spacer-v5-1,
body#page_suniva_character_portal_plaza_detail .sn-live-bottom,
body.scp-detail-page .sn-live-bottom,
body#page_suniva_character_portal_plaza_detail .sn-live-main,
body.scp-detail-page .sn-live-main,
body#page_suniva_character_portal_plaza_detail .sn-live-drawer,
body.scp-detail-page .sn-live-drawer,
body#page_suniva_character_portal_plaza_detail .sn-live-backdrop,
body.scp-detail-page .sn-live-backdrop,
body#page_suniva_character_portal_plaza_detail .sn-live-place,
body.scp-detail-page .sn-live-place,
body#page_suniva_character_portal_plaza_detail .suniva-trust-footer,
body.scp-detail-page .suniva-trust-footer,
body#page_suniva_character_portal_plaza_detail .ec-blockTopBtn,
body.scp-detail-page .ec-blockTopBtn {
    display: none !important;
}

/* SUNIVA_CHARACTER_PORTAL_CREATE_FLOW_V1_20260913
   Live DOM 2026-09-13: header.sn-live-header / .sn-live-header-spacer-v5-1
   nav.sn-live-bottom / aside.sn-live-drawer / .sn-live-backdrop
   .sn-live-place / .suniva-message-entry / .ec-blockTopBtn.pagetop
   body#page_suniva_character_portal_create|work|sell|claim
*/
body#page_suniva_character_portal_create,
body#page_suniva_character_portal_work,
body#page_suniva_character_portal_sell,
body#page_suniva_character_portal_claim,
body.scp-create-flow {
    overflow-x: hidden;
    background:
        radial-gradient(circle at 8% 12%, rgba(255, 236, 180, 0.55), transparent 26%),
        radial-gradient(circle at 92% 18%, rgba(255, 248, 220, 0.65), transparent 22%),
        #f7f1e4;
}
body#page_suniva_character_portal_create .ec-layoutRole,
body#page_suniva_character_portal_work .ec-layoutRole,
body#page_suniva_character_portal_sell .ec-layoutRole,
body#page_suniva_character_portal_claim .ec-layoutRole,
body.scp-create-flow .ec-layoutRole,
body#page_suniva_character_portal_create .ec-layoutRole__contents,
body#page_suniva_character_portal_work .ec-layoutRole__contents,
body#page_suniva_character_portal_sell .ec-layoutRole__contents,
body#page_suniva_character_portal_claim .ec-layoutRole__contents,
body.scp-create-flow .ec-layoutRole__contents,
body#page_suniva_character_portal_create .ec-layoutRole__main,
body#page_suniva_character_portal_work .ec-layoutRole__main,
body#page_suniva_character_portal_sell .ec-layoutRole__main,
body#page_suniva_character_portal_claim .ec-layoutRole__main,
body.scp-create-flow .ec-layoutRole__main {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
}
body#page_suniva_character_portal_create .sn-live-header,
body#page_suniva_character_portal_work .sn-live-header,
body#page_suniva_character_portal_sell .sn-live-header,
body#page_suniva_character_portal_claim .sn-live-header,
body.scp-create-flow .sn-live-header,
body#page_suniva_character_portal_create .sn-live-header-spacer-v5-1,
body#page_suniva_character_portal_work .sn-live-header-spacer-v5-1,
body#page_suniva_character_portal_sell .sn-live-header-spacer-v5-1,
body#page_suniva_character_portal_claim .sn-live-header-spacer-v5-1,
body.scp-create-flow .sn-live-header-spacer-v5-1,
body.scp-create-flow .sn-live-bottom,
body.scp-create-flow .sn-live-main,
body.scp-create-flow .sn-live-drawer,
body.scp-create-flow .sn-live-backdrop,
body.scp-create-flow .sn-live-place,
body.scp-create-flow .suniva-trust-footer,
body.scp-create-flow .ec-blockTopBtn,
body.scp-create-flow .pagetop,
body.scp-create-flow .ec-topicPath,
body.scp-create-flow .suniva-message-entry {
    display: none !important;
}
body.scp-create-flow .scp,
body.scp-create-flow .scp--create {
    max-width: 840px;
    margin: 0 auto;
    padding: 8px 20px 48px;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}
.scp-create-aura {
    display: none;
}
.scp-create-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 4px 0 18px;
    position: relative;
    z-index: 2;
}
.scp-create-head__brand {
    color: inherit;
    text-decoration: none;
}
.scp-create-head__sub {
    display: block;
    margin-top: 6px;
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    color: #5c5348;
}
.scp-create-head__back {
    border: 0;
    background: none;
    color: #5c5348;
    font-size: 0.92rem;
    letter-spacing: 0.06em;
    padding: 8px 0;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}
.scp-progress { margin: 0 0 28px; }
.scp-progress__bar {
    height: 3px;
    border-radius: 99px;
    background: rgba(198, 174, 122, 0.18);
    overflow: hidden;
    margin: 0 0 12px;
}
.scp-progress__bar b {
    display: block;
    width: 16%;
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, #e8d5a3, #c6ae7a);
    box-shadow: 0 0 12px rgba(230, 200, 120, 0.7);
    transition: width .45s ease;
}
.scp-progress__steps {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: #b3a48e;
}
.scp-progress__steps .is-now { color: #8a7043; }
.scp-progress__steps .is-done { color: #c6ae7a; }
.scp-pick {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0 0 12px;
    padding-bottom: 8px;
}
.scp-pick__card {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 14px;
    row-gap: 6px;
    align-items: start;
    background: #fffdf8;
    border-radius: 22px;
    padding: 10px 10px 12px;
    min-height: 0;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(80, 50, 20, 0.06);
    outline: 1px solid rgba(198, 174, 122, 0.28);
    position: relative;
}
.scp-pick__card input {
    appearance: none;
    -webkit-appearance: none;
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    pointer-events: none;
}
.scp-pick__card.is-on,
.scp-pick__card:has(input:checked) {
    padding-right: 42px;
}
.scp-pick__card img {
    grid-row: auto;
    width: 100%;
    height: 76px;
    object-fit: cover;
    border-radius: 16px;
    background: #efe6d2;
}
.scp-pick__card strong {
    font-size: 1.08rem;
    letter-spacing: 0.06em;
    font-weight: 500;
}
.scp-pick__card span {
    color: #5c5348;
    font-size: 0.84rem;
    line-height: 1.55;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
}
.scp-pick__card.is-on,
.scp-pick__card:has(input:checked),
.scp-pick__card:focus-within {
    outline: 0;
    box-shadow:
        0 0 0 1px rgba(230, 204, 130, 0.9),
        0 0 22px rgba(230, 200, 120, 0.45),
        0 12px 28px rgba(80, 50, 20, 0.08);
}
.scp-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}
.scp-create-cta {
    position: static;
    z-index: 3;
    padding: 18px 0 calc(18px + env(safe-area-inset-bottom));
    background: none;
}
body.scp-create-flow .scp-screen.is-active {
    padding-bottom: 8px;
}
body.scp-create-flow .scp--create {
    padding-bottom: 24px;
}
.scp-frame {
    display: block;
    position: relative;
    min-height: 240px;
    border-radius: 28px;
    margin: 8px 0 16px;
    cursor: pointer;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 40%, rgba(255, 248, 220, 0.9), rgba(247, 241, 228, 0.4));
    box-shadow:
        0 0 0 1px rgba(230, 204, 130, 0.55),
        0 0 28px rgba(230, 200, 120, 0.28),
        inset 0 0 40px rgba(255, 250, 230, 0.8);
}
.scp-frame input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}
.scp-frame__glow {
    position: absolute;
    inset: 14px;
    border-radius: 22px;
    border: 1px solid rgba(230, 204, 130, 0.45);
    pointer-events: none;
    box-shadow: inset 0 0 24px rgba(255, 236, 180, 0.35);
}
.scp-frame__label {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    letter-spacing: 0.16em;
    color: #8a7043;
    font-size: 0.92rem;
    white-space: nowrap;
}
.scp-frame__img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
    position: relative;
    z-index: 1;
}
.scp-note--soft { color: #8a7d6e; font-size: 0.86rem; }
.scp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 8px;
}
.scp-chips button {
    border: 1px solid rgba(198, 174, 122, 0.45);
    background: #fffdf8;
    color: #5c5348;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.86rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    font-family: inherit;
}
.scp-chips button.is-on,
.scp-chips button[aria-pressed="true"] {
    outline: 0;
    background: #fff8e8;
    box-shadow:
        0 0 0 1px rgba(230, 204, 130, 0.9),
        0 0 16px rgba(230, 200, 120, 0.4);
    color: #8a7043;
}
.scp-wish-cast {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 8px 10px;
    margin: 4px 0 18px;
}
.scp-wish-cast__plus {
    align-self: center;
    color: #c6ae7a;
    font-size: 1.05rem;
    letter-spacing: 0;
}
.scp-wish-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto auto;
    grid-template-rows: auto auto;
    column-gap: 8px;
    row-gap: 4px;
    min-width: 132px;
    padding: 8px 10px;
    border-radius: 16px;
    background: #fffdf8;
    box-shadow:
        0 0 0 1px rgba(230, 204, 130, 0.7),
        0 0 16px rgba(230, 200, 120, 0.28);
}
.scp-wish-card [data-sample] {
    grid-row: 1 / span 2;
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 12px;
    background: #efe6d2;
}
.scp-wish-card strong {
    grid-column: 2;
    font-size: 0.92rem;
    letter-spacing: 0.06em;
    font-weight: 500;
    white-space: nowrap;
    align-self: center;
}
.scp-wish-card [data-main] {
    width: 28px;
    height: 28px;
    object-fit: cover;
    border-radius: 8px;
    background: #efe6d2;
}
.scp-wish-card [data-count] {
    font-size: 0.72rem;
    color: #8a7043;
    letter-spacing: 0.06em;
}
.scp-wish-card.has-photo {
    grid-template-columns: 44px 1fr auto auto;
}
.scp-wish-card [data-main]:not([hidden]) {
    grid-row: 1 / span 2;
    grid-column: 3;
    align-self: center;
}
.scp-wish-card [data-count]:not([hidden]) {
    grid-row: 1 / span 2;
    grid-column: 4;
    align-self: center;
}
.scp-nenechi {
    text-align: center;
    color: #8a7043;
    letter-spacing: 0.06em;
    margin: 18px 0 8px;
    font-size: 0.95rem;
}
.scp-shop label {
    font-size: 0.86rem;
    color: #7a6f62;
    letter-spacing: 0.04em;
}
.scp-generating {
    text-align: center;
    min-height: 70vh;
    padding-top: 24px;
}
/* SUNIVA_CHARACTER_PORTAL_CREATE_DRAFT_GUARD_V1_20260913 */
.scp-owner-changed {
    text-align: center;
    min-height: 70vh;
    padding-top: 48px;
}
.scp-owner-changed .scp-title {
    max-width: 22em;
    margin-left: auto;
    margin-right: auto;
}
.scp-weave {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 28px auto 24px;
}
.scp-weave__glow,
.scp-weave__ring,
.scp-weave__portal {
    position: absolute;
    inset: 0;
    border-radius: 50%;
}
.scp-weave__glow {
    background: radial-gradient(circle, rgba(255, 236, 180, 0.8), transparent 64%);
    animation: scp-weave-pulse 3.6s ease-in-out infinite;
}
.scp-weave__ring {
    inset: 28px;
    border: 1px solid rgba(230, 204, 130, 0.55);
    box-shadow: 0 0 24px rgba(230, 200, 120, 0.35);
    animation: scp-weave-grow 5.4s ease-in-out infinite;
}
.scp-weave__portal {
    inset: 58px;
    background:
        linear-gradient(180deg, rgba(255, 250, 230, 0.2), rgba(184, 146, 78, 0.18)),
        radial-gradient(circle at 50% 70%, rgba(80, 120, 90, 0.18), transparent 60%);
    box-shadow: inset 0 0 20px rgba(255, 236, 180, 0.4);
}
@keyframes scp-weave-pulse {
    0%, 100% { opacity: 0.45; transform: scale(0.92); }
    50% { opacity: 1; transform: scale(1.06); }
}
@keyframes scp-weave-grow {
    0%, 100% { transform: scale(0.96); opacity: 0.55; }
    50% { transform: scale(1.04); opacity: 1; }
}
.scp-can {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: grid;
    gap: 8px;
    text-align: center;
    color: #5c5348;
}
.scp-can li::before {
    content: "・";
    color: #c6ae7a;
}
.scp-two { display: grid; gap: 12px; }
.scp-choice-card {
    text-align: left;
    width: 100%;
    border: 0;
    background: #fffdf8;
    border-radius: 22px;
    padding: 18px 18px 16px;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 10px 24px rgba(80, 50, 20, 0.06);
    outline: 1px solid rgba(198, 174, 122, 0.35);
}
.scp-choice-card strong {
    display: block;
    font-size: 1.08rem;
    margin-bottom: 6px;
    color: var(--scp-green-deep);
    letter-spacing: 0.06em;
}
.scp-choice-card span {
    color: #5c5348;
    line-height: 1.7;
    font-size: 0.95rem;
}
.scp-later {
    text-align: center;
    margin: 22px 0 8px;
}
.scp-later a {
    color: #8a7d6e;
    font-size: 0.92rem;
}
.scp-result-stage {
    box-shadow: 0 18px 40px rgba(80, 50, 20, 0.12);
}
@media (min-width: 640px) {
    .scp-pick { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 860px) {
    body.scp-create-flow .scp,
    body.scp-create-flow .scp--create {
        max-width: 840px;
        padding-top: 18px;
        padding-bottom: 64px;
    }
    .scp-create-aura {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        overflow: hidden;
    }
    .scp-create-aura__map {
        position: absolute;
        inset: 8% 0;
        background:
            repeating-linear-gradient(90deg, rgba(170, 190, 160, 0.08) 0 1px, transparent 1px 42px),
            repeating-linear-gradient(0deg, rgba(170, 190, 160, 0.07) 0 1px, transparent 1px 42px);
        mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    }
    .scp-create-aura__glow {
        position: absolute;
        width: 280px;
        height: 280px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255, 236, 180, 0.4), transparent 70%);
    }
    .scp-create-aura__glow--l { left: -40px; top: 18%; }
    .scp-create-aura__glow--r { right: -30px; bottom: 16%; }
    .scp-create-aura__portal {
        position: absolute;
        width: 72px;
        height: 110px;
        border-radius: 36px 36px 18px 18px;
        background:
            linear-gradient(180deg, rgba(255, 250, 230, 0.2), rgba(184, 146, 78, 0.22));
        box-shadow: 0 12px 24px rgba(80, 50, 20, 0.08);
        opacity: 0.45;
    }
    .scp-create-aura__portal--l { left: 4%; top: 38%; }
    .scp-create-aura__portal--r { right: 5%; top: 52%; }
    .scp-create-cta { padding-top: 24px; }
    .scp-pick__card {
        grid-template-columns: 86px 1fr;
        grid-template-rows: auto auto;
        align-items: center;
        min-height: 124px;
        padding: 12px 14px 14px;
    }
    .scp-pick__card img {
        grid-row: 1 / span 2;
        width: 86px;
        height: 86px;
    }
}
@media (max-width: 859px) {
    body.scp-create-flow .scp-title { font-size: 1.42rem; }
}
@media (max-width: 430px) {
    .scp-pick { grid-template-columns: 1fr; gap: 8px; }
    .scp-pick__card {
        grid-template-columns: 72px 1fr;
        grid-template-rows: auto auto;
        align-items: center;
        min-height: 0;
        padding: 8px 10px 10px;
    }
    .scp-pick__card img {
        grid-row: 1 / span 2;
        width: 72px;
        height: 72px;
    }
    .scp-pick__card span { font-size: 0.86rem; line-height: 1.5; }
    body.scp-create-flow .scp-title { font-size: 1.28rem; margin-bottom: 10px; }
    body.scp-create-flow .scp-lead { font-size: 0.95rem; margin-bottom: 14px; }
    body.scp-create-flow .scp-progress { margin-bottom: 14px; }
    body.scp-create-flow .scp-create-cta .scp-btn { width: 100%; }
    body.scp-create-flow .scp-create-cta {
        position: sticky;
        bottom: 0;
        background: linear-gradient(180deg, rgba(247, 241, 228, 0), #f7f1e4 32%);
        padding-top: 10px;
    }
}

/* CREATE_FLOW polish v1-4: chrome by page id, wish field, result image, purchase */
body#page_suniva_character_portal_create .sn-live-bottom,
body#page_suniva_character_portal_work .sn-live-bottom,
body#page_suniva_character_portal_sell .sn-live-bottom,
body#page_suniva_character_portal_claim .sn-live-bottom,
body#page_suniva_character_portal_create .sn-live-drawer,
body#page_suniva_character_portal_work .sn-live-drawer,
body#page_suniva_character_portal_sell .sn-live-drawer,
body#page_suniva_character_portal_claim .sn-live-drawer,
body#page_suniva_character_portal_create .sn-live-backdrop,
body#page_suniva_character_portal_work .sn-live-backdrop,
body#page_suniva_character_portal_sell .sn-live-backdrop,
body#page_suniva_character_portal_claim .sn-live-backdrop,
body#page_suniva_character_portal_create .sn-live-place,
body#page_suniva_character_portal_work .sn-live-place,
body#page_suniva_character_portal_sell .sn-live-place,
body#page_suniva_character_portal_claim .sn-live-place,
body#page_suniva_character_portal_create .suniva-trust-footer,
body#page_suniva_character_portal_work .suniva-trust-footer,
body#page_suniva_character_portal_sell .suniva-trust-footer,
body#page_suniva_character_portal_claim .suniva-trust-footer,
body#page_suniva_character_portal_create .ec-blockTopBtn,
body#page_suniva_character_portal_work .ec-blockTopBtn,
body#page_suniva_character_portal_sell .ec-blockTopBtn,
body#page_suniva_character_portal_claim .ec-blockTopBtn,
body#page_suniva_character_portal_create .pagetop,
body#page_suniva_character_portal_work .pagetop,
body#page_suniva_character_portal_sell .pagetop,
body#page_suniva_character_portal_claim .pagetop,
body#page_suniva_character_portal_create .ec-topicPath,
body#page_suniva_character_portal_work .ec-topicPath,
body#page_suniva_character_portal_sell .ec-topicPath,
body#page_suniva_character_portal_claim .ec-topicPath,
body#page_suniva_character_portal_create .suniva-message-entry,
body#page_suniva_character_portal_work .suniva-message-entry,
body#page_suniva_character_portal_sell .suniva-message-entry,
body#page_suniva_character_portal_claim .suniva-message-entry,
body.scp-create-flow .suniva-message-entry,
body.scp-create-flow .suniva-world-message-entry,
body#page_suniva_character_portal_work .suniva-world-message-entry {
    display: none !important;
}
body.scp-create-flow .scp-form textarea,
body.scp-create-flow #scpWish,
body.scp-create-flow .scp-story-field input,
body.scp-create-flow .scp-form-stack input[type="text"],
body.scp-create-flow .scp-shop input {
    display: block;
    width: 100%;
    min-height: 148px;
    resize: none;
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    margin: 0 0 4px;
    padding: 18px 20px;
    border: 0;
    border-radius: 22px;
    background: #fffdf8;
    color: inherit;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "Hiragino Sans", serif;
    font-size: 1.05rem;
    line-height: 1.85;
    letter-spacing: 0.04em;
    box-shadow:
        0 0 0 1px rgba(230, 204, 130, 0.5),
        0 12px 28px rgba(80, 50, 20, 0.05),
        inset 0 0 24px rgba(255, 248, 220, 0.35);
}
body.scp-create-flow .scp-story-field input,
body.scp-create-flow .scp-form-stack input[type="text"],
body.scp-create-flow .scp-shop input {
    min-height: 54px;
    padding: 14px 18px;
    font-size: 1rem;
}
body.scp-create-flow .scp-story-field,
body.scp-create-flow .scp-shop label {
    display: grid;
    gap: 8px;
    color: #8a7043;
    letter-spacing: 0.06em;
    font-size: 0.86rem;
}
body.scp-create-flow .scp-check {
    background: #fffdf8;
    border-radius: 18px;
    padding: 14px 16px;
    box-shadow: 0 0 0 1px rgba(198, 174, 122, 0.32);
    color: #5c5348;
    line-height: 1.7;
}
body.scp-create-flow .scp-check input {
    accent-color: #c6ae7a;
    margin-top: 4px;
    flex: 0 0 auto;
}
body.scp-create-flow .scp-product {
    text-align: left;
    width: 100%;
    border: 0;
    background: #fffdf8;
    border-radius: 22px;
    padding: 18px;
    font-family: inherit;
    box-shadow:
        0 0 0 1px rgba(198, 174, 122, 0.35),
        0 10px 24px rgba(80, 50, 20, 0.06);
}
body.scp-create-flow .scp-product strong {
    display: block;
    font-size: 1.08rem;
    letter-spacing: 0.06em;
    color: var(--scp-green-deep);
}
body.scp-create-flow .scp-product span {
    color: #8a7043;
    font-size: 1rem;
}
body.scp-create-flow .scp-product small {
    color: #5c5348;
    line-height: 1.7;
}
body.scp-create-flow .scp-result-stage {
    max-width: 560px;
    margin: 8px auto 18px;
    border-radius: 28px;
    overflow: hidden;
}
body.scp-create-flow .scp-result-stage img {
    width: 100%;
    max-height: min(42vh, 380px);
    object-fit: cover;
    display: block;
}
body.scp-create-flow .scp-result.is-story-open .scp-result-stage img {
    max-height: min(28vh, 240px);
}
body.scp-create-flow .scp-result-stage--small {
    max-width: 280px;
}
body.scp-create-flow .scp-result-stage--small img {
    max-height: min(22vh, 180px);
}

.scp-pick__card.is-on::after {
    content: "✓";
    position: absolute;
    top: 10px;
    right: 12px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(230, 204, 130, 0.95);
    color: #3d3426;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(230, 200, 120, 0.55);
}
.scp-combo {
    list-style: none;
    margin: 8px 0 12px;
    padding: 0;
    display: grid;
    gap: 8px;
}
.scp-combo li {
    background: rgba(255, 253, 248, 0.7);
    border-radius: 16px;
    padding: 10px 14px;
}
.scp-combo strong {
    display: block;
    font-size: 0.86rem;
    letter-spacing: 0.06em;
    color: #8a7043;
    margin-bottom: 2px;
}
.scp-combo span {
    color: #5c5348;
    font-size: 0.88rem;
    line-height: 1.6;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
}
.scp-hint {
    text-align: center;
    color: #8a7043;
    letter-spacing: 0.04em;
    margin: 8px 0 0;
    min-height: 1.5em;
}
.scp-photo-role { margin: 0 0 22px; }
.scp-photo-role .scp-h2 { text-align: left; font-size: 1.08rem; }
.scp-thumbs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.scp-thumb,
.scp-add-card {
    position: relative;
    background: #fffdf8;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(198, 174, 122, 0.35), 0 10px 24px rgba(80, 50, 20, 0.06);
    min-height: 168px;
}
.scp-thumb img {
    display: block;
    width: 100%;
    height: 120px;
    object-fit: cover;
    background: #efe6d2;
}
.scp-thumb.is-loading img { opacity: 0.45; }
.scp-thumb.is-error { box-shadow: 0 0 0 1px rgba(164, 91, 74, 0.55); }
.scp-thumb__main {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(255, 248, 220, 0.95);
    color: #8a7043;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    border-radius: 999px;
    padding: 4px 10px;
}
.scp-thumb__state {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 253, 248, 0.95);
    color: #5c5348;
    font-size: 0.72rem;
    border-radius: 999px;
    padding: 4px 8px;
}
.scp-thumb.is-error .scp-thumb__state { color: #a45b4a; }
.scp-thumb__ops {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 4px;
    padding: 8px;
}
.scp-thumb__ops button {
    min-height: 44px;
    border: 0;
    border-radius: 12px;
    background: #f7f1e4;
    color: #5c5348;
    font-family: inherit;
    font-size: 0.82rem;
    cursor: pointer;
}
.scp-thumb__del {
    background: #f4e6dc !important;
    color: #7a4a3a !important;
}
.scp-add-card {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    min-height: 168px;
    background:
        radial-gradient(circle at 50% 40%, rgba(255, 248, 220, 0.9), rgba(247, 241, 228, 0.4));
}
.scp-add-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.scp-add-card span {
    color: #8a7043;
    letter-spacing: 0.1em;
    font-size: 0.92rem;
}
@media (min-width: 640px) {
    .scp-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 860px) {
    body.scp-create-flow .scp-result-stage img {
        max-height: min(46vh, 430px);
    }
}
.scp-pick__card.is-on,
.scp-pick__card:has(input:checked) {
    padding-right: 42px;
}
@media (max-width: 430px) {
    .scp-combo { margin-bottom: 180px; }
    .scp-photo-roles { margin-bottom: 96px; }
    .scp-screen[data-scp-step="3"] { padding-bottom: 16px; }
    .scp-wish-cast {
        flex-wrap: nowrap;
        align-items: center;
        overflow-x: auto;
        gap: 4px;
        margin: 2px 0 12px;
        padding-bottom: 2px;
    }
    .scp-wish-cast__plus { font-size: 0.86rem; flex: 0 0 auto; }
    .scp-wish-card {
        min-width: max-content;
        flex: 0 0 auto;
        padding: 5px 6px;
        grid-template-columns: 28px max-content;
        column-gap: 4px;
    }
    .scp-wish-card.has-photo {
        grid-template-columns: 28px max-content 18px auto;
    }
    .scp-wish-card [data-sample] { width: 28px; height: 28px; border-radius: 9px; }
    .scp-wish-card [data-main] { width: 18px; height: 18px; }
    .scp-wish-card strong { font-size: 0.76rem; letter-spacing: 0.04em; white-space: nowrap; }
    .scp-wish-card [data-count] { font-size: 0.6rem; white-space: nowrap; }
    body.scp-create-flow .scp-screen[data-scp-step="3"] .scp-title { font-size: 1.18rem; margin-bottom: 6px; }
    body.scp-create-flow .scp-screen[data-scp-step="3"] .scp-lead { margin-bottom: 10px; }
    body.scp-create-flow .scp-screen[data-scp-step="3"] #scpWish { min-height: 88px; }
    body.scp-create-flow .scp-screen[data-scp-step="3"] .scp-create-cta {
        position: static;
        background: none;
        padding-top: 4px;
    }
    body.scp-create-flow .scp-screen[data-scp-step="3"] .scp-create-cta .scp-nenechi { margin: 8px 0 8px; }
    .scp-pick__card--photo {
        grid-template-columns: 72px 1fr;
        grid-template-rows: auto auto auto;
        align-items: center;
        padding: 10px 12px 12px;
    }
    .scp-pick__card--photo img {
        grid-row: 1;
        grid-column: 1;
        width: 72px;
        height: 72px;
    }
    .scp-pick__card--photo strong {
        grid-row: 1;
        grid-column: 2;
        align-self: center;
    }
    .scp-pick__card--photo > span {
        grid-row: 2;
        grid-column: 1 / -1;
    }
    .scp-pick__card--photo .scp-card-photos {
        grid-row: 3;
        grid-column: 1 / -1;
    }
}

.scp-reselect {
    display: inline-block;
    padding: 0 0 10px;
    margin: 0;
    font-size: 0.86rem;
    letter-spacing: 0.06em;
    color: #8a7043;
    text-align: left;
}
.scp-photo-roles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 4px 0 16px;
}
.scp-pick__card--photo {
    cursor: default;
    align-items: start;
}
.scp-pick__card--photo .scp-card-photos {
    grid-column: 1 / -1;
    margin-top: 6px;
}
.scp-photo-pick {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: 16px;
    cursor: pointer;
    background:
        radial-gradient(circle at 50% 40%, rgba(255, 248, 220, 0.95), rgba(247, 241, 228, 0.55));
    box-shadow: 0 0 0 1px rgba(230, 204, 130, 0.65), 0 8px 18px rgba(80, 50, 20, 0.05);
}
.scp-pick__card--photo input[type="file"] {
    clip: auto;
    clip-path: none;
    overflow: hidden;
}
.scp-photo-pick span {
    color: #8a7043;
    letter-spacing: 0.08em;
    font-size: 0.92rem;
    font-family: inherit;
}
.scp-card-photos__empty {
    margin: 10px 2px 0;
    color: #8a7043;
    font-size: 0.86rem;
    line-height: 1.6;
    letter-spacing: 0.03em;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
}
.scp-photo-pick[hidden],
.scp-card-photos__empty[hidden],
.scp-thumbs[hidden] {
    display: none !important;
}
.scp-pick__card--photo .scp-thumbs {
    margin-top: 4px;
}
.scp-pick__card--photo .scp-add-card {
    min-height: 148px;
}
.scp-source-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 12px 0 0;
}
.scp-source-row img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 12px;
}
@media (min-width: 860px) {
    .scp-pick__card--photo {
        grid-template-columns: 86px 1fr;
        grid-template-rows: auto auto auto;
        align-items: center;
        min-height: 0;
        padding: 12px 14px 14px;
    }
    .scp-pick__card--photo img {
        grid-row: 1 / span 2;
        grid-column: 1;
        width: 86px;
        height: 86px;
    }
    .scp-pick__card--photo strong {
        grid-row: 1;
        grid-column: 2;
        align-self: end;
    }
    .scp-pick__card--photo > span {
        grid-row: 2;
        grid-column: 2;
        align-self: start;
    }
    .scp-pick__card--photo .scp-card-photos {
        grid-row: 3;
        grid-column: 1 / -1;
    }
}
