.lobby-crest { display:inline-flex; align-items:center; justify-content:center; flex:none; width:34px; height:38px; padding:3px; border:1px solid transparent; border-radius:5px; background:transparent; }
.lobby-crest svg { width:27px; height:32px; }
button.lobby-crest { cursor:pointer; border-color:var(--border); }
button.lobby-crest:hover, button.lobby-crest:focus-visible { background:#18323e; border-color:currentColor; }
.crest-picker { margin:auto; width:min(720px, calc(100vw - 32px)); max-height:85vh; box-sizing:border-box; padding:22px; color:#dce9ef; background:#0a1822; border:1px solid #416278; border-radius:12px; }
.crest-picker::backdrop { background:#000a; }
.crest-picker-heading { display:flex; justify-content:space-between; align-items:center; gap:16px; }
.crest-picker h2 { font-size:20px; margin:0; }
.crest-picker p { margin:8px 0 20px; color:#95aab8; font-size:13px; }
.crest-close { font-size:26px; color:#dce9ef; background:transparent; border:0; cursor:pointer; padding:0 8px; }
.crest-grid { display:grid; grid-template-columns:repeat(8, minmax(0, 1fr)); gap:8px; }
.crest-choice { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; padding:10px 2px; background:#10232e; border:1px solid #294453; border-radius:6px; cursor:pointer; min-width:0; }
.crest-choice svg { width:36px; height:42px; }
.crest-choice span { font-size:10px; color:#dce9ef; }
.crest-choice[aria-pressed="true"] { border-color:currentColor; background:#203844; box-shadow:inset 0 0 0 1px currentColor; }
.crest-choice:hover, .crest-choice:focus-visible { outline:2px solid currentColor; outline-offset:1px; }
@media(max-width:600px) { .crest-grid { grid-template-columns:repeat(5, minmax(0, 1fr)); } .crest-picker { padding:14px; } }
