.cz-preview .card.is-live canvas {
    display: none !important;
}

.cz-preview .card.is-live .sticker-layer:empty {
    display: none !important;
}

.cz-preview .card.is-live {
    position: relative;
}

.cz-preview .card.is-live img[data-preview] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cz-preview .card.is-live img[data-preview][hidden],
.cz-preview .card.is-live img[data-preview]:not([src]) {
    display: none !important;
}

.cz-preview .card.is-live img[data-preview]:not([hidden]):not([src=""]) {
    display: block;
}

.base-grid .card {
    overflow: hidden;
    border-radius: 4.6cqw;
}

.base-grid .card > img {
    transform: scale(1.08);
    transform-origin: 42% 38%;
}

.cz-preview.is-empty {
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.cz-preview.is-empty .card.is-live {
    aspect-ratio: auto;
    height: 0;
    overflow: hidden;
    visibility: hidden;
}

.card.is-live [data-name-overlay] {
    position: absolute;
    z-index: 3;
    left: 7%;
    bottom: 9%;
    top: auto;
    right: auto;
    max-width: 58%;
    text-align: left;
    line-height: 1.1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(13px, 4.2cqw, 21px);
}

.cz-preview .text-handle.card-name-overlay {
    padding: 4px 8px;
    border: 1.5px dashed rgba(255, 255, 255, 0.55);
    border-radius: 6px;
    cursor: grab;
    touch-action: none;
    user-select: none;
}

.paywall-page .paywall-preview [data-name-overlay] {
    padding: 0;
    border: none;
    background: transparent;
}

.cz-preview .text-handle.card-name-overlay.is-drag {
    cursor: grabbing;
    border-color: var(--gold);
    background: rgba(230, 197, 122, 0.12);
}

.card-name-overlay[hidden] {
    display: none !important;
}

.designer-hint[hidden] {
    display: none !important;
}

.sticker-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 4;
}

.cz-preview .card.is-live .card-finish-overlay {
    position: absolute;
    inset: 0;
    border-radius: 4.6cqw;
    pointer-events: none;
    z-index: 2;
}

.cz-preview .card.is-live.finish-gloss .card-finish-overlay {
    background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.38) 46%, transparent 60%);
}

.cz-preview .card.is-live.finish-matte .card-finish-overlay {
    background: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.2px) 0 0 / 4px 4px;
    opacity: 0.65;
}

.cz-preview .card.is-live.finish-matte img[data-preview] {
    filter: saturate(0.82) brightness(0.9);
}

.cz-preview .card.is-live.finish-holo .card-finish-overlay {
    background: linear-gradient(115deg, #ff9ad58c, #ffd38a80, #9dffcb80, #8ad8ff8c, #c69bff8c);
    mix-blend-mode: screen;
    opacity: 0.75;
}

.cz-preview .card.is-live.finish-holo img[data-preview] {
    filter: saturate(1.12) contrast(1.04);
}

.cz-preview .card.is-live.finish-gloss img[data-preview] {
    filter: saturate(1.05) brightness(1.03);
}

.sticker-layer .sticker-handle {
    position: absolute;
    display: grid;
    place-items: center;
    width: 13%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    font-size: clamp(16px, 5.2cqw, 26px);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
    pointer-events: auto;
    touch-action: none;
    cursor: grab;
    border-radius: 30%;
    user-select: none;
}

.sticker-layer .sticker-handle .sticker-x {
    position: absolute;
    top: -12px;
    right: -12px;
    z-index: 6;
    width: 24px;
    height: 24px;
    padding: 0;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #111;
    color: #fff;
    font-size: 15px;
    line-height: 1;
    font-weight: 800;
    cursor: pointer;
    display: grid;
    place-items: center;
    pointer-events: auto;
    touch-action: manipulation;
}

.sticker-tools {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sticker-tools .range {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--muted);
}

.sticker-tools .range-input {
    flex: 1;
    accent-color: var(--gold);
}

.sticker-tools .btn-quiet {
    border: 0;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: underline;
}

.sticker-layer .sticker-handle.is-on {
    outline: 2px dashed rgba(255, 255, 255, 0.9);
    outline-offset: 2px;
}

.sticker-layer .sticker-handle.is-drag {
    cursor: grabbing;
    outline-color: var(--gold);
}

.sticker-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 2px 10px;
    -webkit-overflow-scrolling: touch;
}

