/* Four membership tiers form a balanced 2 x 2 layout. */
html body .loyalty-shell .vip-plans-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px;align-items:stretch}
html body .loyalty-shell .vip-plans-grid>.vip-card{min-width:0;display:flex;flex-direction:column;box-sizing:border-box;height:auto}
html body .loyalty-shell .vip-plans-grid>.vip-card>ul{flex:1}
html body .loyalty-shell .vip-plans-grid>.vip-card>:is(button,.loyalty-button){margin-top:auto;white-space:normal}
@media(max-width:650px){html body .loyalty-shell .vip-plans-grid{grid-template-columns:minmax(0,1fr)!important;gap:15px}}

/* Distinct tier emblems, scoped to the VIP plan cards. */
.vip-plans-grid .vip-plan-emblem{width:54px;height:54px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.vip-plans-grid .vip-plan-emblem svg{width:29px;height:29px}
.vip-plans-grid .vip-bronze .vip-plan-emblem{color:#a56838;background:#faf0e6;border-color:#d9b18b}
.vip-plans-grid .vip-silver .vip-plan-emblem{color:#62738d;background:#eef2f8;border-color:#b9c6d9}
.vip-plans-grid .vip-gold .vip-plan-emblem{color:#a87913;background:#fff5d9;border-color:#e4c36e}
.vip-plans-grid .vip-diamond .vip-plan-emblem{color:#1684b5;background:#e3f6ff;border-color:#83cdeb}

/* v66 VIP 3.0 presentation: no change to payment logic or coin grants */
.yg-vip-v3 .yg-vip-section-head{display:flex;align-items:center;gap:14px;margin-bottom:12px}
.yg-vip-v3 .yg-vip-section-head h2{margin:2px 0 0}
.yg-vip-v3 .yg-vip-eyebrow{font-size:10px;letter-spacing:.15em;font-weight:900;color:#8458b5}
.yg-vip-v3 .yg-vip-section-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:linear-gradient(145deg,#f1e8ff,#e4d7fc);border:1px solid #cbb3ef;color:#7950b7;box-shadow:inset 0 1px #fff,0 6px 18px #8058b51e}
.yg-vip-v3 .yg-vip-section-icon svg{width:27px;height:27px}
.yg-vip-v3 .vip-plans-grid>.vip-card{position:relative;overflow:hidden;border-radius:19px;border:1px solid #cbb8e7;box-shadow:0 7px 25px #39235b0e,inset 0 1px #ffffffad;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.yg-vip-v3 .vip-plans-grid>.vip-card:before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#ad754c,#d8b18d)}
.yg-vip-v3 .vip-plans-grid>.vip-silver:before{background:linear-gradient(90deg,#8795ac,#d5dfeb)}
.yg-vip-v3 .vip-plans-grid>.vip-gold:before{background:linear-gradient(90deg,#bb8a1c,#f4d877)}
.yg-vip-v3 .vip-plans-grid>.vip-diamond:before{background:linear-gradient(90deg,#3195c3,#a67ee8)}
.yg-vip-v3 .vip-plans-grid>.vip-card:hover{transform:translateY(-4px);border-color:#a98bda;box-shadow:0 14px 32px #56377d26}
.yg-vip-v3 .vip-plans-grid>.vip-card .vip-plan-emblem{transition:transform .35s ease,box-shadow .35s ease}
.yg-vip-v3 .vip-plans-grid>.vip-card:hover .vip-plan-emblem{transform:scale(1.09) rotate(-5deg);box-shadow:0 0 0 4px #8b63c020}
.yg-vip-v3 .vip-plans-grid>.yg-vip-active{border:2px solid #8e65cb;box-shadow:0 0 0 4px #a17bd21c,0 12px 26px #64418d21}
.yg-vip-current{display:inline-flex;align-items:center;align-self:flex-start;border:1px solid #b6a1e3;border-radius:999px;padding:5px 11px;background:#f1e9ff;color:#62419c;font-weight:800;font-size:12px;margin:0 0 12px}
.yg-dark .yg-vip-v3 .vip-plans-grid>.vip-card{border-color:#625177;box-shadow:0 7px 25px #0003}
.yg-dark .yg-vip-v3 .vip-plans-grid>.yg-vip-active{border-color:#b28cf2}
.yg-dark .yg-vip-current{background:#45345f;color:#e1caff;border-color:#8669b1}
@media(prefers-reduced-motion:reduce){.yg-vip-v3 .vip-plans-grid>.vip-card,.yg-vip-v3 .vip-plans-grid>.vip-card .vip-plan-emblem{transition:none}.yg-vip-v3 .vip-plans-grid>.vip-card:hover,.yg-vip-v3 .vip-plans-grid>.vip-card:hover .vip-plan-emblem{transform:none}}
