.fr-vip-orbit {--vip-frame-image:url("orbit.webp");}
.fr-vip-crystal {--vip-frame-image:url("crystal.webp");}
.fr-vip-imperial {--vip-frame-image:url("imperial.webp");}
.fr-vip-vortex {--vip-frame-image:url("vortex.webp");}
.fr-vip-planets {--vip-frame-image:url("planets.webp");}
/* The same transparent sprite surrounds the profile, table and home avatar. */
#rwProfile .ava.vipFramed, #home .hAva.vipFramed, body main.table .pcard .ava.vipFramed {
  position:relative;isolation:isolate;display:grid;place-items:center;overflow:visible;
  background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;
}
#rwProfile .ava.vipFramed::before, #home .hAva.vipFramed::before, body main.table .pcard .ava.vipFramed::before {
  content:"";position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;transform:none;
  background:var(--vip-frame-image) center / contain no-repeat;z-index:2;pointer-events:none;
}
#rwProfile .ava.vipFramed::after, #home .hAva.vipFramed::after, body main.table .pcard .ava.vipFramed::after {content:none;}
#rwProfile .ava.vipFramed > img, #home .hAva.vipFramed > img, body main.table .pcard .ava.vipFramed > img {
  width:78%;height:77%;border-radius:16%;transform:translateY(3%);object-fit:cover;z-index:0;
}
#home .hAva.vipFramed .avaLv,body main.table .pcard .ava.vipFramed :is(.dot,.avaLv) {z-index:3;}
#rwProfile .frameGallery .vipFrameGroup {margin-top:clamp(16px,1.8cqi,26px);border-top:1px solid #8a67b666;padding-top:clamp(12px,1.7cqi,24px);}
#rwProfile .frameGallery .vipFrameGroup h4 {margin:0 0 .4em;color:#ffe1a1;font:700 clamp(20px,2.1cqi,33px)/1.15 Georgia,serif;}
#rwProfile .frameGallery .vipFrameGroup p {margin:.3em 0 .8em;color:#ded6ef;font:500 clamp(13px,1.15cqi,17px)/1.3 system-ui;}
#rwProfile .frameGallery .vipFrameGrid {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(6px,1cqi,15px);}
#rwProfile .vipFrameGrid .frBtn {padding:5px 5px 8px;justify-content:center;min-height:44px;}
#rwProfile .vipFrameGrid .frThumb {width:min(100%,160px);margin:0 auto 4px;}
#rwProfile .vipFrameGrid .frPortrait {width:77%;height:77%;border-radius:16%;transform:translateY(3%);}
#rwProfile .vipFrameGrid .frRing {z-index:1;}
#rwProfile .vipFrameGrid .frThumb::after {z-index:2;}
#rwProfile .vipFrameGrid .frBtn small {margin:0 2%;line-height:1.13;}
@container avatar-frames (max-width:560px) {
  #rwProfile .frameGallery .vipFrameGrid {grid-template-columns:repeat(3,minmax(0,1fr));}
}
@container avatar-frames (max-width:355px) {
  #rwProfile .frameGallery .vipFrameGrid {grid-template-columns:repeat(2,minmax(0,1fr));}
}
#dlgShop #vipPerks .vipFrameLink {justify-self:start;width:fit-content;max-width:100%;margin:0 0 .45em;min-height:38px;white-space:normal;}
