#club-cards * {
    box-sizing: border-box
}

#club-cards .scroll {
    height: 320vh;
    height: 320svh
}

#club-cards .stage {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    display: grid;
    place-items: center;
    perspective: 1500px;
    overflow: hidden
}

#club-cards .card {
    width: min(82vw,760px,125svh);
    aspect-ratio: 1.64;
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
    container-type: inline-size
}

#club-cards .face {
    position: absolute;
    inset: 0;
    border-radius: 2.5cqw;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background: linear-gradient(105deg,#f1f1f1,#e5e5e5 50%,#d6d6d6);
    overflow: hidden;
    box-shadow: inset 0 1px 1px #ffffffa0,inset 0 -1px 1px #9995
}

#club-cards .front {
    transform: translateZ(2px)
}

#club-cards .back {
    transform: rotateY(180deg) translateZ(2px)
}

#club-cards .edge {
    position: absolute;
    inset: 0;
    border-radius: 2.5cqw;
    background: #bdbdbd;
    transform: translateZ(0px);
}

#club-cards .logo {
    position: absolute;
    left: 6%;
    top: 18%;
    width: 10%;
    height: 18%;
    filter: drop-shadow(0 1px 0 #fff9)
}

#club-cards .name {
    position: absolute;
    left: 6%;
    top: 62%;
    font-size: 5.45cqw;
    font-weight: 650;
    letter-spacing: -.025em;
    color: #797d7d;
    line-height: 1;
    white-space: nowrap
}

#club-cards .chip {
    position: absolute;
    right: 7.6%;
    top: 55.5%;
    width: 15%;
    height: 17%;
    border-radius: .8cqw;
    background: linear-gradient(100deg,#ddd,#c7c7c7 65%,#aaa);
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3,1fr);
    gap: .55cqw 1.4cqw;
    padding: 1.1cqw 1.7cqw
}

#club-cards .chip i {
    border: 1px solid #9996;
    border-radius: 1.3cqw;
    box-shadow: 0 1px 0 #fff3
}

#club-cards .chip i:nth-child(even) {
    border-right-color: transparent
}

#club-cards .back .logo {
    left: 45%;
    top: 40%
}

#club-cards .hint {
    position: absolute;
    bottom: 5%;
    font-size: 12px;
    letter-spacing: .06em;
    color: #999;
    pointer-events: none;
    transition: opacity .2s
}

#club-cards .track {
    position: absolute;
    bottom: 3%;
    width: 128px;
    height: 3px;
    background: #eee;
    border-radius: 3px
}

#club-cards .track span {
    display: block;
    height: 100%;
    width: 0;
    background: #888;
    border-radius: 3px
}

@media(prefers-reduced-motion:reduce) {
    #club-cards .scroll {
        height: 100svh
    }

    #club-cards .hint,#club-cards .track {
        display: none
    }
}

#club-cards .scroll {
    height: 870vh;
    height: 870svh
}

#club-cards .card {
    container-type: normal
}

#club-cards .face {
    container-type: inline-size;
    background: linear-gradient(112deg,var(--light,#f2f2f3),var(--dark,#c7c8cc));
    border-radius: 4% / 6.4%;
    border: 1px solid #8888;
    color: #292929
}

#club-cards .edge {
    border-radius: 4% / 6.4%;
    background: #aaa
}

#club-cards .mark {
    position: absolute;
    top: 9%;
    left: 8%;
    font-size: 12cqw;
    font-weight: 900;
    letter-spacing: -.065em;
    line-height: .92;
    color: transparent;
    -webkit-text-stroke: .55px #5559;
    text-shadow: 0 1px 1px #ffffff70
}

#club-cards .mark small {
    display: block;
    font-size: 3.7cqw;
    letter-spacing: .025em;
    text-align: center;
    line-height: 1.2;
    border-bottom: 1px solid #7778;
    color: #555;
    -webkit-text-stroke: 0;
    font-weight: 500
}

#club-cards .name {
    left: 8%;
    right: 5%;
    top: auto;
    bottom: 18%;
    font-size: 7cqw;
    line-height: 1.12;
    font-weight: 500;
    color: #292929;
    white-space: normal
}

#club-cards .name small {
    display: block;
    font-size: 4.5cqw;
    font-weight: 400;
    margin-top: 1%
}

#club-cards .back .mark {
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%)
}

#club-cards .face .mark {
    width: 48%;
    height: auto;
    display: block;
    top: 9%;
    left: 8%;
    filter: none;
    text-shadow: none
}

#club-cards .back .mark {
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%)
}

#club-cards .face .mark {
    filter: url(#cc-deboss-logo);
    opacity: 1
}

