/*
 * VoicePa profile taste boundary.
 *
 * VOICEPA_SBP_SAMPLE_CONTRACT_V3
 * The Seiheki Bottle Painter 3.6.0 sample stylesheet remains the sole source
 * of bottle/long-jump geometry. This file deliberately contains no container
 * queries, alternate grids, scaling, zooming, or profile-column breakpoints.
 */
.voicepa-profile-core-shell .vp-profile-test2-taste {
    display: block;
    min-width: 0;
    margin: 0;
    padding: 0;
    isolation: isolate;
}

.voicepa-profile-core-shell .vp-profile-test2-taste > .sbp-example-plus {
    min-width: 0;
}

/* Casual click-to-reveal sensitive media. */
.voicepa-profile-core-shell .vp-taste-sensitive {
    margin-top: 16px;
    padding: 15px;
    background:
        radial-gradient(circle at 100% 0%, rgba(129,103,255,.14), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,247,255,.94));
    border: 1px solid rgba(129,103,255,.14);
    border-radius: 24px;
    box-shadow: 0 18px 48px rgba(18,24,39,.07);
}

.voicepa-profile-core-shell .vp-taste-sensitive__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.voicepa-profile-core-shell .vp-taste-sensitive__head > span {
    display: inline-flex;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #fff;
    border-radius: 12px;
    background: linear-gradient(135deg, #8167ff, #f95277);
    box-shadow: 0 8px 18px rgba(129,103,255,.20);
}

.voicepa-profile-core-shell .vp-taste-sensitive__head strong,
.voicepa-profile-core-shell .vp-taste-sensitive__head small {
    display: block;
}

.voicepa-profile-core-shell .vp-taste-sensitive__head strong {
    color: var(--vp-ink, #131827);
    font-size: 14px;
    font-weight: 950;
}

.voicepa-profile-core-shell .vp-taste-sensitive__head small {
    margin-top: 2px;
    color: var(--vp-muted, #667085);
    font-size: 11px;
    line-height: 1.5;
}

.voicepa-profile-core-shell .vp-taste-sensitive__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.voicepa-profile-core-shell .vp-sensitive-media {
    min-width: 0;
    margin: 0;
}

.voicepa-profile-core-shell .vp-sensitive-media__stage {
    position: relative;
    overflow: hidden;
    min-height: 160px;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #ece9ff, #ffe8f0);
    border: 1px solid rgba(18,24,39,.09);
    border-radius: 19px;
    box-shadow: 0 12px 28px rgba(18,24,39,.10);
}

.voicepa-profile-core-shell .vp-sensitive-media__stage img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    transform: scale(1.07);
    filter: blur(18px) saturate(.72) brightness(.82);
    transition: filter .24s ease, transform .24s ease;
}

.voicepa-profile-core-shell .vp-sensitive-media__veil {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    min-height: 44px;
    padding: 18px;
    color: #fff;
    text-align: center;
    cursor: pointer;
    background:
        radial-gradient(circle at 50% 42%, rgba(255,255,255,.20), transparent 35%),
        linear-gradient(135deg, rgba(38,31,79,.58), rgba(114,36,80,.55));
    border: 0;
    border-radius: inherit;
    transition: opacity .22s ease, background .22s ease;
}

.voicepa-profile-core-shell .vp-sensitive-media__veil strong {
    font-size: 14px;
    font-weight: 950;
    line-height: 1.35;
    text-shadow: 0 2px 9px rgba(0,0,0,.28);
}

.voicepa-profile-core-shell .vp-sensitive-media__veil small {
    color: rgba(255,255,255,.88);
    font-size: 11px;
    font-weight: 800;
}

.voicepa-profile-core-shell .vp-sensitive-media__spark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 3px;
    font-size: 18px;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 13px;
    backdrop-filter: blur(8px);
}

.voicepa-profile-core-shell .vp-sensitive-media[data-vp-sensitive-media="revealed"] .vp-sensitive-media__stage img,
.voicepa-profile-core-shell .vp-sensitive-media.is-revealed .vp-sensitive-media__stage img {
    transform: scale(1);
    filter: none;
}

.voicepa-profile-core-shell .vp-sensitive-media[data-vp-sensitive-media="revealed"] .vp-sensitive-media__veil,
.voicepa-profile-core-shell .vp-sensitive-media.is-revealed .vp-sensitive-media__veil {
    inset: auto 8px 8px auto;
    width: auto;
    min-height: 36px;
    padding: 7px 10px;
    gap: 0;
    color: #fff;
    background: rgba(19,24,39,.72);
    border-radius: 999px;
    backdrop-filter: blur(9px);
}

.voicepa-profile-core-shell .vp-sensitive-media[data-vp-sensitive-media="revealed"] .vp-sensitive-media__veil .vp-sensitive-media__spark,
.voicepa-profile-core-shell .vp-sensitive-media[data-vp-sensitive-media="revealed"] .vp-sensitive-media__veil strong,
.voicepa-profile-core-shell .vp-sensitive-media.is-revealed .vp-sensitive-media__veil .vp-sensitive-media__spark,
.voicepa-profile-core-shell .vp-sensitive-media.is-revealed .vp-sensitive-media__veil strong {
    display: none;
}

.voicepa-profile-core-shell .vp-sensitive-media[data-vp-sensitive-media="revealed"] .vp-sensitive-media__veil small,
.voicepa-profile-core-shell .vp-sensitive-media.is-revealed .vp-sensitive-media__veil small {
    color: #fff;
}

.voicepa-profile-core-shell .vp-sensitive-media figcaption {
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    color: transparent;
    font-size: 11px;
    line-height: 1.55;
    opacity: 0;
    transform: translateY(-3px);
    transition: max-height .22s ease, margin-top .22s ease, color .22s ease, opacity .22s ease, transform .22s ease;
}

.voicepa-profile-core-shell .vp-sensitive-media[data-vp-sensitive-media="revealed"] figcaption,
.voicepa-profile-core-shell .vp-sensitive-media.is-revealed figcaption {
    max-height: 8em;
    margin-top: 7px;
    color: var(--vp-muted, #667085);
    opacity: 1;
    transform: translateY(0);
}

.voicepa-profile-core-shell .vp-sensitive-media__veil:focus-visible {
    outline: 3px solid rgba(249,82,119,.34);
    outline-offset: 3px;
}

@media (max-width: 760px) {
    .voicepa-profile-core-shell .vp-taste-sensitive__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .voicepa-profile-core-shell .vp-taste-sensitive {
        padding: 13px;
    }
}

@media (max-width: 380px) {
    .voicepa-profile-core-shell .vp-sensitive-media__stage {
        min-height: 132px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .voicepa-profile-core-shell .vp-sensitive-media__stage img,
    .voicepa-profile-core-shell .vp-sensitive-media__veil,
    .voicepa-profile-core-shell .vp-sensitive-media figcaption {
        transition: none;
    }
}

/* The supplied SBP character playfully peeks over concealed sensitive media. */
html body #honbun .voicepa-profile-core-shell .vp-profile-test2-taste .vp-sensitive-media__character,
html body .voicepa-profile-core-shell .vp-profile-test2-taste .vp-sensitive-media__character {
    position: absolute !important;
    left: clamp(-10px, -1.8vw, -2px) !important;
    bottom: -10px !important;
    z-index: 1 !important;
    display: block !important;
    width: clamp(66px, 10vw, 94px) !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
    transform: rotate(-5deg) translateY(2px) !important;
    transform-origin: 50% 100% !important;
    animation: vp-sensitive-character-peek 2.8s ease-in-out infinite !important;
}

html body #honbun .voicepa-profile-core-shell .vp-profile-test2-taste .vp-sensitive-media__character-image,
html body .voicepa-profile-core-shell .vp-profile-test2-taste .vp-sensitive-media__character-image {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    filter: drop-shadow(0 8px 12px rgba(19, 10, 37, .36)) !important;
}

html body #honbun .voicepa-profile-core-shell .vp-profile-test2-taste .vp-sensitive-media__character-bubble,
html body .voicepa-profile-core-shell .vp-profile-test2-taste .vp-sensitive-media__character-bubble {
    position: absolute !important;
    top: 4px !important;
    right: -18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 36px !important;
    height: 22px !important;
    margin: 0 !important;
    padding: 2px 7px !important;
    color: #4b315f !important;
    font-family: inherit !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: .06em !important;
    white-space: nowrap !important;
    background: rgba(255, 249, 224, .94) !important;
    border: 1px solid rgba(255, 216, 77, .46) !important;
    border-radius: 999px !important;
    box-shadow: 0 5px 14px rgba(20, 10, 39, .18) !important;
}

html body #honbun .voicepa-profile-core-shell .vp-profile-test2-taste .vp-sensitive-media[data-vp-sensitive-media="revealed"] .vp-sensitive-media__character,
html body #honbun .voicepa-profile-core-shell .vp-profile-test2-taste .vp-sensitive-media.is-revealed .vp-sensitive-media__character,
html body .voicepa-profile-core-shell .vp-profile-test2-taste .vp-sensitive-media[data-vp-sensitive-media="revealed"] .vp-sensitive-media__character,
html body .voicepa-profile-core-shell .vp-profile-test2-taste .vp-sensitive-media.is-revealed .vp-sensitive-media__character {
    display: none !important;
    animation: none !important;
}

@keyframes vp-sensitive-character-peek {
    0%, 100% { transform: rotate(-5deg) translateY(2px); }
    45% { transform: rotate(-2deg) translateY(-4px); }
    58% { transform: rotate(-7deg) translateY(-1px); }
}

@media (max-width: 420px) {
    html body #honbun .voicepa-profile-core-shell .vp-profile-test2-taste .vp-sensitive-media__character,
    html body .voicepa-profile-core-shell .vp-profile-test2-taste .vp-sensitive-media__character {
        width: 68px !important;
        left: -7px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body #honbun .voicepa-profile-core-shell .vp-profile-test2-taste .vp-sensitive-media__character,
    html body .voicepa-profile-core-shell .vp-profile-test2-taste .vp-sensitive-media__character {
        animation: none !important;
    }
}
