[data-permission-denied="true"]{display:none!important}
#player-profile-dialog{width:min(900px,calc(100vw - 28px))}
#player-profile-dialog .owner-dialog-body{max-width:760px;margin:auto}
#player-profile-dialog small,#player-profile-dialog label,#player-profile-dialog p,#player-profile-dialog summary{text-shadow:none;line-height:1.45}
#player-profile-dialog small{display:block;font-size:1rem;color:#fff7d8;margin:.4rem 0 1rem}
.player-profile-hero{display:flex;align-items:center;justify-content:center;gap:24px;margin:8px auto 22px}
.player-profile-hero img{width:clamp(90px,20vw,140px);height:auto;border-radius:50%;background:#a9ddf133;filter:drop-shadow(0 6px 8px #173e3d55)}
.player-profile-hero strong{font:800 clamp(1.5rem,4vw,2.5rem)/1.1 'Barlow Condensed',sans-serif;color:#ffe279;overflow-wrap:anywhere}
.player-avatar-field{border:0;padding:0;margin:18px 0}
.player-avatar-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;max-height:340px;overflow:auto;padding:8px;scrollbar-gutter:stable}
.player-avatar-choice{position:relative;display:block!important;cursor:pointer;border-radius:50%;background:#b1def02b;aspect-ratio:1;margin:0!important}
.player-avatar-choice input{position:absolute;inset:0;width:100%!important;height:100%!important;opacity:0;margin:0;cursor:pointer}
.player-avatar-choice img{display:block;max-width:100%;width:100%;height:100%;object-fit:contain;border-radius:50%;border:3px solid transparent;box-sizing:border-box;pointer-events:none}
.player-avatar-choice input:checked+img{border-color:#ffe66e;background:#a7e86655;box-shadow:0 0 0 3px #286b52,0 0 18px #ffe56c88}
.player-avatar-choice input:focus-visible+img{outline:3px solid #fff;outline-offset:3px}
#player-profile-form{display:grid;gap:8px}
#player-profile-form input:not([type=radio]),#player-birth-new,#player-consent-url{box-sizing:border-box;max-width:100%;color:#1e493c;background:#fffcf1;border-radius:16px;border:2px solid #9bcbbf;padding:12px;font:700 1.1rem/1.4 system-ui}
#player-profile-form label:not(.player-avatar-choice){display:grid;gap:6px}
#player-profile-form input:disabled{color:#38554b;opacity:1;background:#e7ede8}
#player-consent-section,#guardian-section,#player-birth-correction{margin:22px 0;padding:16px;border-radius:20px;background:#164e474d}
#guardian-child-avatar{border-radius:50%;display:block;margin:auto}
#guardian-section label{display:flex;align-items:flex-start;gap:12px}
#guardian-section input{flex:0 0 24px;width:24px;height:24px}
#player-guardian-list button{font-size:1rem;min-height:44px}
@media(max-width:650px){.player-avatar-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-height:310px}.player-profile-hero{gap:12px}#player-profile-dialog .owner-dialog-body{padding:12px}}
.place-player-identity{display:flex;align-items:center;justify-content:center;gap:16px;color:#ffe178;font:800 1.6rem/1.2 'Barlow Condensed',sans-serif}
.place-player-identity img{border-radius:50%;background:#b1def033}
