.cg-horizontal{width:100%;min-width:0;overflow:hidden;touch-action:pan-y;position:relative;padding:4px 0 12px;margin:0;isolation:isolate}.cg-horizontal.is-overflowing{cursor:grab}.cg-horizontal.is-overflowing:active{cursor:grabbing}.cg-horizontal-track{display:flex;align-items:stretch;gap:16px;will-change:transform}.cg-horizontal-track>.col,.cg-horizontal-track>article{min-width:0;margin:0;padding:0;float:none}.cg-horizontal .price-card{height:100%;display:flex;flex-direction:column;border-radius:16px;overflow:hidden;margin:0}.cg-horizontal .price-body{flex:1}.cg-horizontal .price-footer{padding:20px}.cg-horizontal .price-header{padding:24px 12px}.cg-vip-wide{width:100%;max-width:none;padding:32px clamp(16px,2.5vw,48px);box-sizing:border-box}.cg-vip-wide .price-plan{font-size:clamp(20px,1.5vw,28px)}.cg-horizontal:focus-visible{outline:2px solid #4568ed;outline-offset:3px}
.vip-cdk-body #vip-cdk-action{width:100%;max-width:420px;margin:0 auto;display:grid;gap:14px}.vip-cdk-body #vip-cdk-action>div{width:100%;padding:0;margin:0!important}.vip-cdk-body #vip-cdk-action .cg-captcha-row{display:grid;grid-template-columns:minmax(0,1fr) 132px;gap:12px}.vip-cdk-body #vip-cdk-action input{min-width:0;width:100%;height:44px}.vip-cdk-body #captcha-img{width:132px;height:44px;object-fit:contain}.vip-cdk-body #vip-cdk-submit{width:100%;min-height:44px;border-radius:8px}.vip-cdk-body .card-body{padding:24px}.vip-cdk-body h5.text-center{font-size:15px;line-height:1.6}
.cg-faq{border:1px solid var(--cg-border,#dce2eb);border-radius:12px;overflow:hidden;text-align:left}.cg-faq details+details{border-top:1px solid var(--cg-border,#dce2eb)}.cg-faq summary{display:flex;align-items:center;gap:16px;justify-content:space-between;padding:15px 18px;font-weight:600;cursor:pointer;list-style:none;color:inherit}.cg-faq summary::-webkit-details-marker{display:none}.cg-faq summary:focus-visible{outline:2px solid #4568ed;outline-offset:-3px}.cg-faq-sign{position:relative;flex:0 0 16px;height:16px;color:#71809a}.cg-faq-sign:before,.cg-faq-sign:after{content:'';position:absolute;width:12px;height:2px;background:currentColor;left:2px;top:7px}.cg-faq-sign:after{transform:rotate(90deg)}.cg-faq details[open] .cg-faq-sign:after{transform:rotate(0)}.cg-faq-answer{padding:0 18px 16px;font-size:14px;line-height:1.85;color:inherit;overflow-wrap:anywhere}.cg-faq-answer p:last-child{margin-bottom:0}.cg-faq-answer img{max-width:100%;height:auto}
[data-bs-theme=dark] .cg-faq,.dark .cg-faq,.dark-open .cg-faq{--cg-border:#3b4351}.cg-faq details[open]{background:rgba(95,120,170,.04)}
@media(max-width:575px){.cg-horizontal .price-header{padding:20px 12px}.cg-vip-wide{padding:20px 14px}.vip-cdk-body .card-body{padding:18px}.cg-horizontal-track{gap:16px}}
@media(prefers-reduced-motion:reduce){.cg-horizontal-track{will-change:auto}}

/* R18: the legacy captcha margin must not widen the dedicated grid row. */
.vip-cdk-body #vip-cdk-action,.vip-cdk-body #vip-cdk-action *{box-sizing:border-box}.vip-cdk-body #vip-cdk-action .cg-captcha-row{display:grid;grid-template-columns:minmax(0,1fr) 132px;align-items:stretch;gap:12px;width:100%;max-width:100%;margin:0}.vip-cdk-body #vip-cdk-action #captcha-img{display:block;margin:0!important;min-width:0;width:100%;max-width:100%;height:44px;align-self:stretch}.vip-cdk-body #vip-cdk-action .cg-captcha-row input{margin:0;min-width:0;width:100%;height:44px}.vip-cdk-body #vip-cdk-action #vip-cdk-submit{margin:0;width:100%}
[data-cg-membership] .price-card{border:1px solid var(--cg-border,#e0e5ef);transition:border-color .15s,box-shadow .15s}[data-cg-membership] .price-card.is-selected{border-color:#5277e9;box-shadow:inset 0 0 0 1px #5277e9,0 6px 18px #486eea12}[data-cg-membership] .cg-plan-select[aria-pressed=true]{color:#fff;background:#486bdb;border-color:#486bdb}.cg-membership-checkout{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding:22px 0 4px}.cg-selected-plan{margin:0;font-size:14px;color:inherit}.cg-vip-confirm{min-width:200px;min-height:46px;border-radius:10px;font-weight:600}.cg-vip-confirm:disabled{opacity:.5;cursor:not-allowed}[data-bs-theme=dark] [data-cg-membership] .price-card{--cg-border:#414958}@media(max-width:575px){.cg-membership-checkout{flex-direction:column;align-items:stretch}.cg-vip-confirm{width:100%}.vip-cdk-body #vip-cdk-action .cg-captcha-row{grid-template-columns:minmax(0,1fr) 112px;gap:10px}}

/* R24: personal-center sections follow the native card/header/body pattern. */
.cg-user-section{--cg-user-line:var(--bs-border-color,#e3e7ed);--cg-user-muted:var(--bs-secondary-color,#7b8493);margin:0 0 24px;min-width:0}
.cg-user-section>.card-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:20px 24px;margin:0;border-bottom:1px solid var(--cg-user-line);background:transparent}
.cg-user-section>.card-header h5{line-height:1.5;margin:0}
.cg-user-section>.card-body{padding:24px;min-width:0}
.cg-user-section .cg-user-intro,.cg-user-section .cg-history-intro{margin:0 0 20px;font-size:13px;line-height:1.8;color:var(--cg-user-muted)}
.cg-header-link{font-size:13px;white-space:nowrap}.cg-user-empty{padding:24px 12px;text-align:center;color:var(--cg-user-muted);font-size:14px;line-height:1.8}
.cg-user-pages:empty,.cg-history-pages:empty{display:none}.cg-user-pages{margin-top:20px}.cg-history-card:first-of-type{margin-top:0}
.cg-crowd-list{display:grid;gap:20px}.cg-crowd-record{min-width:0;border:1px solid var(--cg-user-line);border-radius:10px;padding:20px}
.cg-record-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:22px}.cg-record-heading h6{font-size:16px;line-height:1.65;margin:0;font-weight:600;overflow-wrap:anywhere}
.cg-status{flex-shrink:0;display:inline-block;font-size:12px;line-height:1.6;padding:4px 9px;border-radius:6px;background:#5274cf12;color:#5274cf}
.cg-crowd-record[data-state=released] .cg-status{background:#2d9f7414;color:#268260}.cg-crowd-record:is([data-state=refunded],[data-state=cancelled]) .cg-status{background:#828d9b14;color:var(--cg-user-muted)}
.cg-crowd-progress-label{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13px;line-height:1.7;margin-bottom:10px}.cg-crowd-progress-label b{color:#5274cf}.cg-crowd-record progress{display:block;appearance:none;width:100%;height:8px;border:0;border-radius:6px;overflow:hidden;background:#5274cf12}.cg-crowd-record progress::-webkit-progress-bar{background:#5274cf12;border-radius:6px}.cg-crowd-record progress::-webkit-progress-value{background:#5274cf;border-radius:6px}.cg-crowd-record progress::-moz-progress-bar{background:#5274cf;border-radius:6px}
.cg-record-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;margin:22px 0}.cg-record-facts dt{font-size:12px;color:var(--cg-user-muted);font-weight:400;margin-bottom:5px}.cg-record-facts dd{font-size:13px;line-height:1.7;margin:0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cg-record-note{font-size:13px;line-height:1.8}
.cg-record-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:16px;border-top:1px solid var(--cg-user-line);font-size:12px;line-height:1.8}.cg-record-footer .btn{flex-shrink:0;box-shadow:none;border-radius:7px}.cg-crowd-rules-link{margin:22px 0 0;padding-top:16px;border-top:1px solid var(--cg-event-line,#e3e7ed);font-size:13px}.cg-crowd-rules-link a{display:inline-flex;align-items:center;gap:8px}
#cg-crowd-rules{scroll-margin-top:100px}.cg-user-section .cg-event-panel{box-shadow:none}.cg-user-section .cg-raffle-panel{padding:22px;border-radius:10px;margin:0 0 24px}.cg-user-section .cg-lottery-intro h3{font-size:19px;line-height:1.6}.cg-user-section #cg-my-lottery{padding:0;margin:0;border:0;background:transparent}.cg-user-section .cg-award-card{border-radius:10px}.cg-user-section .cg-award-card h4{font-size:16px}.cg-user-section .cg-lottery-tabs{gap:18px}.cg-user-section .cg-lottery-tabs a{padding-inline:0}
@media(max-width:575px){.cg-user-section>.card-header{padding:16px}.cg-user-section>.card-body{padding:16px}.cg-crowd-record{padding:16px}.cg-record-heading{flex-direction:column;gap:10px}.cg-record-facts{gap:16px}.cg-record-footer{align-items:flex-start;flex-direction:column}.cg-user-section .cg-raffle-panel{padding:16px!important}.cg-user-section .cg-lottery-intro h3{font-size:17px}}
.card.cg-user-section{padding:0}
.cg-user-section .cg-lottery-counts>div{display:flex;flex-direction:column;justify-content:space-between;gap:4px}
.cg-user-section .cg-lottery-counts .cg-count-small{white-space:nowrap}
[data-bs-theme=dark] .cg-user-section,.dark .cg-user-section,.dark-open .cg-user-section{--cg-user-line:#3b4351;--cg-user-muted:#acb5c3}
@media(max-width:575px){.cg-user-section .cg-lottery-counts .cg-count-small{font-size:14px;line-height:1.8}.cg-user-section .cg-lottery-counts span{line-height:1.65}}

/* R30 promotions: compact text treatments, matching membership and recharge cards. */
.cg-promotion-note{font-size:13px;font-weight:600;line-height:1.7;color:#365bba;background:#4d72db0d;border-radius:6px;padding:7px 10px;margin:10px 0;overflow-wrap:anywhere}
.cg-member-identity{min-width:0;flex:1;overflow-wrap:anywhere}.cg-member-identity>h5{flex-wrap:wrap;gap:4px;line-height:1.6}.cg-member-identity>.mb-1{line-height:1.7}
.coin-pay-card{height:100%;box-sizing:border-box}.coin-pay-card .cg-promotion-note{margin:10px 0 0;font-size:12px;padding:5px 6px}.coin-pay-card.active .cg-promotion-note{color:inherit;background:#ffffff29}
.cg-promotion-rules{margin:0 0 22px;border:1px solid var(--cg-user-line,#e3e7ed);border-radius:9px;overflow:hidden}.cg-promotion-rules summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;padding:14px 16px;font-size:14px;font-weight:600}.cg-promotion-rules summary::-webkit-details-marker{display:none}.cg-promotion-rules summary span{font-size:12px;font-weight:400;color:var(--cg-user-muted,#7b8493)}.cg-promotion-rules>div{padding:0 16px 16px;font-size:13px;line-height:1.8}.cg-promotion-rules p{margin:6px 0}.cg-promotion-rules strong{display:block;margin-top:10px}.cg-promotion-rules small{display:block;margin-top:12px;color:var(--cg-user-muted,#7b8493)}
.rpr-checkout-summary .cg-promotion-note{margin:12px 0}.rpr-checkout-summary .cg-promotion-note+p{font-size:13px}.pay-vip-log .cg-promotion-note{margin-bottom:0}.cg-horizontal .price-footer .cg-promotion-note{margin-top:0}
[data-bs-theme=dark] .cg-promotion-note,.dark .cg-promotion-note,.dark-open .cg-promotion-note{color:#b7c9ff;background:#89a4ff15}
@media(max-width:575px){.cg-promotion-rules summary{padding:12px}.cg-promotion-rules>div{padding:0 12px 12px}.cg-promotion-note{font-size:12px}}
