/* PROFILE CARD AURORA (PCAURORA1126, 2026-11-26). Rob: "People want more simple profile cards for viewers with an easy option when they're viewing
   their own profile to see the advanced statistics" / "I need some premium organized optimal animated modern designs" / "I like this old design better
   it just needs a premium look and we definitely want the ribbon this large. The location radar can be just a little animated red pin drop instead" /
   his pick: "Aurora with the bio above the stats pill". views/_profile_card_aurora.php (inside .profile-card.pca) + the cover (.profile-cover.pca-cover).
   Loaded by views/profile.php ONLY while k/v profile_card_aurora lets the viewer in, so nobody else downloads a byte of it, and it cannot collide with
   the other work in rova.css. Every rule is scoped under .profile-card.pca or .profile-cover.pca-cover.
   Motion: the turning ring, the cover drift (the existing Ken Burns, transform only), the founder light, the medal (its own Kling loop), the pin
   drop, the count-up, the sheet slide and the ring / bar fills. All off under prefers-reduced-motion; every loop pauses while the card is off screen
   (.pca-idle, profile-aurora.js). No backdrop-filter, no blurred copy of any picture. Light theme: the same tokens, re-set below. */

.profile-card.pca,.profile-cover.pca-cover{
  --pca-card:#141118;--pca-card2:#1b1720;--pca-ink:var(--text);--pca-mute:var(--muted);
  --pca-rim:rgba(255,236,186,.13);--pca-well:rgba(255,255,255,.04);--pca-well2:rgba(255,255,255,.02);--pca-track:rgba(255,255,255,.08);
  --pca-gold:#f5c518;--pca-gold-hi:#ffe89a;--pca-gold-lo:#b8860b;--pca-gold-ink:#ffd95e;--pca-ok:#34d27b;--pca-dn:#ff7b7b;
  --pca-chip:rgba(255,255,255,.04);--pca-chip-rim:rgba(245,197,24,.38);--pca-chip-rim-hi:rgba(245,197,24,.75);
  --pca-disc:rgba(255,255,255,.05);--pca-disc-hi:rgba(255,255,255,.09);--pca-disc-rim:rgba(255,236,186,.22);
  --pca-veil:rgba(6,5,8,.62);--pca-shadow:0 30px 60px -34px rgba(0,0,0,.75);
  --pca-av:112px;--pca-lift:clamp(40px,11.5vw,58px);
  --pca-ease:cubic-bezier(.2,.8,.2,1)}
