/* 玩家记录与票型记录并列为一级视图 */
.game-view-tabs{display:flex;margin-top:10px;padding:3px;border-radius:10px;background:#eef1f4}
.game-view-tabs button{height:34px;display:flex;flex:1;align-items:center;justify-content:center;border-radius:8px;background:transparent;color:#747d89;font-size:9px}
.game-view-tabs button.selected{background:#fff;color:#202936;font-weight:750;box-shadow:0 2px 8px #26313e12}
.game-view-tabs i{min-width:16px;height:16px;margin-left:5px;padding:0 4px;display:grid;place-items:center;border-radius:8px;background:#dfe4e9;color:#65707c;font-size:7px;font-style:normal}
.game-view-tabs button.selected i{background:#202936;color:#fff}
.game-subview[hidden]{display:none}
.vote-overview{margin-top:13px}
.vote-overview>header{display:flex;align-items:center;justify-content:space-between}
.vote-overview>header>span{display:flex;flex-direction:column}
.vote-overview>header strong{font-size:13px}
.vote-overview>header small{margin-top:3px;color:#89919c;font-size:8px}
.vote-overview>header button{padding:8px 10px;border-radius:8px;background:#202936;color:#fff;font-size:8px;font-weight:650}
.vote-round-overview{margin-top:9px}
.vote-round-overview>article{margin-bottom:9px;padding:13px;border:1px solid #e0e4e9;border-radius:12px;background:#fff}
.vote-round-overview article>header{display:flex;align-items:center;justify-content:space-between}
.vote-round-overview article>header span{display:flex;flex-direction:column}
.vote-round-overview article>header b{font-size:11px}
.vote-round-overview article>header small{margin-top:3px;color:#858e99;font-size:8px}
.vote-round-overview article>header button{padding:6px 8px;border-radius:7px;background:#edf3ff;color:#326fe8;font-size:8px}
.overview-groups{margin-top:10px;border-top:1px solid #edf0f3}
.overview-groups p{display:flex;align-items:center;margin:0;padding:9px 0;border-bottom:1px solid #edf0f3}
.overview-groups p>b{width:45px;color:#326fe8;font-size:9px}
.overview-groups p>span{min-width:0;flex:1;color:#555f6c;font-size:8px}
.overview-groups p>em{color:#8b939d;font-size:8px;font-style:normal}
.empty-vote-round{padding:18px 0;color:#989fa8;font-size:8px;text-align:center}
.vote-round-overview article>footer{margin-top:8px;color:#8b939d;font-size:7px;text-align:right}
.game-view-tabs+.game-subview .sheriff-summary{margin-top:10px}
.game-events span{padding-right:5px}
.game-events span button{width:18px;height:18px;margin-left:7px;border-radius:6px;background:#ffffffa8;color:#b54b35;font-size:11px;line-height:1}
.vote-round-overview article>footer{display:flex;align-items:center;justify-content:space-between;text-align:left}
.vote-round-overview article>footer b{color:#2d3743;font-size:8px}
.vote-round-overview article>footer span{color:#8b939d;font-size:7px}

/* 警徽是全局状态：号码牌给轻提示，详情按需展开 */
.badge-summary{width:100%;min-height:45px;margin-top:8px;padding:7px 9px;display:flex;align-items:center;border:1px solid #e3e7ec;border-radius:10px;background:#fff;text-align:left}
.badge-summary>i{width:27px;height:27px;display:grid;place-items:center;flex-shrink:0;border-radius:8px;background:#fff3d6;color:#a56b0e;font-size:9px;font-style:normal;font-weight:850}
.badge-summary>span{display:flex;min-width:0;flex:1;flex-direction:column;margin-left:8px}
.badge-summary b{font-size:9px}
.badge-summary small{margin-top:3px;overflow:hidden;color:#79818c;font-size:8px;text-overflow:ellipsis;white-space:nowrap}
.badge-summary>em{color:#8c949f;font-size:8px;font-style:normal}
.player-card{position:relative}
.player-marks{display:flex;flex-shrink:0;gap:4px;align-items:center}
.player-marks>em{padding:3px 5px;border-radius:5px;font-size:7px;font-style:normal;font-weight:750}
.player-marks .self-mark{background:#202936;color:#fff}
.player-marks .badge-mark{position:absolute;left:34px;top:5px;z-index:2;width:16px;height:16px;padding:0;display:grid;place-items:center;border:2px solid #fff;border-radius:50%;background:#e4ad32;color:#fff;font-size:7px;box-shadow:0 1px 3px #7a571f30}
.player-marks .badge-mark[hidden]{display:none}
.player-card.badge-owner>header>i{box-shadow:0 0 0 2px #e2ad36}
.badge-modal{max-height:82vh;overflow-y:auto}
.badge-current{padding:12px 13px;display:flex;align-items:center;justify-content:space-between;border-radius:10px;background:#fff8e7}
.badge-current small{color:#967028;font-size:8px}
.badge-current strong{color:#714a08;font-size:11px}
.badge-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.badge-actions button{padding:9px;border-radius:8px;background:#f1f3f6;color:#58616c;font-size:8px}
.badge-actions #destroyBadge{background:#fff0ed;color:#bd4b35}
.badge-actions button:disabled{background:#f2f3f5;color:#b2b7bf}
.badge-history{margin-top:15px;padding-top:12px;border-top:1px solid #eceff2}
.badge-history>b{display:block;margin-bottom:5px;font-size:9px}
.badge-history p{margin:0;padding:8px 0;display:flex;align-items:center;border-bottom:1px solid #eff1f4;color:#58616d;font-size:8px}
.badge-history p>i{width:18px;height:18px;margin-right:7px;display:grid;place-items:center;border-radius:6px;background:#fff3d6;color:#9a6811;font-size:7px;font-style:normal;font-weight:750}
.badge-empty{padding:16px 0;color:#969da6;font-size:8px;text-align:center}
@media(max-width:390px){.player-marks>em{padding:3px 4px;font-size:6px}.badge-modal .speaker-options{grid-template-columns:repeat(4,1fr)}}
