/* v13.22.93 — one canonical ChessTeachers identity system everywhere. */
.ctp-global-identity-set{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:5px!important;margin-top:6px!important;overflow:visible!important}
.ctp-global-identity-set .ctp-public-badge,.ctp-global-identity-set .ctp-member-badge,.ctp-global-identity-set .ctp-fide-title-badge{display:inline-flex!important;visibility:visible!important;opacity:1!important;margin:0!important;transform:none!important;overflow:visible!important}
.ctp-global-identity-set .ctp-public-badge{--ctp-badge-a:#38bdf8;--ctp-badge-b:#075985;align-items:center;gap:5px;padding:4px 9px;color:#fff;background:linear-gradient(145deg,var(--ctp-badge-a),var(--ctp-badge-b));border:1px solid rgba(255,255,255,.7);border-radius:999px;box-shadow:inset 0 2px 2px rgba(255,255,255,.55),inset 0 -3px 5px rgba(0,0,0,.25),0 4px 10px color-mix(in srgb,var(--ctp-badge-a) 55%,transparent);font:950 10px/1 Tahoma,sans-serif;white-space:nowrap}
.ctp-global-identity-set .ctp-public-badge.blue{--ctp-badge-a:#38bdf8;--ctp-badge-b:#075985}.ctp-global-identity-set .ctp-public-badge.green{--ctp-badge-a:#4ade80;--ctp-badge-b:#166534}.ctp-global-identity-set .ctp-public-badge.gold{--ctp-badge-a:#facc15;--ctp-badge-b:#a16207}.ctp-global-identity-set .ctp-public-badge.founder{--ctp-badge-a:#facc15;--ctp-badge-b:#09090b;background:linear-gradient(145deg,#fef08a,#ca8a04 35%,#18181b 72%);border-color:#fde68a;box-shadow:inset 0 2px 3px rgba(255,255,255,.7),inset 0 -4px 6px #000,0 0 14px rgba(250,204,21,.75)}
.ctp-global-identity-set .ctp-badge-piece{font-size:17px;line-height:1;text-shadow:0 2px 2px rgba(0,0,0,.38)}.ctp-global-identity-set .ctp-badge-label{white-space:nowrap;text-shadow:0 1px 2px rgba(0,0,0,.35)}.ctp-global-identity-set .ctp-badge-check{display:grid;place-items:center;width:13px;height:13px;color:var(--ctp-badge-b);background:#fff;border-radius:50%;box-shadow:0 1px 3px rgba(0,0,0,.35);font-size:9px;font-weight:1000}
.ctp-global-identity-set .ctp-member-badge{--ctp-role-a:#10b981;--ctp-role-b:#064e3b;--ctp-role-glow:rgba(16,185,129,.48);position:relative;min-height:36px;align-items:center;gap:7px;padding:4px 9px 4px 5px;color:#fff;background:linear-gradient(115deg,var(--ctp-role-b),var(--ctp-role-a) 48%,var(--ctp-role-b));border:1px solid rgba(255,255,255,.62);border-radius:12px 22px 22px 12px;box-shadow:inset 0 2px 2px rgba(255,255,255,.35),inset 0 -5px 8px rgba(0,0,0,.28),0 5px 14px var(--ctp-role-glow);isolation:isolate}
.ctp-global-identity-set .ctp-member-badge.student{--ctp-role-a:#10b981;--ctp-role-b:#064e3b;--ctp-role-glow:rgba(16,185,129,.44)}.ctp-global-identity-set .ctp-member-badge.instructor{--ctp-role-a:#fbbf24;--ctp-role-b:#581c87;--ctp-role-glow:rgba(192,132,252,.55)}.ctp-global-identity-set .ctp-member-badge.player{--ctp-role-a:#38bdf8;--ctp-role-b:#172554;--ctp-role-glow:rgba(56,189,248,.48)}.ctp-global-identity-set .ctp-member-badge.official{--ctp-role-a:#fb7185;--ctp-role-b:#7f1d1d;--ctp-role-glow:rgba(251,113,133,.46)}
.ctp-global-identity-set .ctp-member-badge.official-president{--ctp-role-a:#facc15;--ctp-role-b:#713f12;--ctp-role-glow:rgba(250,204,21,.55)}.ctp-global-identity-set .ctp-member-badge.official-vice{--ctp-role-a:#c084fc;--ctp-role-b:#4c1d95;--ctp-role-glow:rgba(192,132,252,.52)}.ctp-global-identity-set .ctp-member-badge.official-referee{--ctp-role-a:#67e8f9;--ctp-role-b:#164e63;--ctp-role-glow:rgba(103,232,249,.48)}.ctp-global-identity-set .ctp-member-badge.official-coach{--ctp-role-a:#34d399;--ctp-role-b:#064e3b;--ctp-role-glow:rgba(52,211,153,.48)}.ctp-global-identity-set .ctp-member-badge.official-club{--ctp-role-a:#fb923c;--ctp-role-b:#7c2d12;--ctp-role-glow:rgba(251,146,60,.5)}.ctp-global-identity-set .ctp-member-badge.official-secretary{--ctp-role-a:#60a5fa;--ctp-role-b:#1e3a8a;--ctp-role-glow:rgba(96,165,250,.48)}.ctp-global-identity-set .ctp-member-badge.official-committee{--ctp-role-a:#f472b6;--ctp-role-b:#831843;--ctp-role-glow:rgba(244,114,182,.48)}
.ctp-global-identity-set .ctp-role-piece{display:grid;width:28px;height:28px;flex:0 0 28px;place-items:center;color:#fff7c2;background:radial-gradient(circle at 35% 25%,rgba(255,255,255,.46),transparent 28%),rgba(2,6,23,.62);border:1px solid rgba(255,255,255,.7);border-radius:9px;box-shadow:inset 0 1px 2px rgba(255,255,255,.38),0 2px 5px rgba(0,0,0,.38);font:900 19px/1 Georgia;text-shadow:0 2px 2px #000}.ctp-global-identity-set .ctp-role-copy{display:grid;gap:2px;min-width:68px;text-align:right}.ctp-global-identity-set .ctp-role-label{color:#fff;font:950 10px/1 Tahoma,sans-serif;white-space:nowrap;text-shadow:0 1px 2px rgba(0,0,0,.65)}.ctp-global-identity-set .ctp-role-kicker{color:rgba(255,255,255,.72);font:700 8px/1 Tahoma,sans-serif;white-space:nowrap}.ctp-global-identity-set .ctp-role-state{display:grid;place-items:center;width:16px;height:16px;color:var(--ctp-role-b);background:#fff;border:1px solid rgba(255,255,255,.8);border-radius:50%;font-size:9px;box-shadow:0 2px 4px rgba(0,0,0,.38)}
.ctp-global-identity-set .ctp-fide-title-badge{align-items:center;gap:4px;min-height:30px;padding:3px 7px;border:1px solid rgba(250,204,21,.58);border-radius:9px;background:linear-gradient(145deg,#78350f,#111827);color:#fef3c7;box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 4px 12px rgba(0,0,0,.18)}.ctp-global-identity-set .ctp-fide-mark{font-size:16px}.ctp-global-identity-set .ctp-fide-copy{display:grid;gap:1px}.ctp-global-identity-set .ctp-fide-copy b{font:900 9px/1 Arial}.ctp-global-identity-set .ctp-fide-copy small{font:700 6px/1 Tahoma;color:#fde68a}.ctp-global-identity-set .ctp-fide-check{font-size:9px;color:#86efac}
/* replace old local badge clones once the canonical identity set is present */
.ctp-v13180-user:has(.ctp-global-identity-set) .ctp59-user-badges{display:none!important}.ctp-featured-row:has(.ctp-global-identity-set)>.ctp-featured-info>b .ctp-inline-tick{display:none!important}.ctp92-row:has(.ctp-global-identity-set) .ctp92-identities{display:none!important}#ctp-public-profile-overlay .ctp-pp-badges:has(.ctp-global-identity-set)>.ctp-pp-badge{display:none!important}
#ctp92-cup-ui .ctp-global-identity-set{margin-top:7px!important}#ctp92-cup-ui .ctp-global-identity-set .ctp-member-badge{max-width:100%!important}
@media(max-width:560px){.ctp-global-identity-set{gap:4px!important}.ctp-global-identity-set .ctp-public-badge{font-size:9px;padding:4px 7px}.ctp-global-identity-set .ctp-member-badge{min-height:33px;padding:3px 7px 3px 4px}.ctp-global-identity-set .ctp-role-piece{width:25px;height:25px;flex-basis:25px;font-size:17px}.ctp-global-identity-set .ctp-role-label{font-size:9px}.ctp-global-identity-set .ctp-role-kicker{font-size:7px}}
.ctp-global-identity-set .ctp-member-badge:before{content:'';position:absolute;z-index:-1;top:-90%;right:-35%;width:50%;height:260%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.32),transparent);transform:rotate(24deg);animation:ctpRoleShine 4.8s ease-in-out infinite}.ctp-global-identity-set .ctp-member-badge:after{content:'';position:absolute;right:7px;bottom:3px;width:20px;height:1px;background:rgba(255,255,255,.58);box-shadow:9px 0 0 rgba(255,255,255,.2)}
.ctp-league-row:has(.ctp-global-identity-set) .ctp-inline-tick,.ctp-province-row:has(.ctp-global-identity-set) .ctp-inline-tick{display:none!important}
.ctp-featured-list .ctp-global-identity-set .ctp-public-badge{display:inline-flex!important}

/* v13.22.94 — refined in-frame badge animation: no movement/glow outside the badge. */
.ctp-global-identity-set .ctp-public-badge,.ctp-global-identity-set .ctp-member-badge,.ctp-global-identity-set .ctp-fide-title-badge{position:relative!important;overflow:hidden!important;isolation:isolate!important;transform:none!important;animation:ctp94BadgeInnerBreath 5.8s ease-in-out infinite!important}
.ctp-global-identity-set .ctp-public-badge:before,.ctp-global-identity-set .ctp-member-badge:before,.ctp-global-identity-set .ctp-fide-title-badge:before{content:''!important;position:absolute!important;z-index:0!important;inset:0!important;width:42%!important;height:100%!important;top:0!important;right:auto!important;left:-55%!important;background:linear-gradient(105deg,transparent 0%,rgba(255,255,255,.05) 28%,rgba(255,255,255,.34) 50%,rgba(255,255,255,.06) 72%,transparent 100%)!important;transform:skewX(-18deg)!important;animation:ctp94BadgeSweep 4.9s cubic-bezier(.45,0,.25,1) infinite!important;pointer-events:none!important}
.ctp-global-identity-set .ctp-public-badge:after,.ctp-global-identity-set .ctp-member-badge:after,.ctp-global-identity-set .ctp-fide-title-badge:after{content:''!important;position:absolute!important;z-index:0!important;inset:1px!important;width:auto!important;height:auto!important;right:1px!important;bottom:1px!important;border-radius:inherit!important;border:1px solid rgba(255,255,255,.13)!important;background:none!important;box-shadow:inset 0 0 10px rgba(255,255,255,.04)!important;pointer-events:none!important}
.ctp-global-identity-set .ctp-public-badge>*,.ctp-global-identity-set .ctp-member-badge>*,.ctp-global-identity-set .ctp-fide-title-badge>*{position:relative!important;z-index:1!important}
@keyframes ctp94BadgeSweep{0%,18%{left:-55%;opacity:0}28%{opacity:.9}54%{left:115%;opacity:.5}58%,100%{left:115%;opacity:0}}
@keyframes ctp94BadgeInnerBreath{0%,100%{filter:brightness(1) saturate(1)}50%{filter:brightness(1.045) saturate(1.04)}}
@media(prefers-reduced-motion:reduce){.ctp-global-identity-set .ctp-public-badge,.ctp-global-identity-set .ctp-member-badge,.ctp-global-identity-set .ctp-fide-title-badge,.ctp-global-identity-set .ctp-public-badge:before,.ctp-global-identity-set .ctp-member-badge:before,.ctp-global-identity-set .ctp-fide-title-badge:before{animation:none!important}}

/* v13.22.98 total score chip */
.ctp-global-identity-set .ctp-total-score-chip{display:inline-flex!important;align-items:center!important;gap:4px!important;padding:6px 9px!important;border-radius:999px!important;background:linear-gradient(145deg,#111827,#0f172a)!important;border:1px solid rgba(250,204,21,.38)!important;color:#fde68a!important;font:950 9px/1 Tahoma,sans-serif!important;white-space:nowrap!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.06)!important}


/* v13.23.00 — signature Total Score badge. Distinct from role/public badges. */
.ctp-total-score-chip{position:relative;isolation:isolate;display:inline-flex!important;align-items:center!important;gap:5px!important;min-height:27px!important;padding:4px 9px 4px 6px!important;border-radius:999px!important;background:radial-gradient(circle at 18% 25%,rgba(253,230,138,.2),transparent 28%),linear-gradient(115deg,#05070d,#17110a 52%,#05070d)!important;border:1px solid rgba(250,204,21,.68)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.15),inset 0 -2px 5px rgba(0,0,0,.42),0 4px 12px rgba(0,0,0,.26)!important;color:#fef3c7!important;font:950 9px/1 Tahoma,sans-serif!important;white-space:nowrap!important;overflow:hidden!important;vertical-align:middle!important}
.ctp-total-score-chip:before{content:"";position:absolute;inset:1px;border-radius:inherit;border:1px solid rgba(255,255,255,.06);pointer-events:none}.ctp-total-score-chip:after{content:"";position:absolute;top:-80%;bottom:-80%;width:34%;right:-45%;transform:skewX(-22deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.26),transparent);animation:ctp100ScoreShine 4.8s ease-in-out infinite;pointer-events:none}
.ctp-total-score-chip>i{display:grid;place-items:center;width:19px;height:19px;border-radius:50%;font-style:normal;color:#422006;background:linear-gradient(145deg,#fff7ae,#facc15 55%,#b45309);box-shadow:inset 0 1px 1px rgba(255,255,255,.7),0 0 8px rgba(250,204,21,.22);font-size:11px}.ctp-total-score-chip>span{color:#d6c69a;font:850 8px Tahoma}.ctp-total-score-chip>b{color:#fff0a6;font:1000 11px Tahoma;text-shadow:0 0 8px rgba(250,204,21,.2)}
.ctp-score-by-name{margin-inline-start:6px!important;margin-top:0!important;transform:translateY(-1px)}
@keyframes ctp100ScoreShine{0%,70%{right:-45%;opacity:0}78%{opacity:1}92%{right:115%;opacity:.8}100%{right:115%;opacity:0}}
@media(prefers-reduced-motion:reduce){.ctp-total-score-chip:after{animation:none!important}}
@media(max-width:520px){.ctp-total-score-chip{min-height:25px!important;padding:3px 7px 3px 5px!important}.ctp-total-score-chip>span{display:none}.ctp-total-score-chip>i{width:18px;height:18px}}