#club-cards .scroll {
    width: 870vw;
    height: 100vh;
    height: 100svh
}

#club-cards .stage {
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    height: 100svh
}

@media(prefers-reduced-motion:reduce) {
    #club-cards .scroll {
        height: 100svh
    }
}

#club-cards .face {
    box-shadow: inset 0 1px 1px #ffffffa0,inset 0 -1px 1px #9995
}

#club-cards .face.front .mark {
    width: 24%;
    height: auto
}

#club-cards .stage {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: clamp(12px,2.5vh,30px);
    padding: 14px 20px 24px;
    overflow-y: auto;
    overflow-x: hidden;
    perspective: none
}

#club-cards .visual {
    perspective: 1500px;
    flex: none;
    display: grid;
    place-items: center;
    width: 100%
}

#club-cards .card {
    width: min(76vw,490px,53svh);
    flex: none
}

#club-cards .name {
    font-size: 7cqw
}

#club-cards .details {
    min-height: 260px;
    width: min(100%,680px);
    text-align: center;
    color: #1d1d1f;
    flex: none;
    transition: opacity .15s;
    display: grid;
    gap: 12px
}

#club-cards .details h1 {
    font-size: clamp(20px,3vw,30px);
    letter-spacing: -.035em;
    margin: 0;
    font-weight: 600
}

#club-cards .schedule {
    display: flex;
    justify-content: center;
    gap: clamp(12px,4vw,36px);
    min-height: 46px;
    align-items: center
}

#club-cards .schedule strong {
    display: block;
    font-size: clamp(16px,2.5vw,21px);
    font-weight: 600;
    letter-spacing: -.035em
}

#club-cards .schedule small,#club-cards .term-label,#club-cards .monthly {
    color: #777;
    font-size: 13px
}

#club-cards .terms {
    display: flex;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
    background: #f5f5f7;
    border-radius: 25px;
    padding: 4px;
    margin: auto;
    width: max-content;
    max-width: 100%
}

#club-cards .terms button {
    font: inherit;
    font-size: 14px;
    border: 0;
    background: transparent;
    color: #333;
    border-radius: 24px;
    padding: 8px 13px;
    cursor: pointer
}

#club-cards .terms button[aria-pressed=true] {
    background: #fff;
    box-shadow: 0 1px 5px #0002;
    color: #111
}

#club-cards .price {
    font-size: clamp(30px,5vw,44px);
    letter-spacing: -.045em;
    font-weight: 600;
    line-height: 1.05
}

#club-cards .conditions {
    font-size: 12px;
    color: #777;
    line-height: 1.4;
    min-height: 52px;
    margin: 0 auto;
    max-width: 620px;
}

#club-cards .track {
    position: static;
    flex: none;
    margin-top: 0
}

#club-cards .hint {
    display: none
}

#club-cards .term-label {
    margin-bottom: 5px
}

#club-cards .price-area {
    display: grid;
    gap: 4px
}

#club-cards .details[hidden] {
    display: grid;
    visibility: hidden
}

#club-cards .intro {
    position: absolute;
    top: calc(50% + 90px);
    font-size: 14px;
    color: #86868b;
    text-align: center
}

#club-cards .intro[hidden] {
    display: none
}

@media(max-height: 750px) {
    #club-cards .stage {
        gap:10px
    }

    #club-cards .card {
        width: min(76vw,420px,47svh)
    }

    #club-cards .details {
        gap: 8px
    }

    #club-cards .conditions {
        min-height: 0
    }

    #club-cards .schedule {
        min-height: 36px
    }
}

@media(max-height: 570px) {
    #club-cards .stage {
        justify-content:flex-start
    }
}

#club-cards .face.back .mark {
    width: 24%;
    height: auto;
    left: 8%;
    top: 9%;
    transform: none
}

#club-cards .scroll {
    width: 900vw
}

#club-cards .face.cover .mark {
    width: 48%;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%)
}

#club-cards .face.cover .name {
    visibility: hidden
}

#club-cards #cc-intro {
    display: none
}

#club-cards .visual {
    position: relative;
    z-index: 1;
    transform: translateY(var(--intro-y,0px)) scale(var(--intro-scale,1));
    transform-origin: center center;
    will-change: transform
}

#club-cards .details {
    opacity: var(--details-alpha,1);
    transform: translateY(var(--details-y,0px));
    transition: none
}

#club-cards .visual {
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none
}

#club-cards .visual img {
    -webkit-user-drag: none;
    pointer-events: none
}

#club-cards .visual.dragging {
    cursor: grabbing
}

