.chess-avatar{background:transparent!important;overflow:hidden;vertical-align:middle}.chess-avatar img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;border-radius:inherit}
.join-brand-bang{white-space:nowrap}
.avatar-choice-dialog{width:min(760px,calc(100% - 24px));max-height:calc(100svh - 32px);padding:22px;border:1px solid var(--line);border-radius:22px;color:var(--ink);background:var(--paper);box-shadow:0 22px 75px #14292d40;overflow:hidden}.avatar-choice-dialog[open]{display:flex;flex-direction:column}.avatar-choice-dialog::backdrop{background:#14292d80;backdrop-filter:blur(3px)}.avatar-choice-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-shrink:0}.avatar-choice-heading .eyebrow{margin-bottom:8px;font-size:9px}.avatar-choice-heading h2{margin:0;font-size:27px}.avatar-choice-close{width:44px;height:44px;flex-shrink:0;border:1px solid var(--line);border-radius:12px;background:white}.avatar-choice-help{font-size:12px;color:var(--muted);margin:12px 0}.avatar-choice-filters{display:flex;gap:7px;overflow-x:auto;padding:3px 3px 8px;flex-shrink:0}.avatar-choice-filters button{min-height:40px;padding:9px 12px;white-space:nowrap;border:1px solid var(--line);border-radius:20px;background:white;font-size:12px}.avatar-choice-filters button[aria-pressed=true]{background:var(--ink);color:white;border-color:var(--ink)}.avatar-choice-notice{margin:0 0 10px;line-height:1.5;color:var(--muted);flex-shrink:0}.avatar-choice-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;max-height:440px;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:4px;scrollbar-width:thin}.avatar-choice-option{position:relative;display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0;padding:9px 5px;border:2px solid transparent;border-radius:15px;background:white}.avatar-choice-option>.avatar{width:72px;height:72px;border-radius:17px}.avatar-choice-name{font-size:11px;font-weight:600;line-height:1.3}.avatar-choice-option.selected{border-color:#317d69;background:#edf7f1}.avatar-choice-option:hover:not(:disabled){border-color:#b9c6dd}.avatar-choice-option.selected:hover{border-color:#317d69}.avatar-choice-option:focus-visible{outline-offset:0}.avatar-choice-option.occupied{opacity:.6;background:#eee}.avatar-choice-option.occupied img{filter:grayscale(.8)}.avatar-choice-badge{position:absolute;right:4px;top:4px;font-size:9px;line-height:18px;padding:0 5px;border-radius:9px;background:var(--ink);color:white}.avatar-choice-badge:empty{display:none}
.join-page{padding-top:28px;padding-bottom:25px}.join-page>.eyebrow{margin-bottom:12px}.join-page h1{margin-bottom:12px}.join-page>p.muted{margin-bottom:18px}.join-page .join-panel{max-width:460px;padding:22px;margin:22px auto 18px}.join-page label{margin-bottom:17px}.join-page fieldset{margin-bottom:14px}.join-page legend{margin-bottom:8px}.join-page .form-error:empty{display:none}
.character-preview{display:flex;align-items:center;gap:12px;padding:10px;background:#f3f5fc;border:1px solid #e0e4ef;border-radius:15px}.character-identity{display:flex;align-items:center;gap:12px;flex:1;min-width:0}.character-preview-avatar{width:64px;height:64px;border-radius:16px}.character-identity>div{display:flex;flex-direction:column;gap:5px;min-width:0}.character-identity b{font-size:15px;line-height:1.25}.character-identity>div>span{color:var(--muted);font-size:11px;line-height:1.3}.character-change{flex-shrink:0;min-height:44px;padding:10px 11px;border:1px solid #d9deeb;background:white;border-radius:10px;font-size:12px;font-weight:600}.character-change>span{font-size:17px;margin-left:3px}.character-change:hover:not(:disabled){background:#e8edf8}.character-availability{color:var(--muted);font-size:11px;line-height:1.5;margin:8px 0 0}
@media(max-width:600px){.join-page{padding-top:23px}.join-page .join-panel{padding:18px 16px}.character-preview{gap:8px;padding:8px}.character-identity{gap:9px}.character-preview-avatar{width:56px;height:56px;border-radius:14px}.character-identity b{font-size:14px}.character-change{padding:9px 8px;font-size:11px}}
@media(max-width:360px){.character-preview-avatar{width:48px;height:48px;border-radius:12px}.character-identity{gap:7px}.character-identity b{font-size:12px}.character-identity>div>span{font-size:10px}.character-change{padding:8px 6px}.character-change>span{margin-left:1px}}
@media(max-width:600px){.avatar-choice-dialog{padding:16px;border-radius:18px}.avatar-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.avatar-choice-option>.avatar{width:64px;height:64px;border-radius:15px}.avatar-choice-heading h2{font-size:24px}.avatar-choice-name{font-size:10px}.avatar-choice-filters button{font-size:11px;padding:9px 11px}}
@media(max-width:360px){.avatar-choice-option>.avatar{width:52px;height:52px}.avatar-choice-option{padding:8px 3px}.avatar-choice-name{font-size:9px}}
