/* V46 · approved arena design applied to live data, with a quiet classic option. */
.arena-environment{display:none;position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:-1;background:radial-gradient(ellipse at 8% 15%,#d8672533,transparent 55%),radial-gradient(ellipse at 90% 80%,#f77c2826,transparent 45%),radial-gradient(ellipse at 65% 12%,#14445c80,transparent 60%),#080f1b}
html[data-theme=rpg] .arena-environment{display:block}html[data-theme=rpg] body{background:transparent;color:#eef5ff;isolation:isolate}.arena-embers{position:absolute;inset:0;width:100%;height:100%;opacity:.85}.arena-light{position:absolute;inset:-30% 25% 0;width:25%;background:linear-gradient(#91ddff20,transparent);filter:blur(32px);transform:rotate(20deg);animation:arena-light 18s ease-in-out infinite alternate}.arena-court{position:absolute;bottom:-35%;left:-25%;width:150%;height:70%;background:repeating-linear-gradient(90deg,transparent 0 130px,#67809b16 131px 132px),repeating-linear-gradient(0deg,transparent 0 90px,#67809b18 91px 92px);transform:perspective(400px) rotateX(55deg);mask-image:linear-gradient(transparent,#000)}.arena-streaks{position:absolute;inset:0;background:repeating-linear-gradient(133deg,transparent 0 150px,#ff8e3814 151px 154px,transparent 155px 175px,#ff8e3807 176px 180px);mask-image:linear-gradient(90deg,#000,transparent 40%,transparent 75%,#000);animation:arena-streaks 14s linear infinite}
html[data-theme=rpg] header{background:#0b1420e8;border-bottom:1px solid #fda25c44;backdrop-filter:blur(14px)}html[data-theme=rpg] #mainNav{background:#0b1420cf;border-color:#698d9b26;border-radius:16px}html[data-theme=rpg] button{border-radius:10px;background:#172c3d;border-color:#65869239;color:#c4d5e3;transition:background .2s,border-color .2s,box-shadow .2s}html[data-theme=rpg] button:hover{border-color:#ffab6470;box-shadow:0 0 18px #ff8c3414}html[data-theme=rpg] button.primary{background:#ff9e57;color:#1d1c1b;font-weight:800}html[data-theme=rpg] .card{background:#101f2ee3;border:1px solid #5a849225;border-top:2px solid #c781443f;border-radius:18px}html[data-theme=rpg] .card h2{letter-spacing:-.4px}html[data-theme=rpg] .card h3{color:#edf5ff}html[data-theme=rpg] #mainNav button[aria-current=page],html[data-theme=rpg] .profile-links button[aria-current=page],html[data-theme=rpg] .workspace-pages button[aria-current=page]{background:#ff984c14;color:#ffc08f;border-color:#ff9b5166;box-shadow:none}html[data-theme=rpg] .profile-links{border-bottom:1px solid #5c83932d;padding-bottom:12px;gap:6px}html[data-theme=rpg] .profile-links button{background:transparent;color:#91aebf;border-color:transparent}html[data-theme=rpg] .intro{background:linear-gradient(110deg,#162b3fda,#102031e8);border-top:3px solid #ffa357}
html[data-theme=rpg] .player-card{background:#101f2ee3;border:1px solid #698d9b26;border-top:3px solid #ffa357;border-radius:23px;color:#eef5ff;overflow:hidden;box-shadow:0 12px 55px #d65e1611}html[data-theme=rpg] .player-card-heading{background:#0b1929e8;font-size:11px;letter-spacing:1.5px;min-height:48px;color:#b2d0df;border-bottom:1px solid #4b687a30}html[data-theme=rpg] .player-card-layout{display:block;position:relative}html[data-theme=rpg] .player-identity{position:relative;min-height:380px;padding:32px 38px 24px;text-align:left;background:linear-gradient(110deg,#162b3fde,#102031e8 65%,#27433b80);border:0!important;overflow:hidden}html[data-theme=rpg] .player-identity h2{max-width:65%;font-size:clamp(30px,4vw,58px);font-weight:950;line-height:1.04;letter-spacing:-2px;text-transform:none;font-style:normal;color:#ffad72;margin:16px 0}html[data-theme=rpg] .player-identity>p{max-width:65%;color:#9db2c3;font-size:13px}html[data-theme=rpg] .player-identity>blockquote{max-width:60%;font-size:13px;color:#c4d8e4;text-align:left;margin:12px 0}.player-identity>*:not(.arena-illustration){position:relative;z-index:2}html[data-theme=rpg] .player-identity .player-portrait{position:absolute;right:38px;top:48px;width:190px;height:190px;border-radius:50%;border:3px solid #ffab5540;box-shadow:0 0 50px #fa954521;background:#12283be8;margin:0;animation:arena-portrait 7s ease-in-out infinite}html[data-theme=rpg] .player-identity .rpg-experience{max-width:490px;margin-top:24px;background:#0a1b2aa8;border:1px solid #ffae632d;box-shadow:none;padding:15px}html[data-theme=rpg] .rpg-experience>strong{font-size:23px;font-style:normal;color:#edf5ff}html[data-theme=rpg] .rpg-experience>span{font-size:13px;color:#8ca8b8}html[data-theme=rpg] .rpg-experience>small{font-size:11px;color:#8ba9ba!important}.rpg-xp-track{display:flex;position:relative;height:10px;box-shadow:inset 0 0 0 1px #ffffff08;border:0;background:#07111f;overflow:hidden}.rpg-xp-fill,.rpg-gain,.rpg-loss{height:100%;flex-shrink:0;border-radius:0;transition:none;box-shadow:none;position:relative}.rpg-base,.xp-loss .rpg-base{background:linear-gradient(90deg,#e87f39,#ffb468)!important}.rpg-xp-fill:after{display:none}.rpg-gain{background:linear-gradient(90deg,#53dba0,#a6f2bf);box-shadow:0 0 15px #8af8b4}.rpg-loss{background:linear-gradient(90deg,#c74850,#ff867c);box-shadow:0 0 12px #ec6d6966}.rpg-gain:after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(120deg,transparent 0 15px,#fff2 16px 22px);animation:xp-shimmer 2.5s linear infinite}
.rpg-native-skill{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;pointer-events:none}.rpg-team-native{display:none}.rpg-skill-track{height:8px;min-width:0;width:100%}html[data-theme=rpg] .player-card-main{background:transparent;color:#eef5ff;padding:24px;display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}html[data-theme=rpg] .player-card-main>h2,html[data-theme=rpg] .player-card-main>p,html[data-theme=rpg] .player-card-main>.rpg-xp-track,html[data-theme=rpg] .player-card-main>.rpg-experience,html[data-theme=rpg] .team-league-summary{grid-column:1/-1}html[data-theme=rpg] .player-card-main>.rpg-native-xp{display:none}html[data-theme=rpg] .player-card-main p,html[data-theme=rpg] .player-card-main small{color:#8ba9ba}html[data-theme=rpg] .player-card-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}html[data-theme=rpg] .player-stat{background:#152739b3;border:1px solid #729ca211;border-radius:13px;padding:17px 14px;color:#eef5ff;box-shadow:none}html[data-theme=rpg] .player-stat strong{color:#eef5ff;font-size:24px;letter-spacing:-.5px}html[data-theme=rpg] .player-stat span{color:#8ca8b8;font-size:11px}html[data-theme=rpg] .player-card-skills{background:#101f2e;border:1px solid #5a849225;border-top:2px solid #c781443f;border-radius:16px;padding:20px}html[data-theme=rpg] .player-card-skills h3{background:none;color:#edf5ff;padding:0;letter-spacing:-.3px}html[data-theme=rpg] .player-skill-row{border-color:#729ca211;padding:12px 0;gap:10px;grid-template-columns:minmax(80px,1fr) 40px minmax(65px,1fr) 45px}html[data-theme=rpg] .player-skill-row strong{color:#bed0df;font-size:13px}html[data-theme=rpg] .skill-value{background:transparent;border:0;color:#edf5ff}html[data-theme=rpg] .skill-trend{color:#9ac4b4}html[data-theme=rpg] .player-skill-row .challenge-shortcut{grid-column:1/-1;justify-self:end;padding:5px 10px;font-size:11px}html[data-theme=rpg] .player-training-strip{background:#101f2e;border-top:1px solid #5a849225;padding:16px;gap:12px;color:#eef5ff}html[data-theme=rpg] .player-training-strip .player-stat{background:#152739b3}.player-card>.development-detail{margin:18px}html[data-theme=rpg] .player-card summary{color:#bed0df}html[data-theme=rpg] .latest-badges{background:#101f2e;padding:22px;border-radius:0}html[data-theme=rpg] .latest-badges h3{color:#edf5ff}.simulation-stage .player-card{border-color:#56caaa}.simulation-stage .player-card button{display:none}.simulation-stage .player-card-main{min-width:0}.skill-simulation-note{color:#a6f2bf;font-size:12px}
.arena-illustration{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:1;mask-image:linear-gradient(#000 0 87%,transparent)}.arena-person{position:absolute;pointer-events:none;background:center/contain no-repeat;animation:none!important;transform:none!important}.arena-player .arena-person-0{left:52%;bottom:-80px;width:143px;height:215px}.arena-player .arena-person-1{display:none}.arena-motivation .arena-person-1{display:block;height:153px;width:168px;left:-12px;bottom:-21px}.arena-motivation .arena-person-0{display:none}.arena-motivation{position:relative;min-height:140px;display:grid;place-items:center;overflow:hidden;background:#132338;border:1px solid #fda25c66;border-radius:13px;margin:22px;font-style:italic}.arena-painted-plate{position:absolute;inset:0;background:url('/static/arena-assets/dramatic-court.png') center 48%/100% auto no-repeat}.arena-quote{z-index:3;background:#f8fcff;color:#153248;text-align:center;width:60%;padding:12px;font-size:14px;font-weight:650;line-height:1.5;border-radius:8px}.arena-quote small{display:block;color:#c9651b;font-size:9px;letter-spacing:1.2px;text-transform:uppercase;margin-top:5px}.arena-birds{position:absolute;inset:0;pointer-events:none}.bird-overlay{position:absolute;inset:0;width:100%;height:100%}.bird{animation:arena-glide 28s ease-in-out infinite}.bird-two{animation-duration:36s;animation-delay:-12s}.arena-team .arena-person-0{height:218px;width:239px;right:245px;bottom:9px;opacity:.92;z-index:1}.arena-team .arena-person-1{height:310px;width:258px;right:118px;bottom:-85px;z-index:3}.arena-team .arena-person-2{height:330px;width:220px;right:18px;bottom:-38px;z-index:2}.team-profile-card .player-identity{padding-right:48%!important;min-height:380px}.team-profile-card .player-identity h2,.team-profile-card .player-identity blockquote{max-width:100%!important}.team-profile-card .player-identity .team-portrait{position:relative!important;inset:auto!important;width:92px!important;height:92px!important;margin-bottom:24px!important}.team-profile-card .player-identity .team-portrait img{object-fit:contain;background:#152739}.team-profile-card .team-hero-xp{margin-top:20px;color:#c4d5e3;font-size:13px}.team-profile-card .team-hero-xp strong{font-size:23px;color:#ffb782}.team-profile-card .team-hero-xp .rpg-xp-track{margin-top:12px}.team-profile-card .player-card-main{grid-template-columns:1fr 1.2fr}.team-league-summary h3{color:#ffb782!important}
html[data-theme=classic] .arena-illustration{display:none}html[data-theme=classic] .rpg-skill-track{display:flex}html[data-theme=classic] .arena-motivation{background:#132338}html[data-theme=classic] .arena-birds{display:none}.jump-image-card{position:relative}.jump-control{position:absolute!important;right:12px;bottom:12px;min-width:38px;min-height:38px;padding:4px 9px;border:1px solid #ffaf6b;background:#10283cee;color:#ffc18a;border-radius:50%;z-index:3;line-height:1;font-size:17px}.natural-idle-canvas{width:96px;height:104px;display:block;pointer-events:none}.volleymon-sprite.natural-idle-ready{background-image:none}.companion-breathing{animation:none!important;transform:none!important}.progress-reveal:has(.volleymon-sprite){border-color:#ffb782;box-shadow:0 0 60px #ff953e30}.progress-reveal h2{color:#ffbc80}.badge-reveal-card{animation:arena-badge .8s ease-out}.companion-in-identity{left:auto!important;width:125px!important;right:50px!important;bottom:8px!important}.player-identity:has(.companion-in-identity){padding-bottom:32px!important}
@keyframes arena-light{to{transform:rotate(-10deg) translateX(150px)}}@keyframes arena-streaks{to{background-position:70px -60px}}@keyframes arena-glide{50%{transform:translate(-18px,2px)}}@keyframes arena-portrait{50%{box-shadow:0 0 65px #ffac573d}}@keyframes arena-badge{from{opacity:0;transform:scale(.55) rotate(-12deg);filter:brightness(2)}to{opacity:1;transform:none;filter:brightness(1)}}
@media(max-width:1100px){.team-profile-card .player-identity{padding-right:45%!important}.arena-team .arena-person-0{right:195px;width:195px;height:178px}.arena-team .arena-person-1{right:78px;height:260px;width:216px;bottom:-53px}.arena-team .arena-person-2{right:-4px;height:290px;width:193px}html[data-theme=rpg] .player-card-main{grid-template-columns:1fr}html[data-theme=rpg] .player-identity .player-portrait{width:145px;height:145px;right:24px}}
@media(max-width:700px){html[data-theme=rpg] .player-identity{padding:25px 20px;min-height:320px}html[data-theme=rpg] .player-identity h2{font-size:36px;max-width:64%}html[data-theme=rpg] .player-identity .player-portrait{width:100px;height:100px;top:42px;right:16px}.companion-in-identity{right:12px!important;bottom:120px!important;transform:scale(.8);transform-origin:right bottom}html[data-theme=rpg] .player-identity .rpg-experience{margin-top:32px;max-width:100%}html[data-theme=rpg] .player-card-main{padding:16px;gap:14px}html[data-theme=rpg] .player-card-overview{grid-template-columns:repeat(2,minmax(0,1fr))!important}.player-stat strong{overflow-wrap:anywhere}.arena-motivation{margin:16px;min-height:132px}.arena-quote{width:65%;font-size:11px;padding:9px}.arena-motivation .arena-person-1{height:129px;width:143px;left:-33px;bottom:-13px}.arena-painted-plate{background-size:auto 380%;background-position:center 48%}.team-profile-card .player-identity{min-height:555px!important;padding-right:20px!important;padding-bottom:245px!important}.team-profile-card .player-identity h2{font-size:34px}.arena-team{top:auto;height:225px}.arena-team .arena-person-0{right:auto;left:0;bottom:6px;width:196px;height:179px}.arena-team .arena-person-1{left:calc(50% - 112px);bottom:-67px;width:224px;height:269px;right:auto}.arena-team .arena-person-2{right:16px;bottom:-35px;height:290px;width:193px}.team-profile-card .player-identity .team-portrait{position:absolute!important;right:20px!important;top:24px!important;width:78px!important;height:78px!important}.team-profile-card .player-identity h2{max-width:70%!important}.team-profile-card .player-card-main{display:block}.team-profile-card .player-card-skills{margin-top:18px}}
@media(prefers-reduced-motion:reduce){.arena-environment *,.bird,.rpg-gain:after{animation:none!important}}html[data-motion=off] .arena-environment *,html[data-motion=reduced] .arena-environment *,html[data-motion=off] .bird,html[data-motion=reduced] .bird{animation:none!important}

.natural-idle-canvas[hidden]{display:none!important}

.rpg-loss-finished{animation:arena-loss-away 1.2s ease-out 1s forwards!important}@keyframes arena-loss-away{to{opacity:0}}
@media(prefers-reduced-motion:reduce){.rpg-loss-finished{opacity:0;animation:none!important}}html[data-motion=off] .rpg-loss-finished,html[data-motion=reduced] .rpg-loss-finished{opacity:0;animation:none!important}

.arena-painted-plate{background:none!important}.arena-painted-plate>svg{width:100%;height:100%;display:block}.arena-court-decoration{position:absolute;bottom:0;left:0;width:100%;height:125px;opacity:.65}.arena-court-decoration>svg{width:100%;height:100%;display:block}.arena-motivation .arena-court-decoration{display:none}html[data-theme=classic] .team-profile-card .player-identity{padding:26px 20px!important;min-height:auto!important}
/* V47: continuous loops, anchored heads and compact skill panel. */
.arena-streaks{animation:arena-streaks 18s ease-in-out infinite alternate}.rpg-gain:after{animation:xp-shimmer 3s ease-in-out infinite alternate}.bird{animation-timing-function:ease-in-out}.arena-team .arena-person-2{height:262px;width:175px;bottom:9px;right:35px}
html[data-theme=rpg] .player-card-main{align-items:stretch}html[data-theme=rpg] .player-card-skills{display:flex;flex-direction:column;padding:14px 16px}html[data-theme=rpg] .player-card-skills h3{margin:0 0 5px}html[data-theme=rpg] .player-skill-row{padding:8px 0;gap:6px;grid-template-columns:minmax(66px,1fr) 32px minmax(50px,1.2fr) 32px 28px;flex:1}html[data-theme=rpg] .player-skill-row .challenge-shortcut{grid-column:auto;justify-self:end;padding:0;width:28px;height:28px;min-height:28px;font-size:16px;border-radius:50%}.player-card-skills>small{margin-bottom:10px}.badge-in-progress{padding:22px}.badge-in-progress-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.badge-progress-tile{display:grid;grid-template-columns:55px 1fr;gap:8px;align-items:center;padding:12px;background:#152739b3;border:1px solid #ffb06a30;border-radius:13px}.badge-progress-tile img{width:50px;height:50px;object-fit:contain}.badge-progress-tile progress,.badge-progress-tile small{grid-column:1/-1}.badge-progress-tile strong{font-size:12px}.badge-progress-tile small{font-size:11px;color:#9bb7c8}.latest-badge-grid button,.badge-earned-tile{animation:badge-arrive .55s ease-out both}.latest-badge-grid img,.badge-earned-tile img{animation:badge-glow 5s ease-in-out infinite alternate;filter:drop-shadow(0 0 3px #ffb15a33)}.badge-color{transition:clip-path 1.2s ease-in-out}.badge-card:not(.badge-locked) .badge-art{animation:badge-glow 5s ease-in-out infinite alternate}.profile-mode-switch{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:0;padding:4px!important;min-height:42px;width:225px;isolation:isolate;border:1px solid #ffac6270!important;background:#091a29!important;border-radius:24px!important;color:#ffbe8a!important}.profile-mode-switch>span:not(.mode-thumb){position:relative;z-index:2;text-align:center;line-height:30px;font-size:12px;font-weight:700}.profile-mode-switch .mode-thumb{position:absolute;z-index:1;left:4px;top:4px;bottom:4px;width:calc(50% - 4px);border-radius:20px;background:#ff9b5533;transition:transform .25s,background .25s}.profile-mode-switch.mode-manager .mode-thumb{transform:translateX(100%);background:#51cfcc33}.profile-mode-switch.mode-manager{color:#92e6df!important;border-color:#67d2d080!important}.mode-wave{position:fixed;border-radius:50%;pointer-events:none;z-index:2000}.profile-mode-switch[hidden]{display:none!important}
html[data-theme=rpg][data-mode=manage] header{background:#0a252ee8;border-color:#66d5d4}html[data-theme=rpg][data-mode=manage] .intro{background:linear-gradient(110deg,#123642,#0e222e);border-top-color:#66d5d4}html[data-theme=rpg][data-mode=manage] .card{background:linear-gradient(120deg,#112b37ee,#0f222eee);border-top-color:#5bcacb66}html[data-theme=rpg][data-mode=manage] #mainNav button[aria-current=page],html[data-theme=rpg][data-mode=manage] .workspace-pages button[aria-current=page]{color:#a6f6ee;border-color:#5fd3d7;background:#45c3c51c}html[data-theme=rpg][data-mode=manage] button.primary{background:#6bd6d0;color:#09242f}html[data-theme=rpg][data-mode=manage] .arena-environment{background:radial-gradient(ellipse at 10% 15%,#27b0b72b,transparent 55%),radial-gradient(ellipse at 90% 80%,#258b9520,transparent 45%),#080f1b}
@keyframes badge-arrive{from{opacity:0;transform:translateY(8px) scale(.96)}to{opacity:1;transform:none}}@keyframes badge-glow{to{filter:drop-shadow(0 0 8px #ffb15a66)}}
@media(max-width:1100px){.arena-team .arena-person-2{height:238px;width:159px;right:5px;bottom:6px}}@media(max-width:700px){.arena-team .arena-person-2{height:238px;width:159px;right:21px;bottom:6px}.badge-in-progress-grid{grid-template-columns:1fr}.profile-mode-switch{width:205px}html[data-theme=rpg] .player-skill-row{grid-template-columns:minmax(66px,1fr) 30px minmax(50px,1.2fr) 30px 28px}}
.guest-management{padding:18px;border:1px solid #68c8cb44;border-radius:14px;margin-top:14px;background:#102835}.guest-card{padding:12px;margin:12px 0;background:#173647;border-radius:12px}.guest-card form{border-top:1px solid #527188;padding-top:14px;margin-top:14px}.guest-management input[readonly]{width:100%;font-size:12px}.guest-page{max-width:650px;margin:50px auto;padding:20px}.guest-page form{margin-top:25px}.guest-page small{display:block;line-height:1.6;color:#9bb7c8}.guest-saved{color:#9be7bd}html[data-guest-page=true] body>main:not(.guest-page),html[data-guest-page=true] body>header{display:none!important}
/* V48: one shared composition, responsive scale and compact position motifs. */
.arena-lineup{position:absolute;inset:0}.arena-team{width:510px;max-width:100%;height:240px;top:auto;left:auto;right:0;bottom:0}.arena-team .arena-lineup{inset:auto 0 0 auto;width:510px;height:240px;transform-origin:bottom right}.arena-team .arena-person-0{left:0;right:auto;top:13px;bottom:auto;width:239px;height:218px}.arena-team .arena-person-1{left:115px;right:auto;top:15px;bottom:auto;width:258px;height:310px}.arena-team .arena-person-2{left:235px;right:auto;top:-67px;bottom:auto;width:270px;height:405px;z-index:2}
.position-suggestion{position:relative;isolation:isolate;overflow:hidden;min-height:112px!important;background:#e5eef5!important;color:#15354a!important;padding:14px!important}.position-suggestion .position-art{position:absolute;right:-5px;bottom:0;width:60%;height:100%;object-fit:contain;opacity:.3;mix-blend-mode:multiply;z-index:-1;pointer-events:none}.position-suggestion strong{font-size:19px!important;color:#15354a!important;max-width:75%;line-height:1.2}.position-suggestion span,.position-suggestion small{position:relative;color:#1d425b!important;font-size:11px}.position-suggestion small{display:block;margin:4px 0}.privacy-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.privacy-options label{display:flex;align-items:center;gap:10px;font-size:13px;padding:9px;background:#152b3a;border-radius:9px}.privacy-options input[type=checkbox]{width:20px;min-height:20px;flex:none}#profilePrivacy>form{padding:16px;margin:16px 0;border:1px solid #52718755;border-radius:12px}#profilePrivacy input[readonly]{width:100%;font-size:12px}.shared-profile-card{padding:22px;background:#102b3b;border:1px solid #6899a655;border-radius:18px;color:#f0f7fb;width:min(800px,100%)}.shared-skills{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.shared-skills>div{display:grid;grid-template-columns:1fr auto;gap:8px}.shared-skills progress{grid-column:1/-1;width:100%}.shared-badges{display:flex;flex-wrap:wrap;gap:14px}.shared-badges article{display:grid;place-items:center;gap:8px;max-width:120px;text-align:center;font-size:12px}.shared-badges img{width:70px;height:70px;object-fit:contain;animation:badge-glow 5s ease-in-out infinite alternate}.shared-portrait{width:100px;height:100px;border-radius:50%;object-fit:cover;border:2px solid #ffb374}.shared-profile-preview{width:min(850px,94vw)}.member-profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.member-profile-grid button{min-height:68px}.share-link-row{padding:12px;border-bottom:1px solid #4a6b8033}.public-profile-page{max-width:850px;margin:40px auto;padding:20px}html[data-public-profile=true] body>main:not(.public-profile-page),html[data-public-profile=true] body>header{display:none!important}
#trainerContacts details{margin:10px 0;padding:12px;background:#142e3f;border-radius:12px}#trainerContacts details>p{font-size:13px;color:#b5cad8}.badge-earned-tile,.badge-card{position:relative;overflow:hidden}.badge-card:not(.badge-locked):after,.badge-earned-tile:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(120deg,transparent 25%,#ffe1af1f 47%,transparent 70%);animation:badge-sheen 6s ease-in-out infinite alternate}.badge-card:not(.badge-locked) .badge-art{animation:badge-glow 5s ease-in-out infinite alternate}.badge-locked .badge-art{animation:badge-arrive .65s ease-out}.badge-art img{will-change:filter}.badge-locked .badge-color{animation:badge-progress-glow 5s ease-in-out infinite alternate}@keyframes badge-sheen{from{transform:translateX(-80%)}to{transform:translateX(80%)}}@keyframes badge-progress-glow{to{filter:brightness(1.12)}}
@media(max-width:800px){html[data-theme=rpg] .player-card-main{grid-template-columns:1fr!important}.member-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.team-profile-card .player-identity{padding-right:20px!important;min-height:495px!important;padding-bottom:235px!important}.team-profile-card .player-identity h2{max-width:70%!important}.team-profile-card .player-identity .team-portrait{position:absolute!important;top:22px!important;right:20px!important;width:76px!important;height:76px!important}.arena-team{height:225px;width:100%;max-width:510px}.team-profile-card .player-card-main{display:grid!important;grid-template-columns:1fr!important}}
@media(max-width:520px){main{padding:12px!important}header{gap:8px;flex-wrap:wrap}header .chip{font-size:10px}.intro{padding:14px!important}.intro h1{font-size:25px!important}.intro>.buttons{display:flex;flex-wrap:wrap;gap:8px}.profile-mode-switch{width:200px}.intro select{max-width:100%}.intro label{min-width:0}.profile-links,.workspace-pages{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px!important;overflow:visible!important}.profile-links button,.workspace-pages button{font-size:11px;padding:9px 5px;min-width:0;white-space:normal}.player-card-heading{font-size:9px!important;padding:12px!important;gap:8px;overflow-wrap:anywhere}html[data-theme=rpg] .player-identity{padding:20px 16px!important;min-height:305px}html[data-theme=rpg] .player-identity h2{font-size:29px;letter-spacing:-1px;max-width:65%}html[data-theme=rpg] .player-identity .player-portrait{width:82px;height:82px;right:12px;top:30px}.companion-in-identity{right:2px!important;bottom:100px!important;transform:scale(.65)}html[data-theme=rpg] .player-identity .rpg-experience{padding:12px;margin-top:25px}.rpg-experience>strong{font-size:19px!important}.rpg-experience>span{font-size:12px!important}html[data-theme=rpg] .player-card-main{padding:12px;gap:12px}.player-card-overview{gap:8px!important}.player-stat{padding:12px 9px!important;min-width:0}.player-stat strong{font-size:19px!important}.player-card-skills{padding:12px!important}.player-skill-row{grid-template-columns:minmax(62px,1fr) 26px minmax(44px,1.2fr) 25px 25px!important;gap:4px!important}.player-skill-row strong{font-size:11px!important}.player-skill-row .skill-trend{font-size:9px}.challenge-shortcut{width:25px!important;height:25px!important;min-height:25px!important}.player-training-strip{gap:8px!important;padding:12px!important}.latest-badge-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px}.latest-badge-grid button{font-size:10px;padding:8px 4px}.badge-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}.badge-card{padding:10px!important;min-width:0}.badge-card p{font-size:11px;line-height:1.5}.badge-card strong{font-size:12px}.badge-art{width:100%!important;max-width:105px;height:105px!important;margin:auto}.badge-tabs,.badge-categories{flex-wrap:wrap;gap:6px;overflow:visible}.badge-tabs button,.badge-categories button{font-size:11px;padding:8px}.arena-motivation{min-height:115px;margin:12px}.arena-quote{width:68%;font-size:10px;padding:7px}.team-profile-card .player-identity{min-height:455px!important;padding-bottom:190px!important}.team-profile-card .player-identity h2{font-size:27px!important}.team-profile-card .player-identity .team-portrait{width:64px!important;height:64px!important}.team-profile-card .team-hero-xp{font-size:12px}.arena-team{height:190px}.jump-figures{display:grid;grid-template-columns:1fr!important;gap:12px}.jump-image-card{width:100%;min-width:0}.jump-image-card svg{width:100%;height:auto}.privacy-options,.shared-skills{grid-template-columns:1fr}.public-profile-page{margin:14px!important;padding:16px!important}.shared-profile-card{padding:16px}.progress-reveal{max-width:94vw!important;max-height:86dvh;overflow:auto;padding:16px}.measurement-player-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.measurement-fields{display:grid;grid-template-columns:1fr!important}.global-search-controls{grid-template-columns:1fr}.legacy-table-wrap{max-width:100%;overflow-x:auto}.guest-page{margin:18px auto;padding:12px}.position-suggestion{min-height:100px!important}.position-suggestion strong{font-size:16px!important}.team-table{font-size:11px}.simulation-stage>.volleymon-sprite{right:0;bottom:35px;transform:scale(.75)}}
html[data-theme=classic] .team-profile-card .player-identity{min-height:auto!important;padding:26px 20px!important}html[data-theme=classic] .team-profile-card .team-portrait{position:relative!important;inset:auto!important}

.badge-card:not(.badge-locked) .badge-art{animation:badge-emblem-idle 4.8s ease-in-out infinite;transform-origin:center;filter:drop-shadow(0 0 6px #ffc17844)}.badge-card:nth-child(2n) .badge-art{animation-delay:-1.7s}.badge-card:nth-child(3n) .badge-art{animation-delay:-3.2s}.member-profile-private{display:grid;place-items:center;padding:12px;border:1px dashed #4c6b7c;border-radius:10px;color:#8ca7b9;font-size:12px}
@keyframes badge-emblem-idle{0%,100%{transform:translateY(0) rotate(0) scale(1);filter:drop-shadow(0 0 3px #ffc17833)}50%{transform:translateY(-3px) rotate(-1deg) scale(1.035);filter:drop-shadow(0 0 12px #ffc17888)}}

.badge-revoked .badge-color{opacity:0!important;animation:none!important}