.sticker-scroll .sticker-btn {
    flex: 0 0 auto;
    min-width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--surface-2);
    font-size: 1.35rem;
    cursor: pointer;
}

.sticker-scroll .sticker-btn:hover {
    border-color: var(--gold);
}

.scratch-step .scratch-card {
    margin-top: 8px;
}

.scratch-step .page {
    padding-bottom: min(42vh, 320px);
}

.scratch-sheet-bg {
    background: rgba(0, 0, 0, 0.55);
}

.scratch-sheet-bg .sheet {
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.35);
}

.sheet-backdrop[hidden] {
    display: none !important;
}

.finish-seg .seg-sub {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    opacity: 0.72;
    margin-top: 2px;
}

.paywall-page {
    padding-bottom: 28px;
    min-height: 100dvh;
}

.paywall-page.has-sticky {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

.paywall-page .pw-sticky-sentinel {
    width: 100%;
    height: 1px;
    margin-top: 8px;
    pointer-events: none;
}

.paywall-page .sticky-cta {
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.paywall-page .sticky-cta.is-hidden {
    display: none !important;
    pointer-events: none !important;
}

.paywall-page .sticky-cta.is-visible {
    display: flex !important;
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
}

.paywall-page .pay-block .btn[data-pw-subscribe-cta] {
    width: 100%;
    min-height: 54px;
    padding: 17px 20px;
}

.paywall-page .pw-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.paywall-page .pw-reserve {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(18, 16, 12, 0.96);
    border-bottom: 1px solid rgba(230, 197, 122, 0.35);
    font-size: 0.78rem;
    font-weight: 600;
}

.paywall-page .pw-reserve strong {
    color: var(--gold);
    font-variant-numeric: tabular-nums;
}

.paywall-page .pw-reserve-btn {
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    padding: 7px 14px;
    background: linear-gradient(135deg, #e8c97a, #c89b3c);
    color: #111;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 800;
    cursor: pointer;
}

.paywall-page .pw-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 14px 0;
}

.paywall-page .pw-title {
    margin: 0;
    text-align: left;
}

.paywall-page .paywall-close {
    margin-top: 4px;
    position: static;
    z-index: auto;
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

.paywall-page a.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.paywall-page .pw-main {
    flex: 1;
    padding-top: 6px;
}

.paywall-page .pw-card-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0 14px 8px;
}

.paywall-page .pw-made-pill {
    display: inline-flex;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(230, 197, 122, 0.16);
    border: 1px solid rgba(230, 197, 122, 0.45);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.paywall-page .paywall-card-hero {
    position: relative;
    padding: 0;
    text-align: center;
    background: none;
}

.paywall-page .paywall-preview {
    width: min(92vw, 340px);
    overflow: hidden;
    pointer-events: none;
}

.paywall-page .paywall-preview .card.is-live,
.paywall-page .paywall-preview .card.is-live * {
    pointer-events: none !important;
}

.paywall-page .plans,
.paywall-page .pay-block,
.paywall-page .pm,
.paywall-page .btn,
.paywall-page button,
.paywall-page summary,
.paywall-page a {
    pointer-events: auto;
    touch-action: manipulation;
}

.paywall-page button.plan,
.paywall-page [data-pw-pay] .pm {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.paywall-page [data-pw-pay] .pm.is-unavailable {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(0.35);
}

.paywall-page .pm .badge.is-muted {
    background: rgba(255, 255, 255, 0.12);
    color: var(--muted);
}

.paywall-page .paywall-subscribe-cta {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
}

.paywall-page .pw-block,
.paywall-page .pw-designs,
.paywall-page .pw-support {
    position: relative;
    z-index: 2;
}

.paywall-page .paywall-preview .card.is-live {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

.paywall-page .paywall-preview .text-handle.card-name-overlay,
.paywall-page .paywall-preview .paywall-name {
    border: none !important;
    background: transparent !important;
}

.paywall-page .pw-unlock-note {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.paywall-page .pw-block {
    padding: 18px 14px 6px;
}

.paywall-page .plans,
.paywall-page .pay-block {
    width: 100%;
}

.paywall-page button.plan {
    width: 100%;
    font: inherit;
    appearance: none;
    -webkit-appearance: none;
}

.paywall-page .pm-action {
    position: relative;
    padding-top: 6px;
}

.paywall-page .pm-action .pm {
    width: 100%;
    margin: 0;
    font: inherit;
}

.paywall-page .pm .badge {
    position: absolute;
    top: -9px;
    right: 14px;
    left: auto;
    z-index: 2;
    pointer-events: none;
}

.paywall-page .pm .radio {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.paywall-page .pm .pm-text {
    min-width: 0;
}

.paywall-page .pm .pm-mark.is-apple {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
}

.paywall-page .pm-mark.is-apple svg {
    width: 16px !important;
    height: 16px !important;
    margin-top: 0 !important;
    flex-shrink: 0;
    display: block;
}

.paywall-page .pm-mark.is-apple .pm-apple-pay-label {
    font-weight: 600;
    letter-spacing: 0.01em;
}

.paywall-page .pw-premium-btn,
.paywall-page .pw-unlock-btn {
    width: 100%;
    margin-top: 4px;
}

.paywall-page .pay-block .pw-terms.is-quiet {
    padding: 0 2px 2px;
}

.paywall-page .pay-block .fine-dark a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.paywall-page .pw-legal-center {
    text-align: center;
    margin-top: 12px;
}

.paywall-page .pw-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 14px 0 16px;
}

.paywall-page .pw-grid-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1.58;
    background: var(--surface-2);
}

.paywall-page .pw-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.85) brightness(0.82);
}

.paywall-page .pw-grid-lock {
    position: absolute;
    top: 6px;
    right: 6px;
    font-size: 0.72rem;
    opacity: 0.9;
}

.paywall-page .pw-grid-more {
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--surface-2);
    border: 1px dashed rgba(230, 197, 122, 0.45);
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
    text-align: center;
    padding: 8px;
    aspect-ratio: 1.58;
}

.paywall-page .pw-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 14px;
    padding: 12px;
    border-radius: 14px;
    background: var(--surface-2);
    text-align: center;
}

.paywall-page .pw-stats b {
    display: block;
    font-size: 1.05rem;
}

.paywall-page .pw-stats span {
    font-size: 0.72rem;
    color: var(--muted);
    font-weight: 700;
}

.paywall-page .pro-table {
    margin-top: 12px;
}

.paywall-page .guarantee {
    margin: 0;
}

.paywall-page .pw-support {
    margin: 8px 14px 20px;
    padding: 16px;
    border-radius: 16px;
    background: var(--surface-2);
    text-align: center;
}

.paywall-page .pw-support h3 {
    margin: 0 0 8px;
}

.paywall-page .pw-support a {
    color: var(--gold);
}

.paywall-page .pw-human {
    display: inline-flex;
    margin-top: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.78rem;
    font-weight: 700;
}

.paywall-page .faq {
    margin-top: 12px;
}

.checkout-page .checkout-top {
    padding: 8px 14px 0;
}

.checkout-page .checkout-main {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0 14px 28px;
}

.checkout-page .checkout-banner {
    margin: 0 0 4px;
}

.checkout-page .checkout-banner strong {
    color: var(--gold);
    font-variant-numeric: tabular-nums;
}

.checkout-page .checkout-title {
    margin: 0;
    text-align: left;
}

.checkout-page .checkout-summary {
    margin: 0;
}

.checkout-page .checkout-lines {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.checkout-page .checkout-lines strong {
    font-size: 0.95rem;
    line-height: 1.25;
}

.checkout-page .checkout-lines span {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 600;
}

.checkout-page .checkout-thumb .checkout-card {
    display: block;
    width: 74px;
    aspect-ratio: 1.586;
    border-radius: 8px;
    overflow: hidden;
    background: var(--surface-2);
}

.checkout-page .checkout-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.checkout-page .checkout-pay-top .checkout-apple {
    width: 100%;
}

.checkout-page .checkout-email {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkout-page .checkout-email-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--muted);
}

.checkout-page .checkout-email-note {
    margin: 0;
    text-align: left;
}

.checkout-page .checkout-stripe-wrap {
    margin: 0 -14px;
}

.checkout-page .checkout-sheet,
.checkout-page .checkout-sheet.pay-sheet.jes,
.checkout-page .checkout-sheet .jes-body {
    background: #fff !important;
}

.checkout-page .checkout-sheet {
    border-radius: 26px 26px 0 0;
    max-height: none;
    box-shadow: none;
}

.checkout-page .checkout-sheet .jes-body {
    padding: 14px 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkout-page .checkout-link-bar {
    width: 100%;
    margin: 0;
    padding: 0 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #9a7b3c;
    font-size: 0.92rem;
    font-weight: 700;
}

.checkout-page .checkout-link-chevron-btn {
    margin: 0;
    padding: 4px;
    border: 0;
    background: none;
    color: #9a7b3c;
    cursor: pointer;
    line-height: 0;
    border-radius: 8px;
}

.checkout-page .checkout-link-chevron-btn:focus-visible {
    outline: 2px solid #c89b3c;
    outline-offset: 2px;
}

.checkout-page .checkout-link-blurb {
    position: relative;
    margin: 0 0 4px;
    padding: 14px 36px 14px 14px;
    border: 1px solid #e3e4e8;
    border-radius: 12px;
    background: #fff;
}

.checkout-page .checkout-link-blurb-title {
    margin: 0 0 6px;
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--ink);
}

.checkout-page .checkout-link-blurb-text {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.45;
    font-weight: 500;
    color: var(--ink-soft);
}

.checkout-page .checkout-link-blurb-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #8a8c96;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.checkout-page .checkout-link-chevron-btn[aria-expanded="true"] .checkout-link-chevron {
    transform: rotate(180deg);
}