#club-cards .terms {
    position: relative;
    isolation: isolate;
    flex-wrap: nowrap;
    gap: 2px;
    padding: 4px;
    border: 1px solid rgba(0,0,0,.055);
    background: rgba(120,120,128,.085);
    box-shadow: inset 0 1px 3px #00000008;
    border-radius: 999px;
    touch-action: pan-y
}

#club-cards .terms::before {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
    left: 0;
    top: 4px;
    height: calc(100% - 8px);
    width: var(--glass-width,0px);
    transform: translateX(var(--glass-x,0px));
    border-radius: 999px;
    background: linear-gradient(155deg,rgba(255,255,255,.88),rgba(255,255,255,.22) 55%,rgba(255,255,255,.58));
    border: 1px solid rgba(255,255,255,.92);
    box-sizing: border-box;
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    box-shadow: 0 2px 6px #00000014,0 5px 12px #0000000d,inset 0 1px 1px #fff,inset 0 -1px 2px #ffffffa0;
    transition: transform .36s cubic-bezier(.2,.8,.2,1),width .36s cubic-bezier(.2,.8,.2,1);
    opacity: var(--glass-visible,0)
}

#club-cards .terms button {
    position: relative;
    z-index: 1;
    min-width: 42px;
    padding: 8px 13px;
    font-weight: 500;
    transition: color .2s;
    background: transparent
}

#club-cards .terms button[aria-pressed=true] {
    background: transparent;
    box-shadow: none;
    color: #111;
    font-weight: 600
}

#club-cards .terms button:focus-visible {
    outline: 2px solid #777;
    outline-offset: -3px
}

#club-cards .terms.glass-reset::before {
    transition: none
}

@media(prefers-reduced-motion:reduce) {
    #club-cards .terms::before {
        transition: none
    }
}

#club-cards .terms {
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    cursor: grab
}

#club-cards .terms button {
    cursor: grab
}

#club-cards .terms.term-dragging,#club-cards .terms.term-dragging button {
    cursor: grabbing
}

#club-cards .terms::before {
    transform: translateX(var(--glass-x,0px)) scale(var(--glass-scale-x,1),var(--glass-scale-y,1));
    transition: transform .42s cubic-bezier(.22,1,.36,1),width .42s cubic-bezier(.22,1,.36,1),box-shadow .25s,background .25s;
    transform-origin: center;
    will-change: transform,width
}

#club-cards .terms.term-dragging::before {
    transition: transform .075s linear,width .12s ease-out,box-shadow .2s;
    --glass-scale-y: 1.28;
    box-shadow: 0 6px 18px #00000020,inset 0 1px 2px #fff,inset 0 -2px 4px #ffffffa0;
    background: linear-gradient(155deg,#ffffffb0,#ffffff28 55%,#ffffff70);
    backdrop-filter: blur(4px) saturate(170%);
    -webkit-backdrop-filter: blur(4px) saturate(170%)
}

#club-cards .terms.glass-reset::before {
    transition: none
}

@media(prefers-reduced-motion:reduce) {
    #club-cards .terms::before,#club-cards .terms.term-dragging::before {
        transition: none
    }
}

#club-cards .terms.term-dragging {
    --glass-scale-x: 1.32
}

#club-cards .price-area {
    grid-template-rows: auto 18px 18px;
    gap: 4px;
    align-items: center;
    font-variant-numeric: tabular-nums
}

#club-cards .monthly,#club-cards .saving {
    height: 18px;
    line-height: 18px;
    white-space: nowrap;
    transition: opacity .24s ease
}

#club-cards .saving {
    font-size: 13px;
    color: #777
}

@media(prefers-reduced-motion:reduce) {
    #club-cards .monthly,#club-cards .saving {
        transition: none
    }
}

#club-cards .terms::before {
    --glass-base-height: calc(100% - 8px);
    width: calc(var(--glass-width,0px) * var(--glass-scale-x,1));
    height: calc(var(--glass-base-height) * var(--glass-scale-y,1));
    top: 50%;
    left: 0;
    transform: translate3d(calc(var(--glass-x,0px) + var(--glass-width,0px) / 2 - 50%),-50%,0);
    border-radius: 999px;
    transition: transform .42s cubic-bezier(.22,1,.36,1),width .42s cubic-bezier(.22,1,.36,1),height .42s cubic-bezier(.22,1,.36,1),box-shadow .25s,background .25s;
    will-change: transform;
}

#club-cards .terms.term-dragging::before {
    transition: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

#club-cards .terms button[aria-pressed=true] {
    font-weight: 500;
}

#club-cards .terms.glass-reset::before {
    transition: none
}

