@charset "UTF-8";
.game-badges-panel{margin-bottom:24px;padding:0}
.game-badges-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:62px;padding:18px 22px;cursor:pointer;list-style:none}
.game-badges-panel>summary::-webkit-details-marker{display:none}
.game-badges-panel>summary:focus-visible{outline:2px solid var(--gold,#F0B90B);outline-offset:3px;border-radius:10px}
#game-badges-title{display:flex;align-items:center;gap:12px;font-size:15px;font-weight:600}
#game-badges-title>.icon{width:19px;height:19px;color:var(--gold,#F0B90B)}
.game-badges-chevron{width:18px;height:18px;flex:none;color:var(--muted)}
.game-badges-panel[open] .game-badges-chevron{transform:rotate(180deg)}
.game-badges-body{padding:0 22px 20px}
.game-badges-body>.subtext{margin:0 0 12px;font-size:12px}
/* Compact chip grid (2.66): one pill per badge, wrapping; twenty chips take four to five rows at 375 px. */
.game-badge-options{padding:0;border:0;margin:0;min-width:0}
.game-badge-grid{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.game-badge-chip{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:6px 12px;border:1px solid var(--line);border-radius:999px;background:var(--raised);cursor:pointer;min-width:0;position:relative}
/* The checkbox stays in the tab order and toggles from the label; it is drawn by the pill (border, emblem, state), not by itself. */
.game-badge-chip input{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.game-badge-chip:focus-within{outline:2px solid var(--gold,#F0B90B);outline-offset:2px}
.game-badge-chip.selected{border-color:var(--gold,#F0B90B)}
.game-badge-chip.locked{opacity:.6;cursor:default}.game-badge-chip.locked .game-badge-emblem{color:var(--muted)}
.game-badge-chip-copy{display:flex;flex-direction:column;gap:1px;min-width:0}
.game-badge-chip-copy>strong{font-size:13px;line-height:1.3;white-space:nowrap}
.game-badge-chip-copy>small{font-size:11px;line-height:1.3;color:var(--muted)}
/* 2.69 item 15: the sibling info button opens the badge dialog (M.modal); the 2.66 inline details row and its chevron are gone. */
.game-badge-info{display:inline-grid;place-items:center;flex:none;width:28px;height:40px;margin-left:-4px;padding:0;border:0;border-radius:8px;background:none;color:var(--muted);cursor:pointer}
.game-badge-info:hover,.game-badge-info:focus-visible{color:var(--text)}
.game-badge-info:focus-visible{outline:2px solid var(--gold,#F0B90B);outline-offset:1px}
.game-badge-info .icon{width:16px;height:16px}
.game-badge-dialog{display:grid;gap:10px}.game-badge-dialog h3{margin:6px 0 0;font-size:13px;color:var(--muted);font-weight:600}
.game-badge-dialog-state{margin:0;color:var(--text);font-size:14px}.game-badge-dialog-text{margin:0;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.game-badge-dialog .puzzle-achievement-progress{display:grid;gap:8px;margin-top:2px;font-size:12px;color:var(--muted)}
.puzzle-achievement-progress progress{width:100%;height:7px;appearance:none;border:0;border-radius:6px;overflow:hidden;background:var(--raised)}
.puzzle-achievement-progress progress::-webkit-progress-bar{background:var(--raised)}
.puzzle-achievement-progress progress::-webkit-progress-value{background:#b193de;border-radius:6px}
.puzzle-achievement-progress progress::-moz-progress-bar{background:#b193de;border-radius:6px}
.game-badge-emblem{display:inline-grid;place-items:center;flex:none;width:24px;height:24px}.game-badge-emblem .icon{width:22px;height:22px}
.game-badge-emblem.verified{color:#2ECA96}.game-badge-emblem.elite{color:#F0862B}.game-badge-emblem.immune{color:#F0B90B}
.game-badge-emblem.true_ninja{color:#6FB7FF}.game-badge-emblem svg.badge-true-ninja{width:22px;height:22px}
.game-badge-emblem.puzzle_master,.profile-badge.earned.puzzle_master,.identity-badge.earned.puzzle_master,.badge-dialog-emblem.puzzle_master{color:#c3a8ef}
/* The preview sits first (2.66), directly under the subtext. */
.game-badge-preview{display:grid;gap:8px;margin:0 0 14px;padding:14px 16px;border:1px solid var(--line);border-radius:10px;background:var(--raised)}
.game-badge-preview-label{font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.game-badge-preview-line{display:flex;align-items:center;gap:8px;min-width:0;flex-wrap:wrap}.game-badge-preview-line .player-name{max-width:100%}
.game-badge-preview-strip{pointer-events:none}.game-badge-preview-strip:empty{display:none}
.game-badge-preview-order{margin:0;font-size:12px;line-height:1.6;color:var(--muted);overflow-wrap:anywhere}
.game-badge-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px}.game-badge-actions>span{font-size:13px;color:var(--muted)}
.game-badge-actions .button{width:auto}.game-badge-save-status:empty{display:none}
@media(max-width:700px){.game-badges-panel>summary{padding:17px 18px}.game-badges-body{padding:0 18px 18px}.game-badge-chip{padding:5px 10px;gap:7px}.game-badge-preview{padding:12px 14px}.game-badge-actions{flex-wrap:wrap}.game-badge-actions .button{flex:1;min-width:180px}}