[data-theme="light"] .profile-card.pca,[data-theme="light"] .profile-cover.pca-cover{
  --pca-card:#fffdf8;--pca-card2:#ffffff;--pca-rim:rgba(150,110,20,.18);--pca-well:rgba(120,90,20,.05);--pca-well2:rgba(120,90,20,.02);--pca-track:rgba(60,45,10,.1);
  --pca-gold-ink:#9a6a00;--pca-ok:#14894a;--pca-dn:#c43c3c;--pca-chip:#ffffff;--pca-chip-rim:rgba(184,134,11,.45);--pca-chip-rim-hi:rgba(184,134,11,.85);
  --pca-disc:#ffffff;--pca-disc-hi:#fbf6ea;--pca-disc-rim:rgba(150,110,20,.28);--pca-veil:rgba(30,24,12,.32);--pca-shadow:0 24px 50px -30px rgba(60,45,10,.35)}
@media (prefers-color-scheme:light){
  :root:not([data-theme="dark"]) .profile-card.pca,:root:not([data-theme="dark"]) .profile-cover.pca-cover{
    --pca-card:#fffdf8;--pca-card2:#ffffff;--pca-rim:rgba(150,110,20,.18);--pca-well:rgba(120,90,20,.05);--pca-well2:rgba(120,90,20,.02);--pca-track:rgba(60,45,10,.1);
    --pca-gold-ink:#9a6a00;--pca-ok:#14894a;--pca-dn:#c43c3c;--pca-chip:#ffffff;--pca-chip-rim:rgba(184,134,11,.45);--pca-chip-rim-hi:rgba(184,134,11,.85);
    --pca-disc:#ffffff;--pca-disc-hi:#fbf6ea;--pca-disc-rim:rgba(150,110,20,.28);--pca-veil:rgba(30,24,12,.32);--pca-shadow:0 24px 50px -30px rgba(60,45,10,.35)}
}

/* ---- the cover: the member's own banner (its Ken Burns drift is the old one, transform only), melting into the card ---- */
.profile-cover.pca-cover{border-radius:22px 22px 0 0}
.profile-cover.pca-cover::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:62%;z-index:1;pointer-events:none;
  background:linear-gradient(180deg,rgba(20,17,24,0) 0,color-mix(in srgb,var(--pca-card) 55%,transparent) 45%,var(--pca-card) 100%)}
/* no banner: the gold fallback gets a slow aurora (one conic layer, turned by transform only) */
.profile-cover.pca-cover:not(:has(.pf-cover-img))::before{content:"";position:absolute;left:-40%;top:-120%;width:180%;height:340%;z-index:0;pointer-events:none;
  background:conic-gradient(from 200deg at 50% 50%,rgba(255,120,170,0),rgba(255,120,170,.26),rgba(255,200,90,0) 30%,rgba(140,90,255,.22) 55%,rgba(255,120,170,0) 75%);
  animation:pcaTurn 30s linear infinite}
.profile-cover.pca-cover .cover-edit{z-index:3;top:12px;bottom:auto;-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(12,10,14,.6)}
.profile-cover.pca-cover .cover-add{z-index:3;justify-content:flex-start;padding-top:10px;gap:6px}
.profile-cover.pca-cover .cover-add #cover-status{padding:3px 10px;font-size:12px}
.profile-cover.pca-cover:not(:has(.pf-cover-img)) + .profile-card.pca{--pca-lift:24px}

/* ---- the card ---- */
.wrap .glass.card.profile-card.pca,.profile-card.pca{position:relative;display:flex;flex-direction:column;align-items:center;gap:13px;text-align:center;
  padding:0 22px 22px !important;color:var(--pca-ink);
  background:radial-gradient(90% 40% at 50% 100%,color-mix(in srgb,var(--cg-b,#f5c518) 9%,transparent),transparent 70%) no-repeat,var(--pca-card) !important;
  -webkit-backdrop-filter:none !important;backdrop-filter:none !important;
  border:1px solid var(--pca-rim) !important;border-top:0 !important;box-shadow:var(--pca-shadow) !important;border-radius:0 0 26px 26px !important}
.profile-card.pca::before,.profile-card.pca::after{display:none !important}
.profile-card.pca > *{max-width:100%;box-sizing:border-box}

/* ---- the photo: centred, a slowly turning gold ring, the photo's like + comment discs under it ---- */
.pca-avrow{position:relative;z-index:2;display:flex;justify-content:center;width:100%;min-height:var(--pca-av);margin-top:calc(-1 * var(--pca-lift));padding-bottom:14px}
.pca-av{position:relative;display:grid;place-items:center;width:var(--pca-av);height:var(--pca-av);border-radius:50%;flex:none;--pca-ra:#fff4c4;--pca-rb:#f5c518;--pca-rc:#c08a0c}
.pca-spin{position:absolute;inset:0;border-radius:50%;pointer-events:none;
  background:conic-gradient(from 0deg,var(--pca-ra),var(--pca-rb) 18%,var(--pca-rc) 34%,var(--pca-rb) 52%,var(--pca-ra) 66%,var(--pca-rc) 82%,var(--pca-ra));
  animation:pcaTurn 6s linear infinite;will-change:transform}
.pca-av::before{content:"";position:absolute;inset:3px;border-radius:50%;background:var(--pca-card);pointer-events:none}
.profile-card.pca .pca-av .pf-photo{position:relative;z-index:1;display:block;margin:0 !important;line-height:0}
/* RINGFIX1127 (Rob 2026-11-27, his own profile: "Profile circle alignment is off"): the old card gives .pf-photo an 18 px bottom margin (room for the
   badges) and the photo sat on a text line (inline image + line box = +6.8 px), so the photo was centred 6 px HIGH inside the ring. Both gone: the
   photo box is exactly the image, and the image a block. The badges are absolute (bottom -15 px) and do not need the margin. */
.profile-card.pca .pca-av .pf-avatar{line-height:0}
.profile-card.pca .pca-av .pf-avatar .avatar{display:block}
.profile-card.pca .pca-av .pf-avatar{display:block;margin:0 !important;padding:0 !important;border-radius:50%}
.profile-card.pca .pca-av .pf-avatar :is(.avatar,.av-on,.av-live){margin-top:0 !important}
.profile-card.pca .pca-av .pf-avatar .avatar{width:calc(var(--pca-av) - 12px);height:calc(var(--pca-av) - 12px)}
html:root .profile-card.pca .pca-av .pf-avatar .avatar,html:root .profile-card.pca .pca-av .pf-avatar.mt-glow .avatar{padding:0 !important;background-image:none !important;box-shadow:none !important}
.profile-card.pca .pca-av .pf-avatar.mt-glow .av-vid :is(video,img){top:0;left:0;width:100%;height:100%}
.profile-card.pca .pca-av .pf-avatar.rk-avr::before,.profile-card.pca .pca-av .pf-avatar.rk-avr::after{display:none !important}
/* one ring, never two: an earned rank tier ring or a title's metal colours the turning ring; a Flair ring or the red LIVE ring keeps the photo alone */
.pca-av:has(.rk-t2){--pca-ra:#ffd2a0;--pca-rb:#e8742a;--pca-rc:#8a3c0c}
.pca-av:has(.rk-t3){--pca-ra:#ffc39a;--pca-rb:#ff4d4d;--pca-rc:#a32020}
.pca-av:has(.rk-t4){--pca-ra:#b8f3ff;--pca-rb:#2f7bff;--pca-rc:#164099}
.pca-av:has(.rk-t5){--pca-ra:#e2f9ff;--pca-rb:#6c7bff;--pca-rc:#3540a6}
.pca-av:has(.rk-t6){--pca-ra:#ffd2c4;--pca-rb:#ff6a88;--pca-rc:#8a62d6}
.pca-av:has(.rk-t7){--pca-ra:#7affc8;--pca-rb:#7a6bff;--pca-rc:#ff7ad6}
.pca-av:has(.rk-t8){--pca-ra:#d7a6ff;--pca-rb:#5d3d8f;--pca-rc:#22222c}
.pca-av:has(.rk-t9){--pca-ra:#fff6c2;--pca-rb:#ffd45e;--pca-rc:#a8790c}
.pca-av:has(.rk-t10){--pca-ra:#ffffff;--pca-rb:#ffd45e;--pca-rc:#ff6a88}
.pca-av:has(.mt-silver){--pca-ra:#ffffff;--pca-rb:#cbd5e1;--pca-rc:#6b7686}
.pca-av:has(.mt-violet){--pca-ra:#e6dcff;--pca-rb:#a78bfa;--pca-rc:#5b3fb8}
.pca-av:has(.mt-teal){--pca-ra:#c9fff4;--pca-rb:#2dd4bf;--pca-rc:#0f6f63}
.pca-av:has(.av-live) .pca-spin,.pca-av:has(.fl-ring) .pca-spin,.pca-av:has(.av-live)::before,.pca-av:has(.fl-ring)::before{display:none}
.profile-card.pca .pca-av .pf-photo-badges{bottom:-15px;gap:6px}
.profile-card.pca .pca-av .pf-badge{-webkit-backdrop-filter:none;backdrop-filter:none;background:var(--pca-card2);box-shadow:0 0 0 1px var(--pca-disc-rim),0 4px 10px rgba(0,0,0,.28)}

/* ---- the #1 medal, large, hanging to the right of the photo (it never reaches the name row: it ends with the photo) ---- */
.pca-medal{position:absolute;z-index:3;top:calc(var(--pca-av) - 92px);left:min(calc(50% + var(--pca-av) / 2 - 12px),calc(100% - 78px));width:78px;height:96px}
.profile-card.pca .pca-medal .pf-champ{display:block;width:78px;height:96px;margin:0;transform-origin:50% 30%}
.profile-card.pca .pca-medal .pf-champ picture,.profile-card.pca .pca-medal .pf-champ-img,.profile-card.pca .pca-medal .pf-champ-cv{display:block;width:78px;height:96px;object-fit:contain}
.profile-card.pca .pca-medal .pf-champ-img,.profile-card.pca .pca-medal .pf-champ-cv{filter:drop-shadow(0 4px 7px rgba(0,0,0,.45))}

/* ---- name, handle, the place with its little red pin ---- */
.pca-id{display:flex;flex-direction:column;align-items:center;gap:6px;width:100%;min-width:0}
.profile-card.pca .pca-namerow{display:flex;align-items:center;justify-content:center;gap:7px;max-width:100%;min-width:0}
.profile-card.pca .pca-namerow .pf-name{margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:24px;font-weight:800;line-height:1.15;letter-spacing:-.015em}
.profile-card.pca .pca-namerow .vtick{flex:none;width:20px;height:20px}
.pca-hd{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 7px;max-width:100%;color:var(--pca-mute);font-size:13.5px;line-height:1.3}
.pca-handle{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pca-sep{flex:none;width:3px;height:3px;border-radius:50%;background:currentColor;opacity:.6}
.pca-place{display:inline-flex;align-items:center;gap:6px;min-width:0;color:inherit;text-decoration:none;border-radius:8px}
.pca-place:hover .pca-place-t{text-decoration:underline;text-underline-offset:2px}
.pca-place:focus-visible{outline:2px solid var(--pca-gold);outline-offset:2px}
.pca-place-t{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pca-pin{position:relative;display:block;flex:none;width:12px;height:16px}
.pca-pin svg{position:absolute;inset:0;display:block;width:100%;height:100%;overflow:visible;transform-origin:50% 100%;animation:pcaDrop 4s var(--pca-ease) infinite}
.pca-pin::after{content:"";position:absolute;left:50%;bottom:-3px;width:12px;height:4px;margin-left:-6px;border-radius:50%;border:1.5px solid rgba(255,59,59,.7);opacity:0;animation:pcaPing 4s var(--pca-ease) infinite}
@keyframes pcaDrop{0%{transform:translateY(-14px);opacity:0}8%{opacity:1}22%{transform:translateY(0) scale(1.1,.86)}30%{transform:translateY(-3px)}38%,100%{transform:translateY(0) scale(1)}}
@keyframes pcaPing{0%,20%{transform:scale(.4);opacity:0}24%{opacity:.9}60%,100%{transform:scale(2.2);opacity:0}}

/* ---- the founder pill: laurels, a foil pill and a passing light ---- */
.pca-titles{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 12px}
.pca-title{--pca-tc:var(--pca-gold-ink);--pca-tr:rgba(245,197,24,.6);--pca-tb:rgba(245,197,24,.16);display:inline-flex;align-items:center;gap:6px;color:var(--pca-tc)}
.pca-title.pca-t-silver{--pca-tc:#d9dee7;--pca-tr:rgba(203,213,225,.6);--pca-tb:rgba(203,213,225,.14)}
.pca-title.pca-t-violet{--pca-tc:#c4b2ff;--pca-tr:rgba(167,139,250,.6);--pca-tb:rgba(167,139,250,.15)}
.pca-title.pca-t-teal{--pca-tc:#7ee8d8;--pca-tr:rgba(45,212,191,.6);--pca-tb:rgba(45,212,191,.14)}
[data-theme="light"] .pca-title.pca-t-silver{--pca-tc:#5b6472}
[data-theme="light"] .pca-title.pca-t-violet{--pca-tc:#6a4fd0}
[data-theme="light"] .pca-title.pca-t-teal{--pca-tc:#0f7a6c}
.pca-lau{display:block;flex:none;width:15px;height:26px}
.pca-lau-r{transform:scaleX(-1)}
.pca-tpill{position:relative;overflow:hidden;display:inline-flex;align-items:center;gap:8px;height:30px;padding:0 15px;border-radius:999px;box-sizing:border-box;
  border:1px solid var(--pca-tr);background:linear-gradient(180deg,var(--pca-tb),color-mix(in srgb,var(--pca-tb) 20%,transparent));font-size:11.5px;font-weight:800;line-height:1;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap}
.pca-tpill i{display:block;flex:none;width:5px;height:5px;border-radius:50%;background:currentColor}
.pca-tpill::after,.pca-sheen::after,.pca-follow::after{content:"";position:absolute;top:0;bottom:0;left:-60%;width:40%;pointer-events:none;
  background:linear-gradient(100deg,rgba(255,255,255,0),rgba(255,255,255,.5),rgba(255,255,255,0));transform:skewX(-18deg);animation:pcaSweep 4.6s var(--pca-ease) infinite}
@keyframes pcaSweep{0%,55%{left:-60%}85%,100%{left:130%}}

/* ---- bio (above the numbers), links, channel + group pills ---- */
.pca-about{display:flex;flex-direction:column;align-items:center;gap:10px;width:100%}
.profile-card.pca .bio-block{width:100%}
.profile-card.pca .bio-text{margin:0;font-size:14.5px;line-height:1.45;overflow-wrap:anywhere}
.profile-card.pca .profile-links{justify-content:center;margin:0}
.pca-pages{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.pca-pages .chpill-prof{margin:0}

/* ---- the numbers well ---- */
.pca-stats{display:grid;grid-template-columns:repeat(3,1fr);width:100%;max-width:460px;padding:12px 0;border-radius:20px;box-sizing:border-box;
  background:linear-gradient(180deg,var(--pca-well),var(--pca-well2));border:1px solid var(--pca-rim)}
.pca-stats.has-views{grid-template-columns:repeat(4,1fr)}
.pca-st{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0;padding:0 4px;color:inherit;text-decoration:none}
.pca-st + .pca-st::before{content:"";position:absolute;left:0;top:14%;bottom:14%;width:1px;background:linear-gradient(180deg,rgba(245,197,24,0),rgba(245,197,24,.55),rgba(245,197,24,0))}
.pca-st > :is(b,strong){display:block;font-size:22px;font-weight:800;line-height:1.1;font-variant-numeric:tabular-nums;letter-spacing:-.01em;color:var(--pca-ink)}
.pca-st > span{font-size:10.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--pca-mute);white-space:nowrap}
a.pca-st:hover > span{color:var(--pca-ink)}
a.pca-st:focus-visible{outline:2px solid var(--pca-gold);outline-offset:2px;border-radius:10px}
.pca-mutual{display:flex;justify-content:center;width:100%}

/* ---- the chips: the old card's own pills, one height (34) and one even rim; icon side = text side (Rob's pill rule) ---- */
.profile-card.pca .pca-chips{justify-content:center;width:100%;margin:0}
:root:root .profile-card.pca .pca-chips > :is(.pf-battles,.gfl-pill,.fam-pill,.fc-pill,.court-pill,.rk-pill){height:34px !important;min-height:34px !important;padding:0 13px !important;gap:7px !important;
  border:1px solid var(--pca-chip-rim) !important;background:var(--pca-chip) !important;box-shadow:none !important;color:var(--pca-ink) !important;
  font-size:13px !important;font-weight:700;line-height:1 !important;border-radius:999px !important;transition:transform .25s var(--pca-ease),border-color .25s,background-color .25s}
:root:root .profile-card.pca .pca-chips > .rk-pill .rk-lv{padding:0;margin:0;border:0 !important;background:none !important;box-shadow:none !important;gap:7px;height:auto;font-size:13px;color:inherit}
:root:root .profile-card.pca .pca-chips > :is(.pf-battles,.gfl-pill,.fam-pill,.fc-pill,.court-pill,.rk-pill) :is(svg,img){flex:none}
@media (hover:hover){
  :root:root .profile-card.pca .pca-chips > :is(.pf-battles,.gfl-pill,.fam-pill,.fc-pill,.rk-pill):hover{transform:translateY(-2px);border-color:var(--pca-chip-rim-hi) !important;background:color-mix(in srgb,var(--pca-gold) 9%,var(--pca-chip)) !important}
}
:root:root .profile-card.pca .pca-chips > .court-pill{color:#ff8a96 !important}
.profile-card.pca .pca-chips .court-pill-how{text-align:center}
.pca-awards{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
:root:root .profile-card.pca .pca-awards .aw-pill{margin:0;height:34px;min-height:34px;box-sizing:border-box;padding:0 13px}

/* ---- the action row ---- */
.profile-card.pca .pca-acts{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;width:100%;max-width:420px;margin:2px 0 0;padding:0;row-gap:12px}
.profile-card.pca .pca-acts > *{margin:0}
/* discs: Message, Achievements, ..., Blocked (grid-centred, block svg) */
:root .profile-card.pca .pca-acts > :is(.cbtn:not(.pca-golab),.pfa-g > .pfa-t,.pbx > .pbx-btn),:root .profile-card.pca .pca-acts > .pfa-g > .pfa-t{
  position:relative;display:grid !important;place-items:center;flex:none;width:46px !important;height:46px !important;min-width:0 !important;padding:0 !important;border-radius:50% !important;
  background:var(--pca-disc) !important;border:1px solid var(--pca-disc-rim) !important;box-shadow:none !important;color:var(--pca-ink) !important;filter:none;
  transition:transform .2s var(--pca-ease),background-color .2s;line-height:1}
:root .profile-card.pca .pca-acts > .pbx > .pbx-btn{position:relative;display:grid !important;place-items:center;flex:none;width:46px !important;height:46px !important;padding:0 !important;border-radius:50% !important;
  background:var(--pca-disc) !important;border:1px solid var(--pca-disc-rim) !important;box-shadow:none !important}
:root .profile-card.pca .pca-acts > :is(.cbtn,.pfa-g > .pfa-t,.pbx > .pbx-btn)::before,:root .profile-card.pca .pca-acts > .pfa-g > .pfa-t::before,:root .profile-card.pca .pca-acts > .pfa-g > .pfa-t::after,
:root .profile-card.pca .pca-acts > .pbx > .pbx-btn::before,:root .profile-card.pca .pca-acts > .pbx > .pbx-btn::after,:root .profile-card.pca .pca-acts > .cbtn::after{display:none !important}
:root .profile-card.pca .pca-acts > .cbtn svg,:root .profile-card.pca .pca-acts > .pfa-g > .pfa-t svg,:root .profile-card.pca .pca-acts > .pbx > .pbx-btn svg{display:block;width:20px !important;height:20px !important;margin:0}
@media (hover:hover){:root .profile-card.pca .pca-acts > .cbtn:hover,:root .profile-card.pca .pca-acts > .pfa-g > .pfa-t:hover,:root .profile-card.pca .pca-acts > .pbx > .pbx-btn:hover{background:var(--pca-disc-hi) !important}}
:root .profile-card.pca .pca-acts > .cbtn:active,:root .profile-card.pca .pca-acts > .pfa-g > .pfa-t:active{transform:scale(.94)}
:root .profile-card.pca .pca-acts > .pfa-g > .pfa-t .cbtn-badge{position:absolute;top:-4px;right:-4px}
.profile-card.pca .pca-acts .pbx{display:contents}
.profile-card.pca .pca-acts .pbx-list{order:9;flex:1 1 100%;max-width:100%;padding-top:0}
.profile-card.pca .pca-acts > .pfa-more{order:8}
.profile-card.pca .pca-acts > .pill{margin:0}

/* Follow / Following / Requested: one gold pill; the word is CSS (app.js repaints the icon, the classes and the title) */
.profile-card.pca .pca-follow{position:relative;display:flex;flex:1 1 0;min-width:104px;max-width:260px;overflow:hidden;border-radius:999px}
:root .profile-card.pca .pca-follow > .cbtn,:root .profile-card.pca .pca-acts > .pca-golab{position:relative;display:flex !important;align-items:center;justify-content:center;gap:8px;flex:1 1 0;
  width:100% !important;min-width:0 !important;max-width:260px;height:46px !important;padding:0 20px !important;border-radius:999px !important;box-sizing:border-box;
  background:linear-gradient(180deg,#ffe27a 0,#f5c518 52%,#e2a90b 100%) !important;color:#1a1306 !important;border:1px solid rgba(255,232,154,.95) !important;
  box-shadow:0 8px 22px rgba(245,197,24,.25),inset 0 -2px 0 rgba(138,95,6,.25) !important;filter:none !important;
  font-family:inherit;font-size:15px;font-weight:800;line-height:1;white-space:nowrap;text-decoration:none;transform:none;transition:transform .2s var(--pca-ease)}
:root .profile-card.pca .pca-follow > .cbtn:active,:root .profile-card.pca .pca-acts > .pca-golab:active{transform:scale(.97)}
:root .profile-card.pca .pca-follow > .cbtn svg,:root .profile-card.pca .pca-acts > .pca-golab svg{display:block;flex:none;width:18px !important;height:18px !important;margin:0;color:currentColor}
:root .profile-card.pca .pca-acts > .pca-golab{min-width:104px !important}
:root .profile-card.pca .pca-follow > .cbtn::before{display:none !important}
:root .profile-card.pca .pca-follow > .cbtn::after{content:"Follow";position:static !important;inset:auto !important;display:block !important;width:auto !important;height:auto !important;
  background:none !important;border:0 !important;box-shadow:none !important;opacity:1 !important;transform:none !important;animation:none !important;color:inherit;font:inherit}
:root .profile-card.pca .pca-follow > .cbtn.on::after{content:"Following"}
:root .profile-card.pca .pca-follow > .cbtn.on[title^="Requested"]::after{content:"Requested"}
:root .profile-card.pca .pca-follow > .cbtn.on{background:linear-gradient(180deg,#fff0b8 0,#f7d34a 55%,#e8b623 100%) !important}
.profile-card.pca .pca-follow::after{z-index:1}

/* own profile: Edit profile (glass) + Your stats (gold) */
.pca-btn{position:relative;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:1 1 auto;min-width:0;max-width:200px;height:46px;padding:0 18px;box-sizing:border-box;
  border-radius:999px;border:1px solid transparent;font-family:inherit;font-size:15px;font-weight:700;line-height:1;white-space:nowrap;text-decoration:none;cursor:pointer;transition:transform .2s var(--pca-ease),background-color .2s}
.pca-btn:active{transform:scale(.97)}
.pca-btn span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.pca-btn .pca-i{display:block;flex:none;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.pca-btn-gold{background:linear-gradient(180deg,#ffe27a 0,#f5c518 52%,#e2a90b 100%);color:#1a1306;border-color:rgba(255,232,154,.95);box-shadow:0 8px 22px rgba(245,197,24,.25),inset 0 -2px 0 rgba(138,95,6,.25)}
.pca-btn-glass{background:var(--pca-disc);color:var(--pca-ink);border-color:var(--pca-disc-rim)}
@media (hover:hover){.pca-btn-glass:hover{background:var(--pca-disc-hi)}}
.pca-btn:focus-visible,.pca-follow .cbtn:focus-visible{outline:2px solid var(--pca-gold);outline-offset:3px}

/* ---- Your stats: a sheet that slides up INSIDE the card (its own clipping box, so the card itself keeps overflow visible for the photo and the menus) ---- */
.pca-sheetbox{position:absolute;inset:0;z-index:7;overflow:hidden;border-radius:inherit;pointer-events:none}
.pca-veil{position:absolute;inset:0;background:var(--pca-veil);opacity:0;transition:opacity .4s}
.pca-sheet{position:absolute;left:0;right:0;bottom:0;max-height:calc(100% - 14px);overflow:auto;overscroll-behavior:contain;box-sizing:border-box;text-align:left;
  padding:10px 18px 20px;border-radius:26px 26px 0 0;background:var(--pca-card2);border-top:1px solid color-mix(in srgb,var(--pca-gold) 26%,transparent);
  box-shadow:0 -20px 50px rgba(0,0,0,.5);transform:translateY(104%);visibility:hidden;transition:transform .55s var(--pca-ease),visibility 0s linear .55s}
.profile-card.pca{transition:min-height .55s var(--pca-ease)}
.profile-card.pca.pca-open{min-height:min(720px,calc(100vh - 90px))}
.pca.pca-open .pca-sheetbox{pointer-events:auto}
.pca.pca-open .pca-veil{opacity:1}
.pca.pca-open .pca-sheet{transform:none;visibility:visible;transition:transform .55s var(--pca-ease),visibility 0s}
.pca-grab{width:42px;height:5px;border-radius:9px;background:var(--pca-track);margin:2px auto 12px}
.pca-sh-h{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.pca-sh-h h3{margin:0;font-size:19px;font-weight:800;line-height:1.2;outline:none}
.pca-x{display:grid;place-items:center;flex:none;width:36px;height:36px;padding:0;border-radius:50%;cursor:pointer;color:var(--pca-ink);background:var(--pca-disc);border:1px solid var(--pca-disc-rim);font-size:14px;line-height:1}
.pca-x svg{display:block;width:1em;height:1em}
.pca-lvl{display:flex;align-items:center;gap:14px;padding:14px;border-radius:18px;background:var(--pca-well);border:1px solid var(--pca-rim)}
.pca-ring{display:block;flex:none}
.pca-ring .trk{stroke:var(--pca-track)}
.pca-ring .val{stroke:url(#pca-gring);transition:stroke-dashoffset 1.3s var(--pca-ease)}
.pca-ring text{fill:currentColor;font-size:16px;font-weight:800;font-family:inherit}
.pca-lvl-t{flex:1;min-width:0}
.pca-lvl .t1{font-size:17px;font-weight:800;line-height:1.2}
.pca-lvl .t1 span{color:var(--pca-gold-ink);font-size:12.5px;letter-spacing:.08em;text-transform:uppercase}
.pca-lvl .t2{margin-top:2px;color:var(--pca-mute);font-size:12.5px;line-height:1.35}
.pca-bar{height:8px;border-radius:9px;background:var(--pca-track);overflow:hidden;margin-top:8px}
.pca-bar i,.pca-mini i,.pca-tb u{display:block;height:100%;width:0;border-radius:9px;background:linear-gradient(90deg,#c8920c,#ffd95e);transition:width 1.3s var(--pca-ease)}
.pca-tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.pca-tile{position:relative;min-width:0;padding:12px;border-radius:16px;background:var(--pca-well);border:1px solid var(--pca-rim);overflow:hidden}
.pca-tile .k{color:var(--pca-mute);font-size:11.5px;line-height:1.3}
.pca-tile .num{display:flex;align-items:center;gap:0;margin-top:2px;font-size:22px;font-weight:800;line-height:1.15;font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.pca-tile .num b{font-weight:800}
.pca-tile .num .pca-unit{margin-left:6px}
.pca-tile .d{font-size:11.5px;font-weight:700;color:var(--pca-ok)}
.pca-tile .d.d-dn{color:var(--pca-dn)}
.pca-tile .d.d-q{color:var(--pca-mute);font-weight:600}
.pca-plus{font-weight:800}
.pca-flame{display:block;flex:none;width:20px;height:20px;margin-right:5px;fill:#ff7a2a;transform-origin:50% 90%;animation:pcaFlick 1.6s ease-in-out infinite}
@keyframes pcaFlick{0%,100%{transform:scale(1) rotate(0)}50%{transform:scale(1.08) rotate(-4deg)}}
.pca-spark{display:block;width:100%;height:30px;margin-top:4px;overflow:visible}
.pca-spark .ln{fill:none;stroke:var(--pca-gold);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:100;stroke-dashoffset:100;transition:stroke-dashoffset 1.4s var(--pca-ease) .2s}
.pca-spark .ar{fill:color-mix(in srgb,var(--pca-gold) 22%,transparent);opacity:0;transition:opacity .8s .9s}
.pca-go.go .pca-spark .ln{stroke-dashoffset:0}
.pca-go.go .pca-spark .ar{opacity:1}
.pca-lbl{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:16px 0 6px;font-size:10.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--pca-mute)}
.pca-lbl-r{letter-spacing:.02em;text-transform:none;font-size:11.5px;font-weight:600;text-align:right}
.pca-tasks{list-style:none;margin:0;padding:0}
.pca-task{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--pca-rim);font-size:13.5px}
.pca-task:last-child{border-bottom:0}
.pca-box{display:grid;place-items:center;flex:none;width:22px;height:22px;box-sizing:border-box;border-radius:7px;border:1.5px solid var(--pca-disc-rim);transition:background-color .3s,border-color .3s}
.pca-box svg{display:block;width:14px;height:14px;fill:none;stroke:#1a1306;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:24;stroke-dashoffset:24;transition:stroke-dashoffset .45s var(--pca-ease)}
.pca-task.go .pca-box{background:var(--pca-gold);border-color:var(--pca-gold)}
.pca-task.go .pca-box svg{stroke-dashoffset:0}
.pca-tx{flex:1;min-width:0}
.pca-tx b{display:block;font-weight:650}
.pca-task.is-done .pca-tx b{color:var(--pca-mute)}
.pca-tb{display:block;height:4px;margin-top:6px;border-radius:9px;background:var(--pca-track);overflow:hidden}
.pca-tc{flex:none;color:var(--pca-mute);font-size:12px;font-variant-numeric:tabular-nums}
.pca-xp{flex:none;color:var(--pca-gold-ink);font-weight:700;font-size:12.5px;white-space:nowrap}
.pca-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.pca-nexts{display:flex;flex-direction:column}
.pca-next{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0 4px;font-size:13.5px}
.pca-nexts > .pca-next:not(:first-child){border-top:1px solid var(--pca-rim)}
.pca-nexts > .pca-nsub + .pca-next{border-top:1px solid var(--pca-rim)}
.pca-nk{display:flex;align-items:center;gap:8px;min-width:0;font-weight:650}
.pca-nk img,.pca-nk svg{display:block;flex:none}
.pca-nv{display:flex;align-items:center;gap:10px;flex:none;color:var(--pca-mute);font-size:12.5px}
.pca-nv b{color:var(--pca-ink);font-variant-numeric:tabular-nums}
.pca-nsub{padding:0 0 8px;color:var(--pca-mute);font-size:12px}
.pca-mini{display:block;width:70px;height:5px;border-radius:9px;background:var(--pca-track);overflow:hidden}
.pca-orb{display:block;flex:none;width:15px;height:15px;border-radius:50%;background:radial-gradient(circle at 34% 30%,#fff1d6 0,#ffb36b 30%,#e8661c 75%,#9e3f08 100%);box-shadow:0 0 10px rgba(240,123,42,.55)}
.pca-ach .pbx{display:block}
:root .profile-card.pca .pca-ach .pbx-btn{display:flex !important;align-items:center;justify-content:center;gap:8px;width:100% !important;height:42px !important;padding:0 14px !important;border-radius:14px !important;
  background:var(--pca-well) !important;border:1px solid var(--pca-rim) !important;box-shadow:none !important;color:var(--pca-ink) !important;font-family:inherit;font-size:13.5px;font-weight:700}
:root .profile-card.pca .pca-ach .pbx-btn::before{display:none !important}
:root .profile-card.pca .pca-ach .pbx-btn::after{content:"Show your badges";position:static !important;display:block !important;width:auto !important;height:auto !important;background:none !important;border:0 !important;box-shadow:none !important;opacity:1 !important;transform:none !important;animation:none !important;color:inherit}
:root .profile-card.pca .pca-ach .pbx-btn[aria-expanded="true"]::after{content:"Hide your badges"}
:root .profile-card.pca .pca-ach .pbx-btn svg{display:block;flex:none;width:18px !important;height:18px !important}
.profile-card.pca .pca-ach .pbx-list{margin-top:10px}
.pca-sh-acts{display:flex;gap:10px;margin-top:16px}
.pca-sh-acts .pca-btn{max-width:none;height:42px;font-size:14px}

/* ---- motion ---- */
@keyframes pcaTurn{to{transform:rotate(1turn)}}
.pca-avrow,.pca-id,.pca-titles,.pca-about,.pca-stats,.pca-chips,.pca-acts{animation:pcaRise .7s var(--pca-ease) both}
.pca-id{animation-delay:.07s}.pca-titles{animation-delay:.14s}.pca-about{animation-delay:.21s}.pca-stats{animation-delay:.28s}.pca-chips{animation-delay:.35s}.pca-acts{animation-delay:.42s}
@keyframes pcaRise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
/* off screen: every loop holds still (profile-aurora.js) */
.profile-card.pca.pca-idle :is(.pca-spin,.pca-pin svg,.pca-tpill,.pca-flame,.pf-champ),.profile-card.pca.pca-idle .pca-pin::after,.profile-card.pca.pca-idle :is(.pca-tpill,.pca-sheen,.pca-follow)::after,
.profile-cover.pca-cover.pca-idle .pf-cover-img,.profile-cover.pca-cover.pca-idle::before{animation-play-state:paused !important}
@media (prefers-reduced-motion:reduce){
  .profile-card.pca *,.profile-card.pca *::before,.profile-card.pca *::after,.profile-cover.pca-cover::before{animation:none !important}
  .profile-card.pca{transition:none !important}
  .profile-card.pca :is(.pca-sheet,.pca-veil,.pca-bar i,.pca-mini i,.pca-tb u,.pca-ring .val,.pca-spark .ln,.pca-spark .ar,.pca-box,.pca-box svg){transition:none !important}
}

/* ---- phones ---- */
@media (max-width:600px){
  .profile-card.pca,.profile-cover.pca-cover{--pca-av:104px}
  .profile-card.pca .pca-namerow .pf-name{font-size:22px}
}
@media (max-width:430px){
  .pca-acts .pca-btn-glass .pca-i{display:none}
  .pca-btn{padding:0 16px}
}
@media (max-width:380px){
  .profile-card.pca .pca-acts{gap:8px}
  :root .profile-card.pca .pca-acts > :is(.cbtn,.pfa-g > .pfa-t),:root .profile-card.pca .pca-acts > .pfa-g > .pfa-t,:root .profile-card.pca .pca-acts > .pbx > .pbx-btn{width:42px !important;height:42px !important}
  :root .profile-card.pca .pca-follow > .cbtn,:root .profile-card.pca .pca-acts > .pca-golab{height:42px !important;padding:0 14px !important;font-size:14px;gap:6px}
  .pca-btn{height:42px;padding:0 14px;font-size:14px;gap:6px}
  .pca-st > :is(b,strong){font-size:19px}
  .pca-st > span{font-size:9.5px;letter-spacing:.08em}
}
@media (max-width:350px){
  .wrap .glass.card.profile-card.pca,.profile-card.pca{padding:0 14px 18px !important}
  .pca-acts .pca-btn .pca-i{display:none}
  :root .profile-card.pca .pca-follow > .cbtn svg{display:none}
  .pca-tiles{gap:8px}
  .pca-tile{padding:10px}
  .pca-tile .num{font-size:19px}
  .pca-st > span{font-size:9px;letter-spacing:.03em}
  .pca-st > :is(b,strong){font-size:18px}
}

/* ==== PCABTN1127 (Rob 2026-11-27, his own profile: "Make the edit profile and your stats buttons look, how to rank up, see all ranks look premium and
   modern"). One button language for the card and the Your stats sheet, built to his standing rules: ONE even rim (no top hairline, no bottom shade
   line), a soft glow INSIDE that never touches the rim (padding-box), no blurred backdrop. Gold = a deeper three-stop gold, a warm glow under it and
   the passing light; glass = a quiet dark well with a gold-tinted rim and a gold icon. Same shape for "Show your badges". ==== */
:root:root .profile-card.pca .pca-btn{height:48px;border-radius:999px;font-weight:800;font-size:15px;letter-spacing:.005em;gap:9px;border-width:1px;border-style:solid;
  transition:transform .2s var(--pca-ease),box-shadow .25s,background-color .25s,border-color .25s}
:root:root .profile-card.pca .pca-btn .pca-i{width:18px;height:18px;stroke-width:2.3}
:root:root .profile-card.pca .pca-btn-gold{color:#1d1505;border-color:rgba(255,226,140,.95);
  background:radial-gradient(70% 55% at 50% 32%,rgba(255,250,225,.55) 0,rgba(255,250,225,0) 100%) padding-box,linear-gradient(180deg,#ffe58c 0,#f5c518 48%,#d9a00a 100%) padding-box;
  box-shadow:0 10px 26px -8px rgba(245,197,24,.55),0 2px 6px rgba(120,80,0,.25)}
@media (hover:hover){:root:root .profile-card.pca .pca-btn-gold:hover{box-shadow:0 14px 32px -8px rgba(245,197,24,.7),0 2px 6px rgba(120,80,0,.25)}}
:root:root .profile-card.pca .pca-btn-glass{color:var(--pca-ink);border-color:rgba(255,226,160,.30);
  background:radial-gradient(62% 48% at 50% 34%,rgba(255,255,255,.09) 0,rgba(255,255,255,0) 100%) padding-box,linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025)) padding-box;
  box-shadow:0 8px 20px -12px rgba(0,0,0,.6)}
:root:root .profile-card.pca .pca-btn-glass .pca-i{color:var(--pca-gold-ink)}
@media (hover:hover){:root:root .profile-card.pca .pca-btn-glass:hover{border-color:rgba(255,226,160,.5);background:radial-gradient(62% 48% at 50% 34%,rgba(255,255,255,.13) 0,rgba(255,255,255,0) 100%) padding-box,linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.035)) padding-box}}
:root:root .profile-card.pca .pca-btn:active{transform:scale(.97)}
/* the sheet's pair: the same height and shape as the card's */
:root:root .profile-card.pca .pca-sh-acts .pca-btn{height:48px;font-size:15px}
/* Show your badges: the glass button's twin */
:root:root .profile-card.pca .pca-ach .pbx-btn{height:48px !important;border-radius:999px !important;border:1px solid rgba(255,226,160,.30) !important;
  background:radial-gradient(62% 48% at 50% 34%,rgba(255,255,255,.09) 0,rgba(255,255,255,0) 100%) padding-box,linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025)) padding-box !important;box-shadow:0 8px 20px -12px rgba(0,0,0,.6) !important}
/* light site */
:root:root[data-theme="light"] .profile-card.pca .pca-btn-glass,:root:root[data-theme="light"] .profile-card.pca .pca-ach .pbx-btn{color:var(--pca-ink);border-color:rgba(184,134,11,.42) !important;
  background:radial-gradient(62% 48% at 50% 34%,rgba(255,236,180,.35) 0,rgba(255,236,180,0) 100%) padding-box,linear-gradient(180deg,#ffffff,#fbf7ee) padding-box !important;box-shadow:0 8px 18px -12px rgba(60,45,10,.45) !important}
:root:root[data-theme="light"] .profile-card.pca .pca-btn-gold{box-shadow:0 10px 24px -10px rgba(200,150,10,.6),0 2px 5px rgba(120,80,0,.18)}
/* PCABTN1127: Edit profile and Your stats share the row's width, so the ... disc never wraps (they shrink together; the words ellipsis only if a phone is very narrow) */
:root:root .profile-card.pca .pca-acts > .pca-btn{flex:1 1 0;max-width:none;padding:0 12px;gap:7px;font-size:14.5px}
:root:root .profile-card.pca .pca-acts > .pca-btn .pca-i{width:16px;height:16px}
@media (max-width:395px){:root:root .profile-card.pca .pca-acts > .pca-btn .pca-i{display:none}}
/* ==== /PCABTN1127 ==== */

/* ==== PCAGLASS1127 (Rob 2026-11-27 on his own profile: "The followers and following text comes too close to the lines and needs more responsive side
   margin. And in the border that's on the bottom and left and right of the profile doesn't look good and ruins the glass iOS liquid glass design") ====
   1. THE CARD HAS NO OUTLINE: the 1 px rim on its sides and bottom is gone (his standing rule, 11-06: no hairlines on glass); depth = a soft shadow.
   2. THE NUMBERS' LABELS FIT THEIR COLUMN: the well is a size container; the uppercase labels tighten their size and letter-spacing as the
      columns narrow, and each column keeps 10 px clear of the gold dividers. */
:root:root .wrap .glass.card.profile-card.pca,:root:root .profile-card.pca{border:0 !important;
  box-shadow:0 24px 60px -28px rgba(0,0,0,.75),0 8px 24px -16px rgba(0,0,0,.5) !important}
:root:root[data-theme="light"] .wrap .glass.card.profile-card.pca,:root:root[data-theme="light"] .profile-card.pca{box-shadow:0 24px 50px -30px rgba(60,45,10,.45),0 8px 20px -14px rgba(60,45,10,.25) !important}
.profile-card.pca .pca-stats{container-type:inline-size}
.profile-card.pca .pca-st{padding:0 10px;box-sizing:border-box}
.profile-card.pca .pca-st > span{max-width:100%;overflow:hidden;text-overflow:clip}
@container (max-width:420px){.profile-card.pca .pca-stats.has-views .pca-st > span{font-size:9.5px;letter-spacing:.06em}}
@container (max-width:350px){.profile-card.pca .pca-stats.has-views .pca-st > span{font-size:9px;letter-spacing:.03em}.profile-card.pca .pca-stats.has-views .pca-st{padding:0 8px}}
@container (max-width:325px){.profile-card.pca .pca-stats.has-views .pca-st > span{letter-spacing:0}.profile-card.pca .pca-stats.has-views .pca-st{padding:0 6px}}
@container (max-width:300px){.profile-card.pca .pca-stats .pca-st > span{font-size:9px;letter-spacing:.02em}}
/* ==== /PCAGLASS1127 ==== */

/* ==== PCASHEET1127 (Rob 2026-11-27, Your stats open on his profile: "The panel looks elementary and not premium, and there's artifacts at the top,
   like a weird shadow, just doesn't look right"). The sheet was drawn INSIDE the card (the card grew to hold it, its veil covered only the card's
   body, so the photo, ring and medal were cut under a dark band). Now it is a real sheet: pinned to the SCREEN (position:fixed; the card is not
   transformed, so fixed is the viewport), the whole page dims, it rises from the bottom edge, the page behind does not scroll (html.pca-lock).
   Premium finish, by his rules: no lines anywhere inside it (no rims, no separators), depth from soft glass wells with an inner glow that never
   touches an edge, a bigger level ring with a gold glow, change figures as small pills, no blurred backdrop. ==== */
html.pca-lock,html.pca-lock body{overflow:hidden !important}
:root:root .profile-card.pca.pca-open{min-height:0}
:root:root .profile-card.pca .pca-sheetbox{position:fixed;inset:0;z-index:2147483000;border-radius:0}
:root:root .profile-card.pca .pca-veil{background:rgba(4,3,7,.72)}
:root:root .profile-card.pca .pca-sheet{left:50%;right:auto;width:min(100%,560px);transform:translate(-50%,104%);max-height:min(88vh,calc(100% - 40px));
  padding:10px 20px calc(24px + env(safe-area-inset-bottom,0px));border-radius:30px 30px 0 0;border:0;
  background:radial-gradient(120% 46% at 50% 0%,rgba(245,197,24,.13),rgba(245,197,24,0) 62%),linear-gradient(180deg,#1d1923 0,#141118 55%,#100e13 100%);
  box-shadow:0 -24px 80px rgba(0,0,0,.6)}
:root:root .profile-card.pca.pca-open .pca-sheet{transform:translate(-50%,0)}
:root:root .profile-card.pca .pca-grab{width:44px;height:5px;background:rgba(255,255,255,.22);margin:4px auto 14px}
:root:root .profile-card.pca .pca-sh-h{margin-bottom:16px}
:root:root .profile-card.pca .pca-sh-h h3{font-size:24px;letter-spacing:-.015em}
:root:root .profile-card.pca .pca-x{width:40px;height:40px;border:1px solid rgba(255,226,160,.28);background:radial-gradient(62% 48% at 50% 34%,rgba(255,255,255,.1),rgba(255,255,255,0)) padding-box,rgba(255,255,255,.05) padding-box}
/* the wells: one glass recipe, no rim */
:root:root .profile-card.pca :is(.pca-lvl,.pca-tile){border:0;border-radius:22px;
  background:radial-gradient(90% 60% at 50% 0%,rgba(255,255,255,.07),rgba(255,255,255,0) 70%),rgba(255,255,255,.035);box-shadow:0 10px 30px -18px rgba(0,0,0,.7)}
/* the level: the hero of the sheet */
:root:root .profile-card.pca .pca-lvl{padding:18px;gap:18px;background:radial-gradient(70% 90% at 12% 50%,rgba(245,197,24,.16),rgba(245,197,24,0) 70%),radial-gradient(90% 60% at 50% 0%,rgba(255,255,255,.07),rgba(255,255,255,0) 70%),rgba(255,255,255,.035)}
:root:root .profile-card.pca .pca-lvl .pca-ring{width:84px;height:84px}
:root:root .profile-card.pca .pca-lvl .pca-ring{overflow:visible;filter:drop-shadow(0 0 7px rgba(245,197,24,.38))}
:root:root .profile-card.pca .pca-lvl .pca-ring text{font-size:17px}
:root:root .profile-card.pca .pca-lvl .t1{font-size:20px;letter-spacing:-.01em}
:root:root .profile-card.pca .pca-lvl .t1 span{font-size:12px;letter-spacing:.14em}
:root:root .profile-card.pca .pca-lvl .t2{font-size:13px;margin-top:4px}
:root:root .profile-card.pca .pca-bar{height:10px;margin-top:12px;background:rgba(255,255,255,.08)}
:root:root .profile-card.pca .pca-bar i{position:relative;background:linear-gradient(90deg,#c8920c,#f5c518 60%,#ffe58c);box-shadow:0 0 12px rgba(245,197,24,.45)}
/* the tiles */
:root:root .profile-card.pca .pca-tiles{gap:12px;margin-top:12px}
:root:root .profile-card.pca .pca-tile{padding:16px}
:root:root .profile-card.pca .pca-tile .k{font-size:12px;font-weight:600;letter-spacing:.01em}
:root:root .profile-card.pca .pca-tile .num{font-size:28px;margin-top:6px;letter-spacing:-.02em}
:root:root .profile-card.pca .pca-tile .d{display:inline-flex;align-items:center;margin-top:8px;padding:3px 9px;border-radius:999px;font-size:11.5px;line-height:1.3;background:rgba(52,210,123,.14)}
:root:root .profile-card.pca .pca-tile .d.d-dn{background:rgba(255,123,123,.14)}
:root:root .profile-card.pca .pca-tile .d.d-q{background:rgba(255,255,255,.06)}
:root:root .profile-card.pca .pca-spark{height:36px;margin-top:10px}
:root:root .profile-card.pca .pca-spark .ln{stroke-width:2.2}
:root:root .profile-card.pca .pca-spark{overflow:visible;filter:drop-shadow(0 0 4px rgba(245,197,24,.3))}
:root:root .profile-card.pca .pca-spark .ar{fill:rgba(245,197,24,.16)}
/* sections, tasks and next up: rows on glass, no separators */
:root:root .profile-card.pca .pca-lbl{margin:22px 2px 10px;font-size:11px;color:var(--pca-gold-ink);letter-spacing:.16em}
:root:root .profile-card.pca .pca-lbl-r{color:var(--pca-mute)}
:root:root .profile-card.pca .pca-tasks{display:flex;flex-direction:column;gap:8px}
:root:root .profile-card.pca .pca-task{border:0;padding:14px;border-radius:18px;background:radial-gradient(90% 70% at 50% 0%,rgba(255,255,255,.06),rgba(255,255,255,0) 70%),rgba(255,255,255,.03)}
:root:root .profile-card.pca .pca-box{width:24px;height:24px;border-radius:8px;border-color:rgba(255,226,160,.35)}
:root:root .profile-card.pca .pca-tb{height:5px;margin-top:8px;background:rgba(255,255,255,.08)}
:root:root .profile-card.pca .pca-xp{padding:4px 9px;border-radius:999px;background:rgba(245,197,24,.12)}
:root:root .profile-card.pca .pca-nexts{gap:8px}
:root:root .profile-card.pca .pca-nexts > :is(.pca-next,.pca-nsub){border:0 !important}
:root:root .profile-card.pca .pca-nexts > .pca-next{padding:14px 14px 4px;border-radius:18px 18px 0 0;background:rgba(255,255,255,.03)}
:root:root .profile-card.pca .pca-nexts > .pca-nsub{padding:0 14px 14px;border-radius:0 0 18px 18px;background:rgba(255,255,255,.03);margin-top:-8px}
:root:root .profile-card.pca .pca-nexts > .pca-next:not(:has(+ .pca-nsub)){padding-bottom:14px;border-radius:18px}
/* light site */
:root:root[data-theme="light"] .profile-card.pca .pca-veil{background:rgba(40,30,10,.38)}
:root:root[data-theme="light"] .profile-card.pca .pca-sheet{background:radial-gradient(120% 46% at 50% 0%,rgba(245,197,24,.16),rgba(245,197,24,0) 62%),linear-gradient(180deg,#fffdf7,#fbf7ee);box-shadow:0 -24px 70px rgba(60,45,10,.28)}
:root:root[data-theme="light"] .profile-card.pca .pca-grab{background:rgba(60,45,10,.18)}
:root:root[data-theme="light"] .profile-card.pca :is(.pca-lvl,.pca-tile,.pca-task,.pca-nexts > .pca-next,.pca-nexts > .pca-nsub){background:#ffffff;box-shadow:0 10px 26px -18px rgba(60,45,10,.45)}
:root:root[data-theme="light"] .profile-card.pca .pca-lvl{background:radial-gradient(70% 90% at 12% 50%,rgba(245,197,24,.18),rgba(245,197,24,0) 70%),#ffffff}
:root:root[data-theme="light"] .profile-card.pca .pca-nexts > .pca-nsub{box-shadow:none}
:root:root[data-theme="light"] .profile-card.pca .pca-box{border-color:rgba(184,134,11,.5)}
:root:root[data-theme="light"] .profile-card.pca .pca-x{border-color:rgba(184,134,11,.4);background:#ffffff}
:root:root[data-theme="light"] .profile-card.pca :is(.pca-bar,.pca-tb){background:rgba(60,45,10,.09)}
/* ==== /PCASHEET1127 ==== */

/* ==== PCACHAN1127 (Rob 2026-11-27: "I also want a noticeable red themed button linking to the channel of the user"). The video channel
   (/videos/c/<username>) was only an icon inside "...". Now a full-width red pill under the buttons: the gold button's recipe in red
   (one even rim, a soft top glow kept inside the rim, a red glow below), a white play disc, the video count as a chip. ==== */
.profile-card.pca .pca-chanbtn{position:relative;display:flex;align-items:center;justify-content:center;gap:10px;align-self:center;width:100%;max-width:420px;height:48px;margin:12px auto 0;padding:0 8px 0 16px;box-sizing:border-box;
  border-radius:999px;border:1px solid rgba(255,160,165,.42);color:#fff;font-weight:800;font-size:15.5px;letter-spacing:.005em;text-decoration:none;-webkit-tap-highlight-color:transparent;
  background:radial-gradient(70% 70% at 50% 8%,rgba(255,255,255,.26),rgba(255,255,255,0) 72%) padding-box,linear-gradient(180deg,#ff5462 0,#ec1f33 52%,#c4122a 100%) padding-box;
  box-shadow:0 10px 26px -8px rgba(255,36,58,.6);text-shadow:0 1px 1px rgba(120,0,15,.35);animation:pcaRise .7s var(--pca-ease) both;transition:transform .15s,box-shadow .2s}
.profile-card.pca .pca-chanbtn .pca-chplay{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(120,0,15,.3)}
.profile-card.pca .pca-chanbtn .pca-chplay svg{display:block;width:12px;height:12px;margin-left:2px;fill:#e81c31}
.profile-card.pca .pca-chanbtn .pca-cht{flex:0 1 auto;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.profile-card.pca .pca-chanbtn .pca-chn{flex:none;margin-left:auto;padding:5px 11px;border-radius:999px;font-size:12.5px;font-weight:700;letter-spacing:0;text-shadow:none;background:rgba(90,0,12,.28)}
.profile-card.pca .pca-chanbtn .pca-chgo{flex:none;width:18px;height:18px;margin-right:6px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;opacity:.9}
.profile-card.pca .pca-chanbtn:not(:has(.pca-chn)) .pca-chgo{margin-left:auto}
.profile-card.pca .pca-chanbtn .pca-chlead{display:flex;align-items:center;gap:10px;min-width:0;margin-left:auto}
.profile-card.pca .pca-chanbtn:has(.pca-chn) .pca-chlead{margin-left:0}
@media (hover:hover){.profile-card.pca .pca-chanbtn:hover{box-shadow:0 12px 30px -8px rgba(255,36,58,.75)}}
.profile-card.pca .pca-chanbtn:active{transform:scale(.97)}
:root:root[data-theme="light"] .profile-card.pca .pca-chanbtn{box-shadow:0 10px 24px -10px rgba(220,20,45,.55)}
/* ==== /PCACHAN1127 ==== */

/* ==== PCAPREMIUM1127 (Rob 2026-11-27, with the old card's "39W . 3D" and "Family" pills: "I want the new profile card buttons to have a premium look like this").
   THE PREMIUM PILL (rova.css 8i, the old card's battles / rank / family pills) on the new card: the dark jewel body (--pp-body) inside a metal rim cast from
   each one's OWN colour (battles live red, rank gold, family its colour, gifter its tier), with the plain lift shadow. The card had flattened them into its
   own glass chips; now they are the old pills again. The buttons wear the same recipe: Edit profile, See all ranks, Show your badges and the round buttons
   (..., Message, Achievements, Mention) = jewel body + gold metal rim + gold icon; the gold buttons (Your stats, Follow, How to rank up) keep their gold fill
   inside a struck-gold rim; the red channel button keeps its red inside a red metal rim. ==== */
:root:root:root .profile-card.pca .pca-chips > :is(.pf-battles,.gfl-pill,.fam-pill,.fc-pill,.court-pill,.rk-pill){border:var(--pp-rim-w) solid transparent !important;background:var(--pp-body) padding-box no-repeat,linear-gradient(180deg,color-mix(in srgb,var(--pc,#f5c518) 45%,#fff) 0%,var(--pc,#f5c518) 30%,color-mix(in srgb,var(--pc,#f5c518) 72%,#000) 62%,color-mix(in srgb,var(--pc,#f5c518) 38%,#000) 100%) border-box no-repeat !important;box-shadow:var(--pp-sh) !important}
:root:root:root .profile-card.pca .pca-chips > .pf-battles{--pc:var(--live,#ff3b4a)}
:root:root:root .profile-card.pca .pca-chips > .gfl-pill{--pc:var(--gfl-c,#f5c518)}
:root:root:root .profile-card.pca .pca-chips > .rk-pill{--pc:#f5c518}
:root:root:root .profile-card.pca .pca-chips > .fam-pill{--pc:var(--fam-c,#c9c9d1)}
:root:root:root .profile-card.pca .pca-chips > .fc-pill{--pc:#f5c518}
:root:root:root .profile-card.pca .pca-chips > .court-pill{--pc:#ff5a6a}
@media (hover:hover){:root:root:root .profile-card.pca .pca-chips > :is(.pf-battles,.gfl-pill,.fam-pill,.fc-pill,.court-pill,.rk-pill):hover{box-shadow:var(--pp-sh),0 6px 16px color-mix(in srgb,var(--pc,#f5c518) 26%,transparent) !important}}
:root:root:root .profile-card.pca .pca-acts > :is(.cbtn:not(.pca-golab),.pfa-g > .pfa-t,.pbx > .pbx-btn),:root:root:root .profile-card.pca .pca-btn-glass,:root:root:root .profile-card.pca .pca-ach .pbx-btn{border:var(--pp-rim-w) solid transparent !important;background:var(--pp-body) padding-box no-repeat,var(--pp-rim) border-box no-repeat !important;box-shadow:var(--pp-sh) !important}
:root:root:root .profile-card.pca .pca-acts > :is(.cbtn:not(.pca-golab),.pfa-g > .pfa-t,.pbx > .pbx-btn){color:var(--pp-ink) !important}
:root:root:root .profile-card.pca .pca-btn-glass .pca-i{color:var(--pp-ink)}
@media (hover:hover){,:root:root:root .profile-card.pca .pca-btn-glass:hover,:root:root:root .profile-card.pca .pca-ach .pbx-btn:hover{background:var(--pp-body) padding-box no-repeat,var(--pp-rim-on) border-box no-repeat !important;box-shadow:var(--pp-sh),var(--pp-glow) !important}}
:root:root:root .profile-card.pca :is(.pca-btn-gold,.pca-follow > .cbtn:not(.on),.pca-acts > .pca-golab){border:var(--pp-rim-w) solid transparent !important;
  background:radial-gradient(62% 60% at 50% 18%,rgba(255,255,255,.35),rgba(255,255,255,0) 70%) padding-box no-repeat,linear-gradient(180deg,#ffe27a 0,#f5c518 52%,#e2a90b 100%) padding-box no-repeat,var(--pp-rim-on) border-box no-repeat !important}
:root:root:root .profile-card.pca .pca-follow > .cbtn.on{border:var(--pp-rim-w) solid transparent !important;background:var(--pp-body) padding-box no-repeat,var(--pp-rim) border-box no-repeat !important;color:var(--pp-ink) !important;box-shadow:var(--pp-sh) !important}
:root:root:root .profile-card.pca .pca-follow > .cbtn.on::after{color:var(--pca-ink)}
:root:root:root .profile-card.pca .pca-chanbtn{border:var(--pp-rim-w) solid transparent;
  background:radial-gradient(70% 70% at 50% 8%,rgba(255,255,255,.26),rgba(255,255,255,0) 72%) padding-box no-repeat,linear-gradient(180deg,#ff5462 0,#ec1f33 52%,#c4122a 100%) padding-box no-repeat,linear-gradient(180deg,color-mix(in srgb,#ff4a5a 45%,#fff) 0%,#ff4a5a 30%,color-mix(in srgb,#ff4a5a 72%,#000) 62%,color-mix(in srgb,#ff4a5a 38%,#000) 100%) border-box no-repeat}
/* the rank pill keeps its own black-and-gold body on both sites (rova.css .pf-chips>.rk-pill), so its words stay gold */
:root:root:root .profile-card.pca .pca-chips > .rk-pill,:root:root:root .profile-card.pca .pca-chips > .rk-pill .rk-lv{color:#ffe08a !important}
/* "..." sits inside .pfa-more and the Achievements disc inside .pbx: reach them wherever they sit in the row */
:root:root:root .profile-card.pca .pca-acts :is(.pfa-t,.pbx-btn){border:var(--pp-rim-w) solid transparent !important;background:var(--pp-body) padding-box no-repeat,var(--pp-rim) border-box no-repeat !important;box-shadow:var(--pp-sh) !important;color:var(--pp-ink) !important}
@media (hover:hover){:root:root:root .profile-card.pca .pca-acts :is(.pfa-t,.pbx-btn):hover{background:var(--pp-body) padding-box no-repeat,var(--pp-rim-on) border-box no-repeat !important;box-shadow:var(--pp-sh),var(--pp-glow) !important}}
/* ==== /PCAPREMIUM1127 ==== */

/* ==== PCAMEDAL1127 (Rob 2026-11-27: "Ribbon size match the original way it looks here", the old card's 51 x 63): the new card's ribbon at the same size, its foot where it was ==== */
:root:root .profile-card.pca .pca-medal{width:51px;height:63px;top:calc(var(--pca-av) - 59px);left:min(calc(50% + var(--pca-av) / 2 - 12px),calc(100% - 51px))}
:root:root .profile-card.pca .pca-medal .pf-champ,:root:root .profile-card.pca .pca-medal .pf-champ :is(picture,.pf-champ-img,.pf-champ-cv){width:51px !important;height:63px !important}

/* ==== PCASHEETB1127 (Rob 2026-11-27 picked stats panel B of the mocks: premium pills + rimmed panels) ==== */
/* option A: premium pills on every small control */
:root:root .profile-card.pca .pca-x{border:var(--pp-rim-w) solid transparent !important;background:var(--pp-body) padding-box no-repeat,linear-gradient(180deg,color-mix(in srgb,#f5c518 45%,#fff) 0%,#f5c518 30%,color-mix(in srgb,#f5c518 72%,#000) 62%,color-mix(in srgb,#f5c518 38%,#000) 100%) border-box no-repeat !important;box-shadow:var(--pp-sh);color:#f5c518}
:root:root .profile-card.pca .pca-lvl .t1{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 15px;border-radius:999px;font-size:16px;border:var(--pp-rim-w) solid transparent !important;background:var(--pp-body) padding-box no-repeat,linear-gradient(180deg,color-mix(in srgb,#f5c518 45%,#fff) 0%,#f5c518 30%,color-mix(in srgb,#f5c518 72%,#000) 62%,color-mix(in srgb,#f5c518 38%,#000) 100%) border-box no-repeat !important;box-shadow:var(--pp-sh)}
:root:root .profile-card.pca .pca-lvl .t1::before{content:'';width:14px;height:14px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff3c4,#f5c518 45%,#a9760a);box-shadow:0 0 8px rgba(245,197,24,.6)}
:root:root .profile-card.pca .pca-lvl .t1 span{font-size:12.5px;color:#f5c518}
:root:root .profile-card.pca .pca-lvl .t2{margin-top:10px}
:root:root .profile-card.pca .pca-tile .d{height:28px;padding:0 12px;font-weight:800;color:#3ddc84;border:var(--pp-rim-w) solid transparent !important;background:var(--pp-body) padding-box no-repeat,linear-gradient(180deg,color-mix(in srgb,#34d27b 45%,#fff) 0%,#34d27b 30%,color-mix(in srgb,#34d27b 72%,#000) 62%,color-mix(in srgb,#34d27b 38%,#000) 100%) border-box no-repeat !important;box-shadow:var(--pp-sh)}
:root:root .profile-card.pca .pca-tile .d.d-q{color:#f5c518;border:var(--pp-rim-w) solid transparent !important;background:var(--pp-body) padding-box no-repeat,linear-gradient(180deg,color-mix(in srgb,#f5c518 45%,#fff) 0%,#f5c518 30%,color-mix(in srgb,#f5c518 72%,#000) 62%,color-mix(in srgb,#f5c518 38%,#000) 100%) border-box no-repeat !important;box-shadow:var(--pp-sh)}
:root:root .profile-card.pca .pca-tile .d.d-dn{color:#ff7b7b;border:var(--pp-rim-w) solid transparent !important;background:var(--pp-body) padding-box no-repeat,linear-gradient(180deg,color-mix(in srgb,#ff5a66 45%,#fff) 0%,#ff5a66 30%,color-mix(in srgb,#ff5a66 72%,#000) 62%,color-mix(in srgb,#ff5a66 38%,#000) 100%) border-box no-repeat !important;box-shadow:var(--pp-sh)}
:root:root .profile-card.pca .pca-xp{display:inline-flex;align-items:center;height:30px;padding:0 12px;font-weight:800;color:#ffe08a;border:var(--pp-rim-w) solid transparent !important;background:var(--pp-body) padding-box no-repeat,linear-gradient(180deg,color-mix(in srgb,#f5c518 45%,#fff) 0%,#f5c518 30%,color-mix(in srgb,#f5c518 72%,#000) 62%,color-mix(in srgb,#f5c518 38%,#000) 100%) border-box no-repeat !important;box-shadow:var(--pp-sh)}
:root:root .profile-card.pca .pca-box{border-radius:9px;border:var(--pp-rim-w) solid transparent !important;background:var(--pp-body) padding-box no-repeat,linear-gradient(180deg,color-mix(in srgb,#f5c518 45%,#fff) 0%,#f5c518 30%,color-mix(in srgb,#f5c518 72%,#000) 62%,color-mix(in srgb,#f5c518 38%,#000) 100%) border-box no-repeat !important;box-shadow:var(--pp-sh)}
:root:root .profile-card.pca .pca-sh-acts .pca-btn-glass,:root:root .profile-card.pca .pca-ach .pbx-btn{color:#fff;border:var(--pp-rim-w) solid transparent !important;background:var(--pp-body) padding-box no-repeat,linear-gradient(180deg,color-mix(in srgb,#f5c518 45%,#fff) 0%,#f5c518 30%,color-mix(in srgb,#f5c518 72%,#000) 62%,color-mix(in srgb,#f5c518 38%,#000) 100%) border-box no-repeat !important;box-shadow:var(--pp-sh)}
:root:root[data-theme="light"] .profile-card.pca .pca-sh-acts .pca-btn-glass,:root:root[data-theme="light"] .profile-card.pca .pca-ach .pbx-btn{color:#1a1306}
:root:root[data-theme="light"] .profile-card.pca .pca-xp{color:#8a5f06}
:root:root[data-theme="light"] .profile-card.pca .pca-tile .d{color:#13804a}
/* option B: the panels wear the premium rim too */
:root:root .profile-card.pca :is(.pca-lvl,.pca-tile,.pca-task,.pca-nexts > .pca-next){border-radius:22px;border:var(--pp-rim-w) solid transparent !important;background:var(--pp-body) padding-box no-repeat,linear-gradient(180deg,color-mix(in srgb,color-mix(in srgb,#f5c518 70%,#3a2a08) 45%,#fff) 0%,color-mix(in srgb,#f5c518 70%,#3a2a08) 30%,color-mix(in srgb,color-mix(in srgb,#f5c518 70%,#3a2a08) 72%,#000) 62%,color-mix(in srgb,color-mix(in srgb,#f5c518 70%,#3a2a08) 38%,#000) 100%) border-box no-repeat !important;box-shadow:var(--pp-sh)}
:root:root .profile-card.pca .pca-lvl{background:radial-gradient(70% 90% at 12% 50%,rgba(245,197,24,.14),rgba(245,197,24,0) 70%) padding-box,var(--pp-body) padding-box,linear-gradient(180deg,#ffe89a 0%,#f5c518 26%,#c9971c 54%,#a9760a 74%,#4a3308 100%) border-box !important;box-shadow:var(--pp-sh),0 8px 24px -10px rgba(245,197,24,.35)}
:root:root .profile-card.pca .pca-tile:has(.pca-flame){border:var(--pp-rim-w) solid transparent !important;background:var(--pp-body) padding-box no-repeat,linear-gradient(180deg,color-mix(in srgb,#ff7a2f 45%,#fff) 0%,#ff7a2f 30%,color-mix(in srgb,#ff7a2f 72%,#000) 62%,color-mix(in srgb,#ff7a2f 38%,#000) 100%) border-box no-repeat !important;box-shadow:var(--pp-sh)}
:root:root .profile-card.pca .pca-task{border-radius:18px}
:root:root .profile-card.pca .pca-nexts > .pca-next{border-radius:18px !important;padding-bottom:14px !important}
:root:root .profile-card.pca .pca-nexts > .pca-nsub{background:none !important;margin-top:-4px;padding-top:0}
/* ==== /PCASHEETB1127 ==== */

/* ==== PCADPILL1127 (Rob 2026-11-27, his own stats sheet: "+20% on the week before needs more margin"): the change pill was a fixed 28 px tall, so a
   two-line note ("+20% on the week before" in a narrow tile) sat on its rim. It now grows with its words: even 6 px top and bottom, 12 px sides,
   a tighter line, and a rounder-cornered pill once it wraps. ==== */
:root:root:root .profile-card.pca .pca-tile .d{height:auto;min-height:28px;box-sizing:border-box;padding:6px 12px;line-height:1.25;border-radius:16px;max-width:100%;text-wrap:balance}
/* ==== /PCADPILL1127 ==== */

/* ==== PCATIER1127 (Rob 2026-11-27, Your stats on his Level 33 Blaze: "The first panel should match the color of my level and look cooler").
   The level panel is now a dark jewel card lit in the member's OWN tier colours (--tc1 / --tc2 / --tc3 from Rank2::TIERS, --tcn the tier's name
   colour; Blaze = blue fire), on both themes: a metal rim cast from the tier colour, the tier's light glowing behind the ring and breathing slowly,
   the ring and the XP bar in the tier gradient with a glow, the Level pill rimmed in the tier colour with a tier orb, and a slow sheen that sweeps
   the card every few seconds. Animated tiers (flicker / pulse / shimmer ...) breathe a little faster. Reduced motion: still. No blur drawn. ==== */
:root:root:root .profile-card.pca .pca-lvl.pca-lvl-tier{position:relative;overflow:hidden;isolation:isolate;color:#fff;
  border:1.5px solid transparent !important;
  background:radial-gradient(85% 130% at 14% 50%,color-mix(in srgb,var(--tc2) 42%,transparent),transparent 62%) padding-box,
    radial-gradient(70% 120% at 100% 0%,color-mix(in srgb,var(--tc3) 22%,transparent),transparent 60%) padding-box,
    linear-gradient(160deg,#17151f 0%,#0d0c13 100%) padding-box,
    linear-gradient(180deg,color-mix(in srgb,var(--tc1) 60%,#fff) 0%,var(--tc1) 28%,color-mix(in srgb,var(--tc2) 75%,#000) 64%,color-mix(in srgb,var(--tc2) 40%,#000) 100%) border-box !important;
  box-shadow:0 14px 34px -14px color-mix(in srgb,var(--tc2) 70%,transparent),0 2px 6px rgba(0,0,0,.35) !important}
:root:root:root .profile-card.pca .pca-lvl.pca-lvl-tier > *{position:relative;z-index:1}
/* the tier light behind the ring, breathing */
:root:root:root .profile-card.pca .pca-lvl.pca-lvl-tier::before{content:"";position:absolute;z-index:0;left:-10%;top:-30%;width:70%;height:160%;pointer-events:none;
  background:radial-gradient(closest-side,color-mix(in srgb,var(--tc1) 38%,transparent),transparent);animation:pcaTierBreathe 5.5s ease-in-out infinite}
/* the sheen */
:root:root:root .profile-card.pca .pca-lvl.pca-lvl-tier::after{content:"";position:absolute;z-index:2;inset:0;pointer-events:none;border-radius:inherit;
  background:linear-gradient(105deg,transparent 38%,rgba(255,255,255,.13) 48%,rgba(255,255,255,.04) 54%,transparent 62%) no-repeat;background-size:260% 100%;background-position:130% 0;
  animation:pcaTierSheen 6.5s ease-in-out 1.2s infinite}
:root:root:root .profile-card.pca .pca-lvl.pca-lvl-tier:is([data-anim="flicker"],[data-anim="pulse"],[data-anim="shimmer"],[data-anim="trail"],[data-anim="halo"],[data-anim="crown"],[data-anim="prism"])::before{animation-duration:3.2s}
@keyframes pcaTierBreathe{0%,100%{opacity:.7;transform:scale(.96)}50%{opacity:1;transform:scale(1.05)}}
@keyframes pcaTierSheen{0%{background-position:130% 0}45%,100%{background-position:-30% 0}}
/* the ring */
:root:root:root .profile-card.pca .pca-lvl.pca-lvl-tier .pca-ring{filter:drop-shadow(0 0 9px color-mix(in srgb,var(--tc2) 75%,transparent))}
:root:root:root .profile-card.pca .pca-lvl.pca-lvl-tier .pca-ring .trk{stroke:rgba(255,255,255,.12)}
:root:root:root .profile-card.pca .pca-lvl.pca-lvl-tier .pca-ring text{fill:#fff}
/* the Level pill: jewel body, tier rim, tier orb, tier name colour */
:root:root:root .profile-card.pca .pca-lvl.pca-lvl-tier .t1{color:#fff;border:1.25px solid transparent !important;
  background:radial-gradient(118% 118% at 50% 30%,#26252e 0%,#1a1920 34%,#101015 72%,#0a0a0d 100%) padding-box,
    linear-gradient(180deg,color-mix(in srgb,var(--tc1) 50%,#fff) 0%,var(--tc1) 30%,color-mix(in srgb,var(--tc2) 72%,#000) 62%,color-mix(in srgb,var(--tc2) 38%,#000) 100%) border-box !important;
  box-shadow:0 2px 5px rgba(0,0,0,.45),0 0 14px -2px color-mix(in srgb,var(--tc2) 55%,transparent) !important}
:root:root:root .profile-card.pca .pca-lvl.pca-lvl-tier .t1::before{background:radial-gradient(circle at 35% 30%,#fff,var(--tc1) 45%,var(--tc2));box-shadow:0 0 9px var(--tc1)}
:root:root:root .profile-card.pca .pca-lvl.pca-lvl-tier .t1 span{color:var(--tcn)}
:root:root:root .profile-card.pca .pca-lvl.pca-lvl-tier .t2{color:rgba(255,255,255,.74)}
/* the XP bar */
:root:root:root .profile-card.pca .pca-lvl.pca-lvl-tier .pca-bar{background:rgba(255,255,255,.12) !important}
:root:root:root .profile-card.pca .pca-lvl.pca-lvl-tier .pca-bar i{background:linear-gradient(90deg,var(--tc2),var(--tc1) 70%,color-mix(in srgb,var(--tc1) 55%,#fff)) !important;box-shadow:0 0 14px color-mix(in srgb,var(--tc1) 65%,transparent) !important}
@media (prefers-reduced-motion:reduce){:root:root:root .profile-card.pca .pca-lvl.pca-lvl-tier::before,:root:root:root .profile-card.pca .pca-lvl.pca-lvl-tier::after{animation:none}}
.profile-card.pca.pca-idle .pca-lvl.pca-lvl-tier::before,.profile-card.pca.pca-idle .pca-lvl.pca-lvl-tier::after{animation-play-state:paused}
/* ==== /PCATIER1127 ==== */