@media(prefers-reduced-motion:reduce) {
    #club-cards .terms::before,#club-cards .terms.term-dragging::before {
        transition: none
    }
}

#club-cards .terms button {
    transform: scale(1);
    transition: transform .24s cubic-bezier(.22,1,.36,1),color .2s;
    transform-origin: center
}

#club-cards .terms button[aria-pressed=true] {
    transform: scale(1.17);
    color: #111
}

#club-cards .terms.term-dragging button[aria-pressed=true] {
    transform: scale(1.32)
}

@media(prefers-reduced-motion:reduce) {
    #club-cards .terms button {
        transition: none
    }
}

#club-cards .terms {
    background: hsl(0deg 0% 0% / 1%);
    border-color: hsl(0deg 0% 0% / 1%);
    box-shadow: none
}

#club-cards .terms button {
    transition: transform .2s cubic-bezier(.22,1,.36,1),color .2s
}

#club-cards .terms button[aria-pressed=true] {
    transform: scale(1.25)
}

#club-cards .terms.term-dragging button[aria-pressed=true] {
    transform: scale(1.65)
}

#club-cards .terms::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 1px;
    background: var(--term-guide,transparent);
    border-radius: 1px;
    z-index: -1;
    pointer-events: none;
    display: none;
}

#club-cards .terms:has(button:only-child)::after {
    display: none
}

#club-cards .price-area.price-total {
    grid-template-rows: auto
}

#club-cards .price-area.price-breakdown {
    grid-template-rows: 18px 18px;
    min-height: 40px
}

#club-cards .face .card-hours {
    position: absolute;
    right: 7%;
    bottom: 18%;
    text-align: right;
    color: #292929;
    font-size: 2.85cqw;
    line-height: 1.38;
    font-weight: 500;
    white-space: nowrap;
    font-variant-numeric: tabular-nums
}

#club-cards .card-hours div {
    display: grid;
    grid-template-columns: 2.35em 6.2em;
    gap: .3em;
    align-items: baseline;
    text-align: left
}

#club-cards .card-hours div span {
    grid-column: 2;
    text-align: right
}

#club-cards .card-hours div:has(>span:only-child) {
    grid-template-columns: 1fr
}

#club-cards .card-hours div span:only-child {
    grid-column: 1;
    text-align: right
}

#club-cards .card-hours small {
    font-size: 2.15cqw;
    font-weight: 400;
    opacity: .72
}

#club-cards .face:not(.cover) .name {
    right: 47%;
    font-size: 6.2cqw;
    overflow-wrap: normal
}

#club-cards .face.long-name .name {
    font-size: 5.4cqw
}

#club-cards .face:not(.cover) .name small {
    font-size: 3.8cqw
}

#club-cards .face.cover .card-hours {
    display: none
}

#club-cards .details {
    padding-top: clamp(12px,2.5vh,24px)
}

#club-cards .stage {
    height: 100svh;
    padding: max(16px,env(safe-area-inset-top)) 16px max(20px,env(safe-area-inset-bottom));
    gap: 12px;
    justify-content: safe center;
    overflow-y: auto;
    overscroll-behavior-y: contain
}

#club-cards .visual {
    width: 100%;
    flex-shrink: 0
}

#club-cards .card {
    width: min(calc(100vw - 48px), 440px, 55svh)
}

#club-cards .details {
    width: 100%;
    max-width: 480px;
    min-height: 0;
    gap: 12px;
    padding-top: 16px;
    flex-shrink: 0
}

#club-cards .details h1 {
    font-size: clamp(19px,5.3vw,25px);
    line-height: 1.15;
    text-wrap: balance
}

#club-cards .price {
    font-size: 38px
}

#club-cards .terms {
    max-width: 100%;
    gap: 0;
    padding: 4px;
    margin-inline:auto}

#club-cards .terms button {
    min-width: 0;
    width: clamp(38px,12vw,52px);
    padding: 0;
    height: 44px;
    font-size: 15px;
    flex: 0 0 auto
}

#club-cards .conditions {
    font-size: 12px;
    line-height: 1.45;
    min-height: 54px;
    margin: 0 auto;
    max-width: 100%;
    text-wrap: pretty;
    margin-top: 24px;
}

#club-cards .track {
    margin-top: 4px
}

#club-cards .face .card-hours {
    font-size: 3.1cqw
}

#club-cards .card-hours small {
    font-size: 2.5cqw
}

#club-cards .card-hours div {
    grid-template-columns: 2.35em 5.9em;
    gap: .2em
}

#club-cards .card-hours div:has(>span:only-child) {
    grid-template-columns: 1fr
}