.checkout-page .checkout-link-head-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.checkout-page .checkout-link-head-main svg {
    color: #1f8a4c;
    flex-shrink: 0;
}

.checkout-page .checkout-link-chevron {
    flex-shrink: 0;
    color: #9a7b3c;
    transition: transform 0.2s ease;
}

.checkout-page .checkout-input-shell {
    position: relative;
    display: block;
}

.checkout-page .checkout-input-shell input {
    width: 100%;
    padding-right: 138px;
}

.checkout-page .checkout-input-shell.is-single-brand input {
    padding-right: 52px;
}

.checkout-page .checkout-input-shell.is-compact input {
    padding-right: 42px;
}

.checkout-page .checkout-card-brands {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    pointer-events: none;
}

.checkout-page .checkout-card-brands img {
    display: block;
    width: auto;
    height: 16px;
    max-width: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

.checkout-page .checkout-card-brands img[hidden] {
    display: none !important;
}

.checkout-page .checkout-cvc-hint {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    pointer-events: none;
}

.checkout-page .checkout-card-fallback .co-field select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #8a8c96 50%), linear-gradient(135deg, #8a8c96 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% + 2px), calc(100% - 12px) calc(50% + 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 34px;
}

.checkout-page .checkout-card-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkout-page .checkout-sheet .card-box {
    background: #fff;
    border-radius: 14px;
    padding: 14px 14px 12px;
    box-shadow: 0 0 0 1px #e3e4e8;
}

