#bp-checkout-modal.sub-direct .sheet {
    padding: 10px 0 0;
    gap: 0;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - max(16px, env(safe-area-inset-top)));
    overflow: hidden;
}
#bp-checkout-modal.sub-direct .grab { flex: 0 0 auto; }
#bp-checkout-modal.sub-direct .sheet-head {
    flex: 0 0 auto;
    padding: 8px 18px 12px;
}
#bp-checkout-modal.sub-direct .checkout-body {
    min-height: 0;
    padding: 16px 20px 18px;
    overflow-y: auto;
    overscroll-behavior: contain;
    gap: 16px;
}
#bp-checkout-modal.sub-direct [hidden] { display: none !important; }
#bp-checkout-modal.sub-direct .co-plan { padding: 16px 18px; }
#bp-checkout-modal.sub-direct .co-plan-name { margin: 0 0 4px; }
#bp-checkout-modal.sub-direct .co-plan-desc { margin-bottom: 8px; }
.sub-pay-methods {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    border: 0;
    min-inline-size: 0;
}
.sub-pay-methods legend {
    padding: 0 0 9px;
    font: 750 17px/1.3 var(--bp-font);
    color: var(--bp-fg);
}
.sub-pay-option, .sub-pay-add {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
    min-height: 48px;
    width: 100%;
    margin: 0;
    padding: 9px 13px;
    background: rgba(255,255,255,.45);
    border: 1.5px solid transparent;
    border-radius: 13px;
    color: var(--bp-fg);
    text-align: left;
    font: 650 15px/1.32 var(--bp-font);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.sub-pay-option:has(input:checked) {
    background: #fff9ed;
    border-color: var(--bp-espresso-2);
}
.sub-pay-option:has(input:focus-visible), .sub-renew:has(input:focus-visible), .sub-pay-add:focus-visible {
    outline: 2px solid var(--bp-espresso);
    outline-offset: 2px;
}
.sub-pay-option input, .sub-renew input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
}
.sub-pay-option svg, .sub-pay-add svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.sub-pay-mark {
    width: 17px;
    height: 17px;
    margin-left: auto;
    flex: 0 0 auto;
    box-sizing: border-box;
    border: 1.5px solid var(--bp-cream-3);
    border-radius: 50%;
    background: transparent;
}
.sub-pay-option input:checked ~ .sub-pay-mark {
    background: var(--bp-espresso);
    border-color: var(--bp-espresso);
    box-shadow: inset 0 0 0 3px #fff9ed;
}
.sub-pay-add {
    margin-top: 0;
    background: transparent;
    border: 1px dashed var(--bp-cream-3);
}
.sub-pay-add:disabled, .sub-pay-methods:disabled { opacity: .58; }
.sub-renew {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 14px;
    color: var(--bp-fg);
    border-radius: 14px;
    background: var(--bp-cream-2);
    cursor: pointer;
}
.sub-renew .sub-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 1.5px solid var(--bp-espresso-3);
    box-sizing: border-box;
    flex: 0 0 auto;
    color: transparent;
    background: var(--bp-cream);
}
.sub-check svg { width: 16px; height: 16px; }
.sub-renew input:checked + .sub-check {
    color: #fff;
    background: var(--bp-espresso);
    border-color: var(--bp-espresso);
}
.sub-renew strong, .sub-renew small { display: block; }
.sub-renew strong { font: 700 15px/1.45 var(--bp-font); }
.sub-renew small { margin-top: 3px; color: var(--bp-fg-2); font: 500 13px/1.45 var(--bp-font); }
.sub-pay-status { margin: 0; font: 500 14px/1.45 var(--bp-font); color: var(--bp-fg-2); }
.sub-pay-status:empty, .sub-pay-actions:empty { display: none; }
.sub-pay-actions { display: grid; gap: 8px; justify-items: stretch; }
.sub-pay-actions img { justify-self: center; max-width: 100%; height: auto; }
.sub-pay-footer {
    flex: 0 0 auto;
    padding: 12px 20px max(14px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--bp-cream-3);
    background: var(--bp-cream);
}
.sub-pay-footer .co-pay { width: 100%; margin: 0; min-height: 50px; }

.sub-pay-option .sub-bank-hint {display:none; margin-top:3px; font-size:12px; line-height:1.35; font-weight:400; color:#665446;}
.sub-pay-option input:checked ~ span .sub-bank-hint {display:block;}
