:root {
    --bca-nft-background: #f8f8fa;
    --bca-nft-header: #ececec;
    --bca-nft-title: #4e4e4e;
    --bca-nft-body: #646464;
    --bca-nft-control: #242424;
    --bca-nft-content-min-height: 214px;
}
.bca-nft-shell *,
.bca-nft-embed * {
    box-sizing: border-box;
}
body.bca-new-feature-page {
    background: #dedede;
    margin: 0;
    min-height: 100%;
    overscroll-behavior: none;
    color: var(--bca-nft-body);
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
    overflow: hidden;
}
.bca-nft-shell {
    background: var(--bca-nft-background);
    height: 100dvh;
    margin: 0 auto;
    max-width: 480px;
    min-height: 620px;
    overflow: hidden;
    position: relative;
    width: 100%;
}
.bca-nft-visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}
.bca-nft-controls__button:focus-visible,
.bca-nft-controls__dot:focus-visible {
    outline: 2px solid #5f94ff;
    outline-offset: 2px;
}
.bca-nft-content,
.bca-nft-content > .wp-block-bca-new-feature-carousel {
    height: 100dvh;
    margin: 0;
    min-height: 500px;
    position: relative;
}
.bca-nft-carousel {
    container-type: inline-size;
    margin: 0;
    overflow: hidden;
    position: relative;
    touch-action: pan-y;
}
.bca-nft-shell .bca-nft-carousel {
    height: 100dvh;
    min-height: 500px;
}
.bca-nft-embed {
    background: var(--bca-nft-background);
    border: 1px solid #e2e2e2;
    border-radius: 20px;
    box-sizing: border-box;
    color: var(--bca-nft-body);
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
    margin: 32px auto;
    max-width: 480px;
    overflow: hidden;
    width: 100%;
}
.bca-nft-embed .bca-nft-carousel {
    height: min(760px, 100dvh);
    min-height: 620px;
}
.bca-nft-embed__notice {
    background: #f0f0f1;
    border-left: 4px solid #dba617;
    color: #3c434a;
    margin: 16px 0;
    padding: 12px 16px;
}
.bca-nft-carousel__track {
    display: flex;
    height: 100%;
    transition: transform 300ms cubic-bezier(.22,.61,.36,1);
    will-change: transform;
}
.bca-nft-slide {
    background: var(--bca-nft-background);
    display: grid;
    flex: 0 0 100%;
    grid-template-rows: minmax(0, min(100cqi, 480px)) minmax(var(--bca-nft-content-min-height), 1fr);
    height: 100%;
    margin: 0;
    min-width: 100%;
    padding-bottom: 135px;
}
.bca-nft-slide__media {
    background: var(--bca-nft-header);
    height: 100%;
    margin: 0;
    overflow: hidden;
    width: 100%;
}
.bca-nft-slide__media img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}
.bca-nft-slide__content {
    /* Step + 2 title lines + 3 body lines + margins and vertical padding. */
    min-height: var(--bca-nft-content-min-height);
    overflow: auto;
    padding: 38px 30px 18px;
    scrollbar-width: none;
}
.bca-nft-slide__content::-webkit-scrollbar { display: none; }
.bca-nft-slide__eyebrow {
    color: var(--bca-nft-title);
    font-size: 14px;
    font-weight: 500;
    line-height: 17px;
    margin: 0 0 5px;
    text-align: center;
}
.bca-nft-slide__title {
    color: var(--bca-nft-title);
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    margin: 0 0 16px;
    text-align: center;
}
.bca-nft-slide__body {
    color: var(--bca-nft-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin: 0;
    overflow-wrap: anywhere;
}
.bca-nft-slide__body a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.bca-nft-controls {
    align-items: flex-start;
    bottom: 0;
    display: grid;
    grid-template-columns: 65px minmax(0, 1fr) 65px;
    height: 135px;
    left: 0;
    padding: 0 30px max(70px, env(safe-area-inset-bottom));
    position: absolute;
    width: 100%;
    z-index: 2;
}
.bca-nft-controls__button {
    appearance: none;
    align-items: center;
    background: var(--bca-nft-control);
    border: 1px solid var(--bca-nft-control);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    height: 65px;
    justify-content: center;
    margin: 0;
    padding: 0;
    transition: background-color 160ms ease, border-color 160ms ease, opacity 160ms ease;
    width: 65px;
}
.bca-nft-controls__icon {
    display: block;
    height: 24px;
    pointer-events: none;
    width: 24px;
}
.bca-nft-controls__button--next { justify-self: end; }
.bca-nft-controls__button:disabled {
    background: #d7d7d7;
    border-color: #d7d7d7;
    cursor: default;
}
.bca-nft-controls__dots {
    align-items: center;
    display: flex;
    gap: 10px;
    height: 65px;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
    padding: 0 10px;
}
.bca-nft-controls__dot {
    appearance: none;
    background: #d5d5d5;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    flex: 0 0 7px;
    height: 7px;
    margin: 0;
    padding: 0;
    transition: background-color 180ms ease, flex-basis 180ms ease;
    width: 7px;
}
.bca-nft-controls__dot.is-active {
    background: #929292;
    flex-basis: 44px;
    width: 44px;
}
@media (max-height: 760px) {
    .bca-nft-slide__content { padding-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .bca-nft-carousel__track { transition: none; }
}