@media(min-width: 768px) {
    #club-cards .stage {
        padding:14px 20px 24px;
        gap: clamp(12px,2.5vh,30px);
        justify-content: safe center
    }

    #club-cards .card {
        width: min(76vw,490px,53svh)
    }

    #club-cards .details {
        width: min(100%,680px);
        max-width: none;
        min-height: 260px;
        gap: 12px;
        padding-top: clamp(12px,2.5vh,24px)
    }

    #club-cards .details h1 {
        font-size: clamp(20px,3vw,30px);
        line-height: normal;
        text-wrap: initial
    }

    #club-cards .price {
        font-size: clamp(30px,5vw,44px)
    }

    #club-cards .terms {
        gap: 2px
    }

    #club-cards .terms button {
        width: auto;
        height: auto;
        min-width: 42px;
        padding: 8px 13px;
        font-size: 14px
    }

    #club-cards .conditions {
        min-height: 52px;
        max-width: 620px;
        line-height: 1.4;
        text-wrap: initial
    }

    #club-cards .track {
        margin-top: 0
    }

    #club-cards .face .card-hours {
        font-size: 2.85cqw
    }

    #club-cards .card-hours small {
        font-size: 2.15cqw
    }

    #club-cards .card-hours div {
        grid-template-columns: 2.35em 6.2em;
        gap: .3em
    }

    #club-cards .card-hours div:has(>span:only-child) {
        grid-template-columns: 1fr
    }
}

@media(min-width: 768px) and (max-height:750px) {
    #club-cards .stage {
        gap:10px
    }

    #club-cards .card {
        width: min(76vw,420px,47svh)
    }

    #club-cards .details {
        gap: 8px
    }

    #club-cards .conditions {
        min-height: 0
    }
}

@media(max-height: 570px) {
    #club-cards .stage {
        justify-content:flex-start
    }
}

#club-cards .card-hours[data-index="7"] div {
    grid-template-columns: max-content max-content;
    gap: .45em;
    justify-content: end
}

/* Embedding: no document-level styles or scroll locking. */
#club-cards {
    background: #fff;
    color: #1d1d1f;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    width: 100%;
    min-width: 0;
    --cc-width: 100vw
}

#club-cards *,#club-cards *::before,#club-cards *::after {
    box-sizing: border-box
}

#club-cards-title {
    margin: 0 auto;
    padding: 32px 20px 16px;
    max-width: 1200px;
    text-align: center;
    color: #596a7a
}





@supports ((background-clip: text) or (-webkit-background-clip:text)) {
    #club-cards-title:not(.cc-title-ready),#club-cards-title .cc-title-word {
        background:linear-gradient(0deg,#7a8fa4,#1d1d1f 60%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent
    }
}

#club-cards-title .cc-title-word {
    display: inline-block
}

#club-cards-title.cc-title-ready:not(.cc-title-visible) .cc-title-word {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(8px)
}

#club-cards-title.cc-title-visible .cc-title-word {
    animation: cc-title-reveal 450ms cubic-bezier(.2,.65,.25,1) both;
    animation-delay: calc(var(--i)*90ms)
}

@keyframes cc-title-reveal {
    from {
        opacity: 0;
        filter: blur(10px);
        transform: translateY(8px)
    }

    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0)
    }
}

@media(prefers-reduced-motion:reduce) {
    #club-cards-title .cc-title-word {
        opacity: 1!important;
        filter: none!important;
        transform: none!important;
        animation: none!important
    }
}

#club-cards .club-scrollport {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    position: relative
}

#club-cards .club-scrollport::-webkit-scrollbar {
    display: none
}

#club-cards .scroll {
    width: calc(var(--cc-width)*9);
    height: auto;
    min-height: 0
}

#club-cards .stage {
    width: var(--cc-width);
    height: auto;
    min-height: min(760px,100svh);
    overflow: visible;
    position: sticky;
    left: 0;
    top: auto;
    padding-top: 24px;
    padding-bottom: 32px;
    justify-content: center
}

#club-cards .card {
    width: min(calc(var(--cc-width) - 48px),440px,55svh)
}

#club-cards .details {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0
}

#club-cards .details[hidden] {
    display: flex;
    visibility: hidden
}

#club-cards .club-plan[hidden] {
    display: none!important
}

#club-cards .club-plan {
    display: contents
}

#club-cards .plan-heading {
    order: 0
}

#club-cards .plan-heading h3 {
    font-size: clamp(15px,4.2vw,20px);
    line-height: 1.2;
    margin: 0 0 6px;
    font-weight: 400;
    letter-spacing: -.015em;
    color: #687680;
    text-wrap: balance
}