.checkout-page .checkout-payment-wrap:not([hidden]) {
    display: block;
}

.checkout-page .checkout-payment-element {
    min-height: 200px;
}

.checkout-page .checkout-link-stripe {
    margin-top: 8px;
}

.checkout-page .checkout-error {
    margin: 0;
}

.checkout-page .co-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #5c5f66;
}

.checkout-page .co-field input,
.checkout-page .co-field select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dcdde2;
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 16px;
}

.checkout-page .co-field input.is-valid {
    border-color: #1f8a4c;
    box-shadow: 0 0 0 1px rgba(31, 138, 76, 0.25);
}

.checkout-page .co-field input.is-invalid {
    border-color: #df1b41;
    box-shadow: 0 0 0 1px rgba(223, 27, 65, 0.2);
}

.checkout-page .co-field-hint {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.35;
    font-weight: 600;
}

.checkout-page .co-field-hint.is-valid {
    color: #1f8a4c;
}

.checkout-page .co-field-hint.is-invalid {
    color: #df1b41;
}

.checkout-page .co-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.checkout-page .checkout-auth {
    margin: 4px 0 0;
    font-size: 0.72rem;
    line-height: 1.45;
    color: var(--ink-soft);
}

.checkout-page .checkout-link-box {
    position: relative;
    margin-top: 4px;
    padding: 22px 12px 12px;
    border: 1px solid #e3e4e8;
    border-radius: 12px;
    background: #fafafb;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkout-page .checkout-link-badge {
    position: absolute;
    top: 10px;
    left: 12px;
    padding: 2px 8px;
    border-radius: 6px;
    background: #ececef;
    font-size: 0.68rem;
    font-weight: 800;
    color: #6d717a;
}

