/* VIP level gallery: each tier has its own finish while keeping BeiKe's restrained layout. */
.profile-level-view{
  --vip-bg:#edf5f0;--vip-ink:#174537;--vip-muted:#6d8977;--vip-accent:#168463;
  --vip-card-a:#17664d;--vip-card-b:#082d2a;--vip-metal:#e3e9b5;
  --vip-soft-a:#e0f1e5;--vip-soft-b:#f6faed;--vip-line:#cddfd1;
  min-height:100%;margin:0 -17px;background:var(--vip-bg);color:var(--vip-ink);
  transition:background .3s ease;
}
.profile-level-view[data-tier="2"]{
  --vip-bg:#edf6f6;--vip-ink:#20505b;--vip-muted:#68878a;--vip-accent:#168d91;
  --vip-card-a:#207f88;--vip-card-b:#123945;--vip-metal:#c7edef;
  --vip-soft-a:#dff3f2;--vip-soft-b:#f3fbfb;--vip-line:#c8e2e1;
}
.profile-level-view[data-tier="3"]{
  --vip-bg:#faf5e9;--vip-ink:#60462d;--vip-muted:#907d60;--vip-accent:#ad7332;
  --vip-card-a:#aa783d;--vip-card-b:#503725;--vip-metal:#ffe5a7;
  --vip-soft-a:#f7e9ca;--vip-soft-b:#fff9ed;--vip-line:#ead9b9;
}
.profile-level-view[data-tier="4"]{
  --vip-bg:#eef3fa;--vip-ink:#263f6b;--vip-muted:#7085a5;--vip-accent:#416cb7;
  --vip-card-a:#4273b8;--vip-card-b:#182d59;--vip-metal:#d8e7ff;
  --vip-soft-a:#e1ebfb;--vip-soft-b:#f4f8ff;--vip-line:#d0dcf0;
}
.profile-level-view[data-tier="5"]{
  --vip-bg:#f5f0f7;--vip-ink:#49375e;--vip-muted:#8c7795;--vip-accent:#8459a3;
  --vip-card-a:#76538f;--vip-card-b:#302344;--vip-metal:#f0d4f1;
  --vip-soft-a:#eee1f4;--vip-soft-b:#fcf6ff;--vip-line:#e4d5e9;
}
.profile-level-view[data-tier="6"]{
  --vip-bg:#f3f1ec;--vip-ink:#353b3b;--vip-muted:#82867e;--vip-accent:#9d783d;
  --vip-card-a:#343e45;--vip-card-b:#0c141a;--vip-metal:#f4dfad;
  --vip-soft-a:#eee7d9;--vip-soft-b:#fbf9f1;--vip-line:#e0d9c8;
}
.profile-vip-hero{
  position:relative;overflow:hidden;min-height:0;margin:12px 12px 0;padding:16px 18px 14px;
  border:1px solid #ffffff56;border-radius:22px;
  background:
    radial-gradient(circle at 79% 20%,#ffffff47 0,transparent 30%),
    radial-gradient(circle at 94% 100%,color-mix(in srgb,var(--vip-metal) 28%,transparent) 0,transparent 47%),
    linear-gradient(134deg,var(--vip-card-a),var(--vip-card-b) 86%);
  color:#fff;box-shadow:0 15px 27px #1230272b,inset 0 1px #ffffff70;
  touch-action:pan-y;user-select:none;
}
.profile-level-view[data-tier="3"] .profile-vip-hero{box-shadow:0 15px 30px #7b573126,inset 0 1px #ffffff70}
.profile-level-view[data-tier="4"] .profile-vip-hero{box-shadow:0 15px 30px #26457433,inset 0 1px #ffffff70}
.profile-level-view[data-tier="5"] .profile-vip-hero{box-shadow:0 15px 30px #45315b36,inset 0 1px #ffffff70}
.profile-level-view[data-tier="6"] .profile-vip-hero{box-shadow:0 15px 33px #101a2152,inset 0 1px #ffffff70}
.profile-vip-hero::before,.profile-vip-hero::after{content:"";position:absolute;pointer-events:none;border:1px solid #ffffff34;border-radius:50%}
.profile-vip-hero::before{top:-99px;right:-71px;width:274px;height:274px}
.profile-vip-hero::after{top:-53px;right:-25px;width:182px;height:182px;border-color:#ffffff4c}
.profile-vip-hero-top,.profile-vip-hero-main,.profile-vip-progress-head,.profile-vip-progress-card p{position:relative;z-index:1}
.profile-vip-hero-top>span:first-child{color:#fff;font-size:8px;font-weight:900;letter-spacing:2px}
.profile-vip-current-chip{padding:6px 9px;border:1px solid #ffffff70;border-radius:99px;background:#ffffff20;color:#fff;font-size:8px;font-weight:850;letter-spacing:.6px;backdrop-filter:blur(5px)}
.profile-vip-hero-main{align-items:center;min-height:99px;margin:4px 0 8px}
.profile-vip-overline{display:block;margin-bottom:5px;color:var(--vip-metal);font-size:8px;font-weight:900;letter-spacing:1.8px}
.profile-vip-hero-main strong.profile-vip-display{display:block;color:#fff;font-size:48px;font-weight:900;letter-spacing:-2.7px;line-height:1;text-shadow:0 6px 18px #001b1738}
.profile-level-view .profile-vip-hero-main strong .profile-vip-display-number{display:inline-block;margin-left:4px;color:var(--vip-metal);font-family:Georgia,serif;font-size:53px;font-weight:700;font-style:italic;letter-spacing:-4px}
.profile-vip-hero-main p.profile-vip-hero-subtitle{max-width:188px;margin:6px 0 0;color:#f0f7f0;font-size:10px;line-height:1.4}
.profile-vip-medallion{position:relative;flex:none;width:88px;height:88px;margin-right:0;border:1px solid #ffffff76;border-radius:50%;background:radial-gradient(circle at 35% 28%,#ffffff65,transparent 42%),linear-gradient(140deg,#ffffff30,#ffffff05);box-shadow:inset 0 0 0 7px #ffffff13,inset 0 0 0 8px #ffffff4f,0 13px 24px #001d175c;transform:none}
.profile-vip-medallion::before{content:"";position:absolute;inset:15px;border:1px solid #ffffff7b;border-radius:50%}
.profile-vip-medallion span{position:relative;color:var(--vip-metal);font-size:38px;text-shadow:0 3px 12px #001e1755;transform:none}
.profile-vip-progress-card{position:relative;z-index:1;min-height:70px;padding:10px 12px 9px;border:1px solid #ffffff64;border-radius:13px;background:linear-gradient(145deg,#ffffff25,#ffffff0d);box-shadow:inset 0 1px #ffffff45;backdrop-filter:blur(8px)}
.profile-vip-progress-card[hidden]{display:none!important}
.profile-vip-progress-head span{color:#e7f2e8;font-size:8px;letter-spacing:1px}.profile-vip-progress-head span b{margin-top:3px;font-size:10px}
.profile-vip-progress-head strong{font-size:23px}.profile-vip-progress-head strong small{font-size:10px}
.profile-vip-progress-track{height:6px;margin-top:11px;background:#ffffff50}.profile-vip-progress-track i{background:linear-gradient(90deg,var(--vip-metal),#fff3c9)}
.profile-vip-progress-card p{margin-top:8px;font-size:8px}.profile-vip-progress-card p b{font-size:8px}
.profile-vip-body{padding:12px 13px 26px;background:var(--vip-bg)}
.profile-vip-body>section+section{margin-top:10px}
.profile-vip-milestones{padding:12px 13px 10px;border:1px solid var(--vip-line);border-radius:17px;background:#ffffffb3;box-shadow:0 6px 19px #2543310b}
.profile-vip-section-heading>span{color:var(--vip-accent)}.profile-vip-section-heading h2{color:var(--vip-ink);font-size:17px}
.profile-vip-heading-row h2{margin-top:4px}
.profile-vip-rules-open{min-width:64px;height:29px;border:1px solid var(--vip-line);background:var(--vip-soft-a);color:var(--vip-ink);font-size:10px}
.profile-vip-rules-open:focus-visible,.profile-vip-tiers button:focus-visible{outline:2px solid var(--vip-accent);outline-offset:2px}
.profile-vip-tiers{position:relative;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;margin:13px -3px 0;padding:0;touch-action:pan-y;user-select:none}
.profile-vip-tiers::before{left:8.33%;right:8.33%;top:17px;height:2px;background:var(--vip-line)}
.profile-vip-tiers::after{display:none}
.profile-vip-tiers button.profile-vip-tier-step{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;height:auto;padding:0;border:0;border-radius:0;background:none;color:var(--vip-muted);font:inherit;cursor:pointer;box-shadow:none!important}
.profile-vip-tiers button.profile-vip-tier-step[aria-selected="true"]{background:none;color:var(--vip-ink)}
.profile-vip-tier-step .profile-vip-node{display:grid;place-items:center;width:35px;height:35px;border:1.5px solid var(--vip-line);border-radius:50%;background:#fff;color:var(--vip-muted);font-size:11px;box-shadow:0 0 0 3px #fff}
.profile-level-view .profile-vip-tiers button.profile-vip-tier-step[aria-selected="true"] .profile-vip-node{border-color:var(--vip-accent);background:var(--vip-accent);color:#fff;box-shadow:0 0 0 3px #fff,0 4px 10px color-mix(in srgb,var(--vip-accent) 35%,transparent)}
.profile-vip-tier-step[data-current="true"]:not([aria-selected="true"]) .profile-vip-node{border-color:var(--vip-accent);color:var(--vip-accent);background:#fff}
.profile-vip-tier-step b{font-size:9px;font-weight:850;white-space:nowrap}
.profile-vip-swipe-hint{width:max-content;max-width:100%;margin:10px auto 0;padding:6px 9px;border:1px solid color-mix(in srgb,var(--vip-accent) 13%,transparent);border-radius:99px;background:var(--vip-soft-b);color:var(--vip-muted);font-size:9px;font-weight:700;line-height:1.3;text-align:center}
.profile-vip-benefits-section{padding:9px 3px 0}
.profile-vip-benefits-section .profile-vip-section-heading p{color:var(--vip-muted);font-size:10px}
.profile-vip-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:10px}
.profile-vip-benefit{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-width:0;min-height:117px;padding:10px 6px 9px;border:1px solid color-mix(in srgb,var(--vip-accent) 34%,var(--vip-line));border-radius:14px;background:linear-gradient(157deg,#fff 24%,color-mix(in srgb,var(--vip-soft-b) 86%,#fff));color:var(--vip-ink);box-shadow:inset 0 3px color-mix(in srgb,var(--vip-accent) 22%,transparent),0 7px 16px #172e2b14;text-align:center;touch-action:pan-y;user-select:none}
.profile-vip-benefit.profile-vip-cashback{grid-column:auto;min-height:117px;background:linear-gradient(157deg,color-mix(in srgb,var(--vip-soft-a) 84%,#fff),#fff 82%)}
.profile-vip-cashback::after{display:none}
.profile-vip-benefit>span.profile-vip-benefit-icon{display:grid;place-items:center;flex:none;position:relative;z-index:1;width:37px;height:37px;margin:0;border:1px solid color-mix(in srgb,var(--vip-accent) 72%,#fff);border-radius:50%;background:linear-gradient(145deg,color-mix(in srgb,var(--vip-accent) 91%,#fff),var(--vip-accent));color:#fff;box-shadow:0 4px 10px color-mix(in srgb,var(--vip-accent) 28%,transparent)}
.profile-vip-benefit-icon svg{width:23px;height:23px;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.profile-vip-benefit small{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;min-height:25px;margin-top:5px;color:color-mix(in srgb,var(--vip-ink) 72%,#536b5d);font-size:9px;font-weight:800;line-height:1.2;text-align:center}
.profile-vip-benefit strong{position:relative;z-index:1;display:block;max-width:100%;margin-top:auto;color:var(--vip-ink);font-size:18px;font-weight:900;letter-spacing:-.5px;line-height:1.1;white-space:nowrap;text-align:center}
.profile-vip-cashback strong.profile-vip-rate{font-family:inherit;color:var(--vip-ink);font-size:20px;font-weight:850;letter-spacing:-.7px}
.profile-vip-benefits-section>.profile-vip-footnote{margin:10px 3px 0;padding:0;border:0;color:var(--vip-muted);font-size:9px}
.profile-level-view.is-changing .profile-vip-hero-copy,.profile-level-view.is-changing .profile-vip-medallion,.profile-level-view.is-changing .profile-vip-benefits{animation:vip-reveal .28s ease both}
@keyframes vip-reveal{from{opacity:.45;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.profile-level-view.is-changing .profile-vip-hero-copy,.profile-level-view.is-changing .profile-vip-medallion,.profile-level-view.is-changing .profile-vip-benefits{animation:none}}