#club-cards .plan-description {
    margin: 0;
    font-size: clamp(15px,3.8vw,19px);
    line-height: 1.3;
    font-weight: 400;
    text-wrap: balance
}

#club-cards .price-total {
    order: 1
}

#club-cards .details>div:has(.terms) {
    order: 3;
}

#club-cards .price-breakdown {
    order: 2;
}

#club-cards .conditions {
    order: 4
}

#club-cards .plan-fallback {
    display: none
}

#club-cards:not(.cc-ready) .club-scrollport {
    overflow: visible
}

#club-cards:not(.cc-ready) .scroll,#club-cards:not(.cc-ready) .stage {
    width: 100%;
    height: auto;
    min-height: 0;
    position: static
}

#club-cards:not(.cc-ready) .visual,#club-cards:not(.cc-ready) .track,#club-cards:not(.cc-ready) .details>div {
    display: none
}

#club-cards:not(.cc-ready) .club-plan {
    display: block;
    text-align: left;
    padding: 16px 0;
    border-bottom: 1px solid #ddd
}

#club-cards:not(.cc-ready) .plan-fallback {
    display: block
}

@media(min-width: 768px) {
    #club-cards .card {
        width:min(calc(var(--cc-width)*.76),490px,53svh)
    }

    #club-cards .stage {
        padding-top: 24px;
        padding-bottom: 40px
    }
}

/* Native vertical scroll choreography. No wheel trapping or horizontal document overflow. */
#club-cards.cc-ready .club-scrollport {
    overflow: visible;
    overscroll-behavior: auto
}

#club-cards.cc-ready .scroll {
    width: 100%;
    height: calc(100svh + var(--cc-travel, 480svh) + 55svh);
    min-height: 0
}

#club-cards.cc-ready .stage {
    position: sticky;
    top: 0;
    left: auto;
    width: 100%;
    height: 100svh;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: auto;
    justify-content: safe center
}

#club-cards.cc-ready .visual {
    touch-action: pan-y
}

@media(max-height: 570px) {
    #club-cards.cc-ready .stage {
        justify-content:flex-start
    }
}

/* Keep the section heading inside the pinned viewport. */
#club-cards.cc-ready .stage {
    justify-content: flex-start;
    gap: clamp(8px,1.5svh,16px);
    padding-top: max(18px,env(safe-area-inset-top));
}

#club-cards-title {
    padding: 0;
    margin: 0 auto;
    flex: none;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 5;
    background-color: transparent;
}

#club-cards.cc-ready .visual {
    margin-top: clamp(8px,1.5svh,16px)
}

#club-cards.cc-ready .details {
    padding-top: clamp(8px,1.5svh,16px)
}

@media(max-height: 650px) {
    #club-cards.cc-ready .stage {
        padding-top:8px;
        gap: 6px
    }

    #club-cards.cc-ready .visual {
        margin-top: 4px
    }
}

/* Balance the entire pinned composition within the viewport. */
#club-cards.cc-ready .stage {
    justify-content: safe center;
    padding-block: max(clamp(12px,3svh,32px),env(safe-area-inset-top)) max(clamp(12px,3svh,32px),env(safe-area-inset-bottom)); gap: clamp(8px,1.5svh,16px);
}

#club-cards.cc-ready .visual {
    margin-top: clamp(14px,3svh,30px);
}

@media (min-width: 768px) and (min-height:651px) {
    #club-cards.cc-ready .visual {
        margin-top: clamp(24px,4svh,42px);
    }
}

@media (max-height: 650px) {
    #club-cards.cc-ready .stage {
        padding-block:8px;
        gap: 6px;
    }

    #club-cards.cc-ready .visual {
        margin-top: 8px;
    }
}

/* The visible tariff heading is on the card itself. Retain static headings for the no-JS fallback. */
#club-cards .face .name h3 {
    font: inherit;
    letter-spacing: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
    display: block
}

#club-cards.cc-ready .plan-heading h3 {
    display: none
}

/* Reserve additional space below the fixed contact control. */
#club-cards.cc-ready .stage {
    padding-top: calc(max(clamp(12px,3svh,32px),env(safe-area-inset-top)) + clamp(24px,5.5svh,48px));
}
@media(max-height:650px) {
    #club-cards.cc-ready .stage {padding-top:max(32px,env(safe-area-inset-top));}
}