.checkout-page .checkout-link-sub {
    margin: 0;
    padding-top: 2px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ink);
}

.checkout-page .checkout-phone-linked {
    display: flex;
    align-items: stretch;
    width: 100%;
    border: 1px solid #dcdde2;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.checkout-page .checkout-phone-linked:focus-within {
    border-color: #c89b3c;
    box-shadow: 0 0 0 1px #c89b3c;
}

.checkout-page .checkout-phone-country-ui {
    position: relative;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px 0 12px;
    border-right: 1px solid #e3e4e8;
    min-width: 84px;
    max-width: 42%;
}

.checkout-page .checkout-phone-flag {
    width: 28px;
    height: 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    pointer-events: none;
    overflow: visible;
}

.checkout-page .checkout-phone-flag-img {
    width: 28px;
    height: 21px;
    display: block;
    object-fit: contain;
    object-position: center;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
    background: #fff;
}

.checkout-page .checkout-phone-country {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    border: 0;
    background: transparent;
    font-size: 16px;
}

.checkout-page .checkout-phone-chevron {
    flex-shrink: 0;
    color: #8a8c96;
    pointer-events: none;
}

.checkout-page .checkout-phone-input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 12px 14px;
    color: var(--ink);
    font: inherit;
    font-size: 16px;
}

.checkout-page .checkout-phone-input:focus {
    outline: none;
}

.checkout-page .checkout-link-foot {
    margin: 2px 0 0;
    font-size: 0.72rem;
    line-height: 1.45;
    color: #8a8c96;
    text-align: center;
}

.checkout-page .checkout-link-foot a {
    color: #6d717a;
    text-decoration: underline;
}

.checkout-page .checkout-link-mark {
    font-weight: 900;
    color: #00d66f;
}

.checkout-page .checkout-pay-btn {
    width: 100%;
    margin-top: 8px;
}

.checkout-page .jes-terms.co-terms,
.checkout-page .co-terms,
.checkout-page [data-checkout-terms] {
    margin: 12px 0 0;
    padding: 0 6px calc(env(safe-area-inset-bottom, 0px) + 8px);
    color: var(--muted);
    font-size: 0.74rem;
    line-height: 1.45;
    text-align: center;
    font-weight: 500;
}

.checkout-page .jes-terms.co-terms a,
.checkout-page .co-terms a,
.checkout-page [data-checkout-terms] a {
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.checkout-page [hidden] {
    display: none !important;
}

/* —— Verify / 3DS flow —— */
.verify-page .checkout-top,
.verify-page .topbar.checkout-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px 0;
}

.verify-brand {
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--gold);
}

.verify-secure-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--muted);
}

.verify-secure-tag svg {
    color: #1f8a4c;
}

.verify-main {
    padding: 8px 14px 32px;
}

