.player-home{display:flex;align-items:center;gap:13px;width:100%;max-width:440px;text-align:left;border:2px solid #ded8fa;border-radius:20px;padding:13px 16px;margin:18px 0;background:#fff;color:#312653;box-shadow:0 4px 0 #e4def7;cursor:pointer;font:inherit}
.player-home .avatar{width:54px;height:54px;flex-shrink:0}.player-home-copy{display:grid;gap:3px;min-width:0}.player-home-copy strong{font-size:17px;color:#5141d9}.player-home-copy small{font-size:13px;overflow-wrap:anywhere}.player-home .player-arrow{margin-left:auto;font-size:24px;color:#5141d9}
.avatar-customize{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;padding:0;border:0;border-radius:16px;background:transparent;color:inherit;font:inherit;cursor:pointer;flex-shrink:0}.avatar-customize:focus-visible,.player-home:focus-visible{outline:3px solid #5141d9;outline-offset:4px}.avatar-customize .avatar{margin:0}
dialog.customize-player{width:min(580px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:22px 22px 0;border:2px solid #d6cdf8;border-radius:25px;background:#fffcf7;color:#30263e;overflow-y:auto;overscroll-behavior:contain;box-shadow:0 18px 80px #20163e55}
.customize-player::backdrop{background:#241b3fb3;backdrop-filter:blur(4px)}.customize-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.customize-player h2{font-size:clamp(25px,6vw,34px);margin:8px 0 16px;line-height:1.1}.customize-preview{display:flex;align-items:center;gap:14px;padding:13px;background:#eee9ff;border-radius:18px}.customize-preview>.avatar{width:64px;height:64px}.customize-preview>div{display:grid;gap:6px;min-width:0}.customize-preview strong{font-size:19px;overflow-wrap:anywhere}.customize-preview span{font-size:14px}.customize-preview .avatar{font-size:36px;flex-shrink:0}
.customize-player fieldset{padding:0;border:0;margin:22px 0}.customize-player legend{font-size:17px;font-weight:800;margin-bottom:10px}.customize-player .avatar-options{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.customize-player .avatar-options button{min-width:0;width:100%;height:56px;padding:4px;border-radius:14px}.customize-player .avatar-options .avatar{width:100%;height:100%;margin:0}.customize-player .score-sounds{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.customize-player .score-sounds button{min-height:48px;line-height:1.25;font-size:14px;text-align:left;white-space:normal}.customize-player [aria-pressed=true]{outline:2px solid #5141d9;outline-offset:1px;background:#eae4ff!important;color:#3526a5!important}.customize-footer{position:sticky;bottom:0;background:#fffcf7;border-top:1px solid #e8e0f3;padding:12px 0 max(14px,env(safe-area-inset-bottom));margin-top:12px}.customize-footer p{font-size:13px;margin:0 0 10px;line-height:1.4}.customize-actions{display:flex;gap:10px}.customize-actions>.button{min-height:48px;flex:1;white-space:nowrap}.customize-footer button:disabled{opacity:.65}.customize-player #customize-conflict .button{font-size:13px;margin:0 0 10px;min-height:44px}.customize-player .small{font-size:13px;line-height:1.5}
@media(max-width:380px){dialog.customize-player{padding:16px 14px 0}.customize-player .avatar-options{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.customize-player *{scroll-behavior:auto!important}}

.customize-player .score-sounds button{display:flex;align-items:center;gap:7px}.customize-player .score-sounds button>span{display:inline;margin:0}.customize-player .score-sounds [aria-pressed=true]:after{content:"✓";margin-left:auto;font-weight:900}