/* Price note: independent of animated price text. */
#club-cards .cc-price-note {/* color:inherit; */text-decoration:none;font-size:.5em;vertical-align:super;margin-left:.12em;line-height:0;color: #868686;}
#club-cards .cc-price-note:is(:visited,:active) {color:inherit}
#club-cards .cc-price-note:hover {color:#0071e3}
#club-cards .cc-price-note:focus-visible {outline:2px solid #0071e3;outline-offset:4px;border-radius:2px}
#club-cards .plan-fallback .cc-price-note {font-size:.8em}

/* Duration caption follows the glass thumb only during an actual drag. */
#club-cards .cc-term-track {position:relative; padding-top:16px; width:100%;}
#club-cards .cc-term-tooltip {position:absolute; top:0; left:50%; transform:translate(-50%,3px); font-size:11px; line-height:14px; font-weight:500; color:#777; white-space:nowrap; pointer-events:none; opacity:0; transition:opacity .15s,transform .15s;}
#club-cards .cc-term-track:has(.term-tooltip-visible) .cc-term-tooltip {opacity:1; transform:translate(-50%,0);}
#club-cards .term-label {margin-bottom:0;}
@media(prefers-reduced-motion:reduce){#club-cards .cc-term-tooltip{transition:none;}}

/* Minimal term track with a gap following the moving glass thumb. */
#club-cards .terms {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}
#club-cards .terms::after {
    display: block;
    --thumb-center: calc(var(--glass-x, 0px) + var(--glass-width, 0px) / 2);
    --thumb-half: calc(var(--glass-live-width, var(--glass-width, 0px)) / 2 + 2px);
    --thumb-mask: linear-gradient(to right, #000 0, #000 calc(var(--thumb-center) - var(--thumb-half)), transparent calc(var(--thumb-center) - var(--thumb-half)), transparent calc(var(--thumb-center) + var(--thumb-half)), #000 calc(var(--thumb-center) + var(--thumb-half)), #000 100%);
    -webkit-mask-image: var(--thumb-mask);
    mask-image: var(--thumb-mask);
}
#club-cards .terms:has(button:only-child)::after { display: none; }
#club-cards .terms::before {
    background: #fff;
}

/* Optical focus follows the moving thumb; outside labels stay sharp. */
#club-cards .terms button {
    filter: blur(var(--term-blur, 0px));
    transition: transform .2s cubic-bezier(.22,1,.36,1), color .2s, filter .15s ease-out;
}
#club-cards .terms.term-dragging button {
    transition: transform .2s cubic-bezier(.22,1,.36,1), color .2s;
}
@media(prefers-reduced-motion:reduce){#club-cards .terms button{transition:none;}}

/* Keep normal page scrolling; allow internal overflow only when content needs it. */
#club-cards.cc-ready .stage {
    height: 100vh;
    height: 100svh;
    scrollbar-width: none;
    overscroll-behavior-y: auto;
}
#club-cards.cc-ready .stage::-webkit-scrollbar { display: none; }
#club-cards .terms { touch-action: pan-y; }
#club-cards .terms button { touch-action: pan-y; }
#club-cards .cc-term-tooltip { max-width: 100%; }
@media (max-width: 374px) {
    #club-cards .terms button { width: clamp(30px, 11vw, 40px); }
    #club-cards .terms.term-dragging button[aria-pressed=true] { transform: scale(1.4); }
    #club-cards .plan-description { overflow-wrap: anywhere; }
}
@media (max-height: 650px) {
    #club-cards.cc-ready .stage { justify-content: safe center; }
    #club-cards.cc-ready .card { width: min(calc(var(--cc-width) - 48px), 420px, 47svh); }
    #club-cards.cc-ready .details { gap: 8px; padding-top: 8px; }
    #club-cards .conditions { min-height: 0; margin-top: 12px; }
}
@media (max-height: 570px) and (orientation: landscape) {
    #club-cards.cc-ready .stage { justify-content: flex-start; }
    #club-cards-title { position: relative; }
}
@media (prefers-reduced-motion: reduce) {
    #club-cards .terms::before,
    #club-cards .terms.term-dragging::before,
    #club-cards .terms button,
    #club-cards .terms.term-dragging button,
    #club-cards .cc-term-tooltip { transition: none; }
    #club-cards .visual, #club-cards .card { will-change: auto; }
}

/* Reserve both price rows for every membership duration. */
#club-cards .price-area.price-breakdown {
    display: grid;
    grid-template-rows: 18px 18px;
    gap: 4px;
    height: 40px;
    min-height: 40px;
    flex-shrink: 0;
}

