/* Generated from public/avatar-catalog.js. Portrait crops and shared profile frame; screens own avatar dimensions. */
:root{--wpas-avatar-fallback:url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%3E%3Crect%20width%3D%22100%22%20height%3D%22100%22%20fill%3D%22%23173247%22%2F%3E%3Ccircle%20cx%3D%2250%22%20cy%3D%2236%22%20r%3D%2218%22%20fill%3D%22%239ab8c9%22%2F%3E%3Cpath%20d%3D%22M12%20100v-8a38%2038%200%200%201%2076%200v8%22%20fill%3D%22%239ab8c9%22%2F%3E%3C%2Fsvg%3E')}
:root:root:root:is(#wpas-glass-scope,:root) .avatar-art[data-avatar="0"]{background-image:url('/assets/mobile/avatar-0-v1.webp'),var(--wpas-avatar-fallback)!important;background-size:100% 100%!important;background-position:50% 50%!important;background-repeat:no-repeat;}
:root:root:root:is(#wpas-glass-scope,:root) .avatar-art[data-avatar="1"]{background-image:url('/assets/mobile/avatar-1-v1.webp'),var(--wpas-avatar-fallback)!important;background-size:100% 100%!important;background-position:50% 50%!important;background-repeat:no-repeat;}
:root:root:root:is(#wpas-glass-scope,:root) .avatar-art[data-avatar="2"]{background-image:url('/assets/mobile/avatar-2-v1.webp'),var(--wpas-avatar-fallback)!important;background-size:100% 100%!important;background-position:50% 50%!important;background-repeat:no-repeat;}
:root:root:root:is(#wpas-glass-scope,:root) .avatar-art[data-avatar="3"]{background-image:url('/assets/mobile/avatar-3-v1.webp'),var(--wpas-avatar-fallback)!important;background-size:100% 100%!important;background-position:50% 50%!important;background-repeat:no-repeat;}
:root:root:root:is(#wpas-glass-scope,:root) .avatar-art[data-avatar="4"]{background-image:url('/assets/mobile/avatar-4-v1.webp'),var(--wpas-avatar-fallback)!important;background-size:100% 100%!important;background-position:50% 50%!important;background-repeat:no-repeat;}
:root:root:root:is(#wpas-glass-scope,:root) .avatar-art[data-avatar="5"]{background-image:url('/assets/mobile/avatar-5-v1.webp'),var(--wpas-avatar-fallback)!important;background-size:100% 100%!important;background-position:50% 50%!important;background-repeat:no-repeat;}
:root:root:root:is(#wpas-glass-scope,:root) .avatar-art[data-avatar="6"]{background-image:url('/assets/mobile/avatar-6-v1.webp'),var(--wpas-avatar-fallback)!important;background-size:100% 100%!important;background-position:50% 50%!important;background-repeat:no-repeat;}
:root:root:root:is(#wpas-glass-scope,:root) .avatar-art[data-avatar="7"]{background-image:url('/assets/mobile/avatar-7-v1.webp'),var(--wpas-avatar-fallback)!important;background-size:100% 100%!important;background-position:50% 50%!important;background-repeat:no-repeat;}
:root:root:root:is(#wpas-glass-scope,:root) .avatar-art[data-avatar="8"]{background-image:url('/assets/mobile/avatar-8-v1.webp'),var(--wpas-avatar-fallback)!important;background-size:100% 100%!important;background-position:50% 50%!important;background-repeat:no-repeat;}
:root:root:root:is(#wpas-glass-scope,:root) .avatar-art[data-avatar="9"]{background-image:url('/assets/mobile/avatar-9-v1.webp'),var(--wpas-avatar-fallback)!important;background-size:100% 100%!important;background-position:50% 50%!important;background-repeat:no-repeat;}
:root:root:root:is(#wpas-glass-scope,:root) .avatar-art[data-avatar="10"]{background-image:url('/assets/mobile/avatar-10-v1.webp'),var(--wpas-avatar-fallback)!important;background-size:100% 100%!important;background-position:50% 50%!important;background-repeat:no-repeat;}
:root:root:root:is(#wpas-glass-scope,:root) .avatar-art[data-avatar="11"]{background-image:url('/assets/mobile/avatar-11-v1.webp'),var(--wpas-avatar-fallback)!important;background-size:100% 100%!important;background-position:50% 50%!important;background-repeat:no-repeat;}
:root:root:root:is(#wpas-glass-scope,:root) .avatar-art[data-avatar="12"]{background-image:url('/assets/mobile/avatar-12-v1.webp'),var(--wpas-avatar-fallback)!important;background-size:100% 100%!important;background-position:50% 50%!important;background-repeat:no-repeat;}
:root:root:root:is(#wpas-glass-scope,:root) .avatar-art[data-avatar="13"]{background-image:url('/assets/mobile/avatar-13-v1.webp'),var(--wpas-avatar-fallback)!important;background-size:100% 100%!important;background-position:50% 50%!important;background-repeat:no-repeat;}
:root:root:root:is(#wpas-glass-scope,:root) .avatar-art[data-avatar="14"]{background-image:url('/assets/mobile/avatar-14-v1.webp'),var(--wpas-avatar-fallback)!important;background-size:100% 100%!important;background-position:50% 50%!important;background-repeat:no-repeat;}
:root:root:root:is(#wpas-glass-scope,:root) .avatar-art[data-avatar="15"]{background-image:url('/assets/mobile/avatar-15-v1.webp'),var(--wpas-avatar-fallback)!important;background-size:100% 100%!important;background-position:50% 50%!important;background-repeat:no-repeat;}
:root:root:root:is(#wpas-glass-scope,:root) .avatar-art[data-avatar="16"]{background-image:url('/assets/mobile/avatar-16-v1.webp'),var(--wpas-avatar-fallback)!important;background-size:100% 100%!important;background-position:50% 50%!important;background-repeat:no-repeat;}
:root:root:root:is(#wpas-glass-scope,:root) .avatar-art[data-avatar="17"]{background-image:url('/assets/mobile/avatar-17-v1.webp'),var(--wpas-avatar-fallback)!important;background-size:100% 100%!important;background-position:50% 50%!important;background-repeat:no-repeat;}
:root:root:root:is(#wpas-glass-scope,:root) .avatar-art[data-avatar="18"]{background-image:url('/assets/mobile/avatar-18-v1.webp'),var(--wpas-avatar-fallback)!important;background-size:100% 100%!important;background-position:50% 50%!important;background-repeat:no-repeat;}
:root:root:root:is(#wpas-glass-scope,:root) .avatar-art[data-avatar="19"]{background-image:url('/assets/mobile/avatar-19-v1.webp'),var(--wpas-avatar-fallback)!important;background-size:100% 100%!important;background-position:50% 50%!important;background-repeat:no-repeat;}
/* One profile-frame material for every avatar host; each screen owns its size. */
:root {--wpas-avatar-frame:linear-gradient(140deg,#c8eff8,#14556b);}
:root:root:root:is(#wpas-glass-scope,:root)
:is(.portrait,.profile-avatar,.profile-roster-avatar,.f7-record-avatar,.f7-ranked-avatar,.f7-desktop-ranked-avatar,.f7-desktop-header-avatar,.f7-bank-account-avatar,.f7-admin-player-avatar,.rank-result-avatar,.region-row-avatar,.console-avatar,#lobby-player-avatar,#lobby-ai-avatar,#menu-seat-avatar,#avatars button,.f7-ai-avatar-choice):has(>.avatar-art,>img,>video) {
 box-sizing:border-box!important;border-radius:50%!important;overflow:hidden;
 padding:var(--wpas-avatar-frame-width,2px)!important;border-width:0!important;
 background:var(--wpas-avatar-frame)!important;
}
:root:root:root:is(#wpas-glass-scope,:root)
:is(.portrait,.profile-avatar,.profile-roster-avatar,.f7-record-avatar,.f7-ranked-avatar,.f7-desktop-ranked-avatar,.f7-desktop-header-avatar,.f7-bank-account-avatar,.f7-admin-player-avatar,.rank-result-avatar,.region-row-avatar,.console-avatar,#lobby-player-avatar,#lobby-ai-avatar,#menu-seat-avatar,#avatars button,.f7-ai-avatar-choice)>:is(.avatar-art,img,video) {
 display:block;width:100%;height:100%;border-radius:50%!important;object-fit:cover;
}
:is(.player-license .portrait,.profile-avatar,#lobby-player-avatar,#lobby-ai-avatar,.f7-desktop-ranked-avatar) {--wpas-avatar-frame-width:4px;}
.f7-ranked-avatar {--wpas-avatar-frame-width:3px;}
/* The shared frame replaces the old seat border and inner media stroke.
   Photo and video share the same inset; status glows and decision clocks stay outside it. */
:root:root:root #game #seats .portrait:has(>.avatar-art,>video) {padding:2px!important;}
:root:root:root #game #seats .portrait>:is(.avatar-art,video) {
 inset:2px;width:calc(100% - 4px);height:calc(100% - 4px);box-shadow:none;
}
#game #seats>.seat.active .portrait {--wpas-avatar-frame:linear-gradient(140deg,#c8f8e9,#145b45);}
#game #seats>.seat.all-in .portrait {--wpas-avatar-frame:linear-gradient(140deg,#ffd3da,#b82c46);}
:is(#avatars button,.f7-ai-avatar-choice).selected:has(>.avatar-art) {outline:2px solid var(--wg-primary-ink,#58edf3);outline-offset:2px;}
