
/* Equipped cosmetics: use the same artwork as the collection cards. */
.profile-avatar.rookie-frame,.seat-picture .seat-disc.rookie{outline:none!important;overflow:visible;position:relative;isolation:isolate;margin:11px 10px}
.profile-avatar.rookie-frame::before,.seat-picture .seat-disc.rookie::before{content:'';position:absolute;inset:-24%;background:url('cosmetic-frame.png') center/contain no-repeat;pointer-events:none;z-index:2;filter:drop-shadow(0 2px 2px #0d2b2166)}
.profile-avatar .avatar-badge,.seat-picture .seat-disc.debut::after{position:absolute;display:block;width:58%;height:68%;min-width:22px;min-height:26px;right:-24%;bottom:-17%;margin:0;padding:0;border:0;border-radius:0;background:url('cosmetic-badge.png') center/contain no-repeat;color:transparent!important;font-size:0!important;line-height:0;text-shadow:none;pointer-events:none;z-index:3;filter:drop-shadow(0 2px 2px #0c292488)}
.profile-portrait:has(.rookie-frame){gap:10px}
.seat-picture:has(.rookie){padding:0 2px;gap:4px}
.game-board:is(.go,.gomoku,.reversi) .token.jade,.jade-black .cell .stone.black,.jade-white .cell .stone.white{border:0;background-color:transparent;box-shadow:none;background-repeat:no-repeat;background-position:center;background-size:112% 112%;filter:drop-shadow(0 2px 1px #392b1e88)}
.game-board:is(.go,.gomoku,.reversi) .token.jade.p1,.jade-black .cell .stone.black{background-image:url('stone-jade-green.png')}
.game-board:is(.go,.gomoku,.reversi) .token.jade.p2,.jade-white .cell .stone.white{background-image:url('stone-jade-white.png')}
/* Keep the symbols and team colours of the other chess variants readable. */
.game-board:is(.xiangqi,.chess,.checkers) .token.jade{position:relative}
.game-board:is(.xiangqi,.chess,.checkers) .token.jade::before{content:'';position:absolute;inset:4%;border:1px solid #f1d690;border-radius:inherit;box-shadow:inset 0 0 0 1px #a2884840;pointer-events:none}
.game-board.chess .token.jade{background:radial-gradient(ellipse,#d0e4c730,transparent 72%);box-shadow:inset 0 0 10px #ead89821}
.game-board.xiangqi .token.jade{background:radial-gradient(circle at 30% 20%,#fff5d9,#c7d9b9 70%,#7d9b7a)}
@media(max-width:740px){
 .account-profile .profile-avatar.rookie-frame{margin:10px}
}
@media(max-width:740px),(max-width:1100px) and (max-height:520px){
 .phone-seats .profile-avatar.rookie-frame,.phone-seats .seat-picture .seat-disc.rookie{margin:5px 6px}
 .phone-seats .profile-avatar.rookie-frame::before,.phone-seats .seat-picture .seat-disc.rookie::before{inset:-21%}
 .phone-seats .profile-avatar .avatar-badge,.phone-seats .seat-picture .seat-disc.debut::after{width:52%;height:62%;min-width:16px;min-height:19px;right:-29%;bottom:-17%}
 .phone-seats .profile-portrait:has(.rookie-frame),.phone-seats .seat-picture:has(.rookie){gap:3px;padding:0}
}


.profile-avatar img.avatar-badge{content:normal;background:none;object-fit:contain;max-width:none}
.seat-picture .seat-disc.debut::after{content:''}
