:root { color-scheme: light; }

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
    font-family: "Segoe UI", "PingFang SC", "Noto Sans SC", "Noto Sans KR", "Noto Sans JP", serif;
    background: #f6c3d6;
    color: #9f1239;
}

.poster {
    width: min(100%, 430px);
    min-height: 100vh;
    margin: 0 auto;
    padding: 18px 18px 32px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffe4ef 0%, #ffd0e2 48%, #ffeaf3 100%);
}

.lang-switch {
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 5;
}

.lang-menu { position: relative; }

.lang-current {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #9f1239;
    padding-block: 0;
    padding-inline: 10px 12px;
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.lang-globe {
    width: 14px;
    height: 14px;
    border: 1.5px solid #e11d48;
    border-radius: 50%;
    position: relative;
    flex: 0 0 14px;
}

.lang-globe::before,
.lang-globe::after {
    content: "";
    position: absolute;
    border: 0 solid #e11d48;
}

.lang-globe::before { left: 5px; top: -1px; height: 12px; border-left-width: 1.5px; }
.lang-globe::after { left: -1px; top: 5px; width: 12px; border-top-width: 1.5px; }

.lang-current::after {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 1.5px solid #9f1239;
    border-bottom: 1.5px solid #9f1239;
    transform: translateY(-1px) rotate(45deg);
}

.lang-menu.is-open .lang-current::after { transform: translateY(2px) rotate(225deg); }

.lang-list {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-end: 0;
    width: 188px;
    max-height: 280px;
    overflow: auto;
    padding: 6px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(159, 18, 57, 0.16);
}

.lang-list a {
    display: block;
    padding: 9px 12px;
    border-radius: 10px;
    color: #9f1239;
    text-decoration: none;
    font-size: 14px;
}

.lang-list a.is-current { background: #ffe4ef; }

h1 {
    margin: 28px 12px 0;
    text-align: center;
    font-size: 46px;
    line-height: 1.12;
    font-weight: 800;
    color: #e11d48;
}

.lead {
    margin: 8px auto 0;
    max-width: 16em;
    text-align: center;
    font-size: 18px;
    line-height: 1.45;
    color: #be185d;
}

.portrait {
    position: relative;
    width: min(82%, 300px);
    margin: 16px auto 4px;
    aspect-ratio: 3 / 4;
}

.slides {
    position: absolute;
    inset: 0;
    border-radius: 28px;
    overflow: hidden;
    border: 7px solid #fff;
    box-shadow: 0 18px 40px rgba(225, 29, 72, 0.18);
    background: #ffe4ef;
}

.slides img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slides img.is-active { opacity: 1; }

.heart {
    position: absolute;
    z-index: 2;
    fill: #fb7185;
}

.h1 { width: 34px; top: -8px; left: -10px; transform: rotate(-14deg); }
.h2 { width: 22px; top: 14px; right: -8px; fill: #fda4af; }
.h3 { width: 28px; bottom: 28px; left: -12px; fill: #fecdd3; }
.h4 { width: 40px; right: -12px; bottom: -6px; transform: rotate(12deg); }

.consult { padding: 8px 6px 0; }

.actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.channel {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    line-height: 1.15;
    box-shadow: 0 8px 16px rgba(159, 18, 57, 0.12);
}

.channel img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex: 0 0 30px;
}

.channel-whatsapp { background: #22c55e; }
.channel-kakao { background: #facc15; color: #3f2a12; }
.channel-telegram { background: #38bdf8; }
.channel-line { background: #16a34a; }

.tagline {
    margin: 16px 0 0;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #be123c;
}

.empty { margin: 0; text-align: center; }

@media (max-width: 360px) {
    h1 { font-size: 36px; }
    .channel { font-size: 13px; }
}