/* Minimum glass duration control size. */
#club-cards #cc-terms {
    box-sizing: border-box;
    min-height: 62px;
    align-items: center;
    --term-thumb-size: 54px;
}
#club-cards #cc-terms button {
    box-sizing: border-box;
    height: 52px;
    min-height: 52px;
    border-radius: 50%;
}
/* Keep the glass lens circular, independent of each label's width. */
#club-cards #cc-terms::before {
    width: calc(var(--glass-width,var(--term-thumb-size)) * var(--glass-scale-x,1));
    height: var(--term-thumb-size);
    border-radius: 999px;
    transition: transform .36s cubic-bezier(.22,1,.36,1), width .48s cubic-bezier(.22,1,.36,1), box-shadow .25s;
}

#club-cards #cc-terms.term-dragging::before {
    transition: transform .055s linear, width .13s ease-out;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}
@supports (backdrop-filter: url(#pg-glass-distortion)) {
    #club-cards #cc-terms.term-dragging::before { backdrop-filter: blur(5px) url(#pg-glass-distortion); }
}
#club-cards #cc-terms.glass-reset::before { transition: none; }
@media(prefers-reduced-motion:reduce) {
    #club-cards #cc-terms::before, #club-cards #cc-terms.term-dragging::before { transition: none; }
}

/* Live elastic glass: sustained press grows the lens; movement adds stretch. */
#club-cards #cc-terms::before {
    height: calc(var(--term-thumb-size) * var(--glass-scale-y,1));
    transition: transform .38s cubic-bezier(.22,1,.36,1), width .48s cubic-bezier(.2,1.25,.35,1), height .48s cubic-bezier(.2,1.25,.35,1), box-shadow .25s;
}
#club-cards #cc-terms.term-holding::before,
#club-cards #cc-terms.term-dragging::before {
    transition: none;
}
#club-cards #cc-terms.glass-reset::before { transition: none; }
@media(prefers-reduced-motion:reduce) {
    #club-cards #cc-terms::before { transition: none; }
}

/* Horizontal-only elastic lens, continuously driven by gesture effort. */
#club-cards #cc-terms { overflow: visible; }
#club-cards #cc-terms::before {
    width: var(--glass-live-width, var(--term-thumb-size));
    min-width: 0;
    max-width: none;
    height: var(--term-thumb-size);
    --glass-scale-y: 1;
    top: 50%;
    left: 0;
    transform: translate3d(calc(var(--glass-x, 0px) + var(--term-thumb-size) / 2 - 50%), -50%, 0);
    transition: transform .38s cubic-bezier(.22,1,.36,1), width .48s cubic-bezier(.2,1.25,.35,1), box-shadow .25s;
}
#club-cards #cc-terms.term-holding::before,
#club-cards #cc-terms.term-dragging::before { transition: none; }

#club-cards #cc-terms.glass-reset::before { transition: none; }
@media(prefers-reduced-motion:reduce) { #club-cards #cc-terms::before { transition: none; } }

/* Final elastic duration control: fixed height, expanded horizontal lens and larger active numeral. */
#club-cards #cc-terms::before { height:54px; max-height:54px; min-height:54px; box-sizing:border-box; }
#club-cards #cc-terms.term-dragging::before { width:var(--glass-live-width,54px); min-width:0; height:54px; }
#club-cards #cc-terms button[aria-pressed="true"] { transform:scale(1.55); filter:none; }
#club-cards #cc-terms:is(.term-holding,.term-dragging) button[aria-pressed="true"] { transform:scale(2.15); filter:none; z-index:2; }
@media(prefers-reduced-motion:reduce) { #club-cards #cc-terms button { transition:none; } }

/* Adaptive spacing: keep lens size and gesture physics independent of track width. */
#club-cards #cc-terms {
    display: flex;
    width: 100%;
    max-width: 480px;
    min-height: 62px;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    padding-inline: clamp(4px, 1.4vw, 12px);
}
#club-cards #cc-terms button {
    flex: 0 0 clamp(30px, 10vw, 54px);
    width: clamp(30px, 10vw, 54px);
    min-width: 0;
    padding: 0;
    transition: transform .55s cubic-bezier(.42,0,.35,1), color .2s ease, filter .15s ease-out;
}
#club-cards #cc-terms:is(.term-holding,.term-dragging) button {
    transition: transform .55s cubic-bezier(.42,0,.35,1), color .2s ease, filter .15s ease-out;
}
#club-cards #cc-terms:not(:has(button:nth-child(4))) { max-width: 280px; }
#club-cards #cc-terms:has(button:only-child) { max-width: 64px; justify-content: center; }
@media (prefers-reduced-motion: reduce) {
    #club-cards #cc-terms button,
    #club-cards #cc-terms:is(.term-holding,.term-dragging) button { transition: none; }
}