.verify-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px);
    text-align: center;
}

.verify-wait {
    max-width: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.verify-spinner {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.08);
    border-top-color: var(--gold);
    border-right-color: var(--gold);
    animation: verify-spin 0.85s linear infinite;
}

@keyframes verify-spin {
    to {
        transform: rotate(360deg);
    }
}

.verify-title {
    margin: 8px 0 0;
    text-align: center;
}

.verify-sub {
    margin: 0;
    text-align: center;
    max-width: 340px;
    line-height: 1.5;
}

.verify-meta {
    margin: 4px 0 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold);
}

.verify-card-panel {
    margin-top: 8px;
    padding: 22px 18px 20px;
    border-radius: 18px;
    background: var(--surface-2);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.verify-shield {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 4px;
}

.verify-field {
    margin-top: 16px;
}

.verify-page .verify-otp-field {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 18px;
}

.verify-page .verify-otp-label {
    display: block;
    line-height: 1.4;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--muted, #9a9cab);
    margin: 0;
    padding: 0;
}

.verify-hint {
    margin: 8px 0 0;
    font-size: 0.72rem;
    color: var(--muted);
    font-weight: 600;
}

.verify-btn {
    width: 100%;
    margin-top: 18px;
}

.verify-btn-ghost {
    width: 100%;
    margin-top: 10px;
    padding: 14px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
}

.verify-amount-box {
    margin: 18px 0 0;
    padding: 14px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.verify-amount-box div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.82rem;
}

.verify-amount-box dt {
    margin: 0;
    color: var(--muted);
    font-weight: 600;
}

.verify-amount-box dd {
    margin: 0;
    font-weight: 800;
    color: var(--ink);
    text-align: right;
}

.verify-bank-label {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
}

.verify-actions {
    margin-top: 8px;
}

.verify-reject-panel {
    text-align: center;
    max-width: 380px;
}

.verify-reject-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffb4b4;
    background: rgba(223, 27, 65, 0.15);
    border: 1px solid rgba(223, 27, 65, 0.35);
}

.verify-page .verify-otp-input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-align: center;
    padding: 14px 12px;
    font-variant-numeric: tabular-nums;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.25);
    color: var(--ink, #f2f2f5);
    font-family: inherit;
}

.verify-page .verify-otp-input.is-invalid {
    border-color: #df1b41;
    box-shadow: 0 0 0 1px rgba(223, 27, 65, 0.35);
}

.verify-page .verify-otp-input:focus {
    outline: none;
    border-color: #c89b3c;
    box-shadow: 0 0 0 1px rgba(200, 155, 60, 0.45);
}

.verify-otp-error {
    margin: 10px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(223, 27, 65, 0.12);
    border: 1px solid rgba(223, 27, 65, 0.35);
    color: #ffb4c4;
    font-size: 0.82rem;
    line-height: 1.45;
    font-weight: 600;
}

.verify-btn.is-loading {
    opacity: 0.92;
    pointer-events: none;
}

.verify-btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-inline-end: 8px;
    vertical-align: -3px;
    border-radius: 50%;
    border: 2px solid rgba(11, 11, 15, 0.2);
    border-top-color: #0b0b0f;
    animation: verify-spin 0.75s linear infinite;
}

.verify-approve-timer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 16px 0 6px;
}

.verify-timer-wheel {
    position: relative;
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.verify-timer-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(#c89b3c 360deg, rgba(255, 255, 255, 0.08) 0deg);
    mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 calc(100% - 9px));
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 calc(100% - 9px));
}

.verify-timer-label {
    position: relative;
    z-index: 1;
    font-size: 1.15rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--gold, #c89b3c);
}

.verify-timer-caption {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--muted, #9a9cab);
}

.verify-timer-note {
    margin: 0;
    min-height: 1.2em;
    font-size: 0.76rem;
    color: var(--muted, #9a9cab);
    text-align: center;
}

.verify-timer-note.is-expired {
    color: #ffb4c4;
    font-weight: 700;
}

.verify-amount-box dd {
    color: #f2f2f5;
    font-weight: 800;
}
