/* style.css - v18.4 FINAL COMPLETE (Roster Dots Fixed) */

:root {
    --bg-gradient: linear-gradient(135deg, #fff0f3 0%, #ffeaa7 100%);
    --main-color: #ff7675;       
    --border-color: #ff7675;     
    --panel-bg: rgba(255,255,255,0.9);
    --text-color: #2d3436;
    --card-shadow: 0 5px 15px rgba(255, 118, 117, 0.15);
    --toast-bg: rgba(255, 118, 117, 0.95);
    --filter-active-bg: #ff7675;
}

[data-theme="xmas"] { --bg-gradient: linear-gradient(135deg, #2d5a3e 0%, #a31818 100%); --main-color: #c0392b; --border-color: #f1c40f; --panel-bg: rgba(255,255,255,0.92); --text-color: #2c3e50; --card-shadow: 0 10px 30px rgba(0,0,0,0.3); --toast-bg: rgba(39, 174, 96, 0.95); --filter-active-bg: #27ae60; }
[data-theme="dark"] { --bg-gradient: linear-gradient(135deg, #000000 0%, #2d3436 100%); --main-color: #e74c3c; --border-color: #c0392b; --panel-bg: rgba(30, 30, 30, 0.9); --text-color: #ecf0f1; --card-shadow: 0 15px 40px rgba(192, 57, 43, 0.25); --toast-bg: rgba(192, 57, 43, 0.95); --filter-active-bg: #e74c3c; }

html, body { height: 100%; margin: 0; padding: 0; overflow: hidden; font-family: 'Fredoka', "Microsoft YaHei", sans-serif; background: var(--bg-gradient); color: var(--text-color); transition: background 0.5s; }

.app-wrapper { max-width: 1480px; height: 100%; margin: 0 auto; display: flex; flex-direction: column; padding: 8px; box-sizing: border-box; position: relative; z-index: 10; }
.header-bar { flex-shrink: 0; height: 60px; background: var(--panel-bg); border: 2px solid var(--border-color); border-radius: 15px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; box-shadow: var(--card-shadow); backdrop-filter: blur(5px); margin-bottom: 8px; }
.page-title { font-size: 22px !important; }
.header-bar .btn, .header-bar .badge { font-size: 13px; font-weight: 600; }
.main-content { flex: 1; display: flex; justify-content: center; gap: 12px; overflow: hidden; align-items: stretch; }
.panel { background: var(--panel-bg); border-radius: 12px; border: 2px solid var(--border-color); display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--card-shadow); backdrop-filter: blur(10px); height: 100%; transition: border-color 0.3s; }
.panel-header { padding: 8px 12px; background: rgba(255,255,255,0.15); border-bottom: 2px dashed var(--main-color); font-weight: 900; color: var(--main-color); display: flex; justify-content: space-between; align-items: center; font-size: 16px; flex-shrink: 0; }
.panel-header .badge { font-size: 12px; }
.panel-header .btn-group .btn { font-size: 12px; }

.col-left { width: 290px; flex-shrink: 0; display: flex; flex-direction: column; }
.col-right { width: 290px; flex-shrink: 0; display: flex; flex-direction: column; }
.pool-filters { padding: 5px; display: flex; gap: 3px; flex-wrap: wrap; background: rgba(255,255,255,0.2); border-bottom: 1px solid rgba(0,0,0,0.05); }
.btn-filter { font-size: 10px; padding: 2px 6px; border-radius: 8px; border: 1px solid #ccc; background: #fff; cursor: pointer; flex: 1; transition: 0.2s; font-weight: 600; color: #555; }
.btn-filter.active { background: var(--filter-active-bg); color: #fff; border-color: var(--filter-active-bg); }
.pool-list { padding: 5px; overflow-y: auto; flex: 1; }
.pool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.cap-list { padding: 8px; overflow-y: auto; flex: 1; }

.col-center { flex: 1; max-width: 900px; display: flex; flex-direction: column; gap: 0; min-width: 0; position: relative; }

.stage-slots-area { 
    flex: 0 0 auto; 
    display: flex; 
    justify-content: center; 
    align-items: stretch; 
    gap: 15px; 
    padding: 0 0 8px 0; 
    overflow-y: visible;
    min-height: 400px; 
}

.slot-col { width: 32%; min-width: 260px; max-width: 320px; display: flex; flex-direction: column; gap: 0; flex-shrink: 0; position: relative; }

.hero-card { background: #fff; border-radius: 12px 12px 0 0; overflow: hidden; box-shadow: 0 -2px 10px rgba(0,0,0,0.05); border: 4px solid #fff; border-bottom: none; position: relative; transition: 0.3s; display: flex; flex-direction: column; flex: 1; }
.hc-img-wrap { position: relative; width: 100%; aspect-ratio: 1 / 1; background: #f0f0f0; flex-shrink: 0; overflow: hidden; } 
.hc-img { width: 100%; height: 100%; object-fit: cover; display: block; position: relative; z-index: 1; }
.hc-gradient { position: absolute; bottom: 0; left: 0; right: 0; height: 60%; pointer-events: none; z-index: 2; }

.hc-info { padding: 8px 10px; background: #fff; display: flex; flex-direction: column; gap: 6px; position: relative; z-index: 3; flex: 1; }
.hc-rating-float { position: absolute; top: 8px; left: 8px; z-index: 5; background: linear-gradient(135deg, #FFC312, #EE5A24); color: #fff; font-family: 'Zcool KuaiLe', cursive; font-size: 20px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.3); border: 2px solid rgba(255,255,255,0.8); transform: rotate(-10deg); }
.audio-btn { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; background: #2ecc71; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 20; border: 2px solid #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.3); font-size: 14px; }
.hc-row-stats { display: flex; align-items: center; justify-content: space-between; margin-top: 0; }
.hc-pos-group { display: flex; gap: 3px; }
.hc-pos-dot { width: 24px; height: 24px; border-radius: 50%; color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; font-weight: bold; box-shadow: 0 2px 5px rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.5); }
.hc-mmr { font-size: 14px; font-weight: 900; color: #fff; background: linear-gradient(135deg, #0984e3, #74b9ff); padding: 2px 10px; border-radius: 12px; box-shadow: 0 2px 5px rgba(9, 132, 227, 0.3); }
.hc-name-static { font-size: 28px; font-weight: 900; margin: 4px 0; line-height: 1.1; text-shadow: 0 1px 2px rgba(0,0,0,0.1); text-align: center; }
.hc-row-time { font-size: 12px; opacity: 0.8; display: flex; align-items: center; gap: 4px; padding: 4px 0; margin-bottom: auto; color: inherit; font-weight: bold; border-top: 1px dashed rgba(0,0,0,0.1); }
.hc-declaration { margin-top: 4px; font-size: 13px; color: #444; background: #f8f9fa; padding: 8px; border-radius: 6px; border-left: 4px solid var(--main-color); text-align: left; line-height: 1.4; height: 72px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }

.bid-panel { background: #fff; border-radius: 0 0 12px 12px; padding: 8px; text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.1); border: 4px solid #fff; border-top: 1px dashed rgba(0,0,0,0.1); margin-top: 0; }
.bid-val { font-size: 32px; font-weight: 900; color: var(--main-color); line-height: 1; margin-bottom: 2px; } 
.bid-actions { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; } 
.btn-circle { width: 100%; aspect-ratio: 2/1; border-radius: 6px; border: none; font-weight: 900; color: #fff; box-shadow: 0 2px 0 rgba(0,0,0,0.1); font-size: 12px; margin: 0; padding: 0; cursor: pointer; } 
.btn-circle:disabled { background:#eee !important; color:#aaa !important; box-shadow:none; cursor:not-allowed; }

.stage-bottom-area { flex: 1; display: flex; flex-direction: column; gap: 8px; overflow: hidden; margin-top: 0; }
.log-panel { flex: 1; background: rgba(255,255,255,0.7); border-radius: 12px; padding: 8px; overflow-y: auto; font-size: 12px; border: 2px solid #fff; min-height: 0; }
.control-panel { background: var(--panel-bg); padding: 6px 10px; border-radius: 12px; display: flex; align-items: center; gap: 8px; justify-content: center; flex-wrap: nowrap; border: 2px solid var(--border-color); flex-shrink: 0; white-space: nowrap; }
.control-input { width: 50px !important; text-align: center; font-weight: bold; font-size: 14px; border: 1px solid #ccc; border-radius: 4px; height: 30px; }
.control-btn { padding: 0 12px; height: 30px; font-size: 12px; font-weight: bold; display: flex; align-items: center; justify-content: center; border-radius: 6px; border:none; color:#fff; white-space: nowrap; }
.btn-start { background: linear-gradient(to bottom, #2ecc71, #27ae60); }
.btn-sealed { background: linear-gradient(to bottom, #6c5ce7, #5f27cd); }
.btn-deal { background: linear-gradient(to bottom, #e74c3c, #c0392b); }
.btn-tool { background: #95a5a6; width: 30px; padding: 0; }

.cap-row { background: #fff; padding: 8px 10px; margin-bottom: 8px; border-radius: 10px; border: 2px solid #f0f0f0; border-left: 5px solid var(--main-color); font-size: 13px; cursor: pointer; transition: 0.2s; }
.cap-row:hover { border-color: var(--main-color); transform: translateX(3px); }
.cap-info-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
.cap-name { font-weight: 900; font-size: 15px; color: #2d3436; max-width: 130px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cap-budget { font-weight: 900; color: #00b894; font-size: 14px; font-family: 'Courier New', monospace; text-align: right; }
.cap-avail { font-size: 11px; color: #b2bec3; font-weight: normal; }
.cap-icons { display: flex; flex-wrap: wrap; height: auto; gap: 2px; }
.cap-mini-icon { width: 28px !important; height: 28px !important; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.1); transition: 0.2s; }
.cap-mini-icon:hover { transform: scale(1.2); z-index: 5; }
.btn-all-roster { width: 100%; margin-top: auto; padding: 10px; background: var(--main-color); color: #fff; border: none; border-radius: 10px; font-weight: 900; font-size: 14px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: 0.2s; }
.btn-all-roster:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0,0,0,0.2); }

/* === 聊天窗口 === */
.chat-window { 
    position: absolute; right: 0; bottom: 60px;
    width: 300px; height: 400px; 
    display: flex; flex-direction: column;
    background: rgba(255,255,255,0.98); 
    backdrop-filter: blur(10px); 
    border-radius: 15px;
    overflow: hidden; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    border: 1px solid rgba(0,0,0,0.1);
    transform-origin: bottom right;
    transition: transform 0.2s, opacity 0.2s;
}
.chat-window.hidden { transform: scale(0); opacity: 0; }

.chat-head {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: #fff; padding: 10px 15px; font-weight: bold;
    display: flex; justify-content: space-between; align-items: center;
    flex-shrink: 0;
}
.chat-body { 
    flex: 1; 
    overflow-y: auto; 
    background: #f8f9fa; 
    display: flex; flex-direction: column; 
    gap: 10px; padding: 12px;
    min-height: 0;
}
.chat-foot { 
    padding: 10px; display: flex; gap: 8px; 
    border-top: 1px solid #eee; background: #fff; 
    align-items: center;
    flex-shrink: 0;
}
.chat-input { border-radius: 20px !important; padding-left: 15px; background: #f1f2f6; border: 1px solid #eee; }
.chat-msg-row { display: flex; flex-direction: column; align-items: flex-start; animation: fadeIn 0.2s; max-width: 90%; }
.chat-bubble { padding: 8px 12px; border-radius: 15px; border-bottom-left-radius: 2px; position: relative; font-size: 13px; line-height: 1.4; box-shadow: 0 2px 5px rgba(0,0,0,0.05); word-break: break-all; }
.chat-meta { font-size: 10px; margin-bottom: 2px; margin-left: 4px; font-weight: bold; opacity: 0.7; }
.role-admin .chat-bubble { background: #fab1a0; color: #2d3436; border: 1px solid #e17055; border-bottom-left-radius: 2px; } .role-admin .chat-meta { color: #d63031; }
.role-captain .chat-bubble { background: #74b9ff; color: #fff; border: 1px solid #0984e3; border-bottom-right-radius: 2px; border-bottom-left-radius: 15px; } .role-captain .chat-meta { color: #0984e3; text-align: right; margin-right: 4px; }
.role-viewer .chat-bubble { background: #fff; color: #333; border: 1px solid #dfe6e9; } .role-viewer .chat-meta { color: #636e72; }

.pool-round-title { text-align: center; font-size: 12px; color: #999; font-weight: bold; margin: 10px 0 5px; position: relative; }
.pool-round-title::before, .pool-round-title::after { content: ""; display: inline-block; width: 30px; height: 1px; background: #ddd; vertical-align: middle; margin: 0 5px; }
.slot-empty { height: 100%; border: 4px dashed rgba(255,255,255,0.6); border-radius: 20px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); font-size: 28px; background: rgba(0,0,0,0.1); font-weight: 900; min-height: 400px; }
.pool-card { background: #fff; border: 2px solid #eee; border-radius: 8px; padding: 4px; text-align: center; cursor: pointer; transition: all 0.2s; display: flex; flex-direction: column; align-items: center; position: relative; min-height: 100px; }
.pool-card:hover { transform: translateY(-3px); border-color: var(--main-color); box-shadow: 0 5px 10px rgba(0,0,0,0.1); }
.pc-pos-box { display: flex; gap: 2px; justify-content: center; margin-bottom: 2px; width: 100%; height: 12px; }
.pc-pos-dot { width: 12px; height: 12px; border-radius: 50%; color: #fff; font-size: 8px; line-height: 12px; text-align: center; font-weight: bold; }
.pc-avatar-box { position: relative; width: 40px; height: 40px; margin: 0 auto; }
.pc-avatar { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.pc-rate-row { margin-top: 3px; height: 14px; display: flex; justify-content: center; }
.pc-rate-badge { font-size: 9px; padding: 0 4px; border-radius: 3px; color: #fff; font-weight: bold; box-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.pc-name { font-size: 10px; font-weight: bold; overflow: hidden; white-space: nowrap; max-width: 100%; color: #333; margin-top: 2px; }
.pc-price { font-size: 10px; font-weight: 900; color: #f1c40f; }

#countdownDisplay { position: absolute; top: 25%; left: 50%; transform: translate(-50%, -50%); font-size: 80px; font-weight: 900; color: #fff; text-shadow: 0 0 10px var(--main-color), 2px 2px 0 rgba(0,0,0,0.5); z-index: 100; pointer-events: none; opacity: 0; transition: opacity 0.2s; background: rgba(0,0,0,0.5); padding: 0 40px; border-radius: 40px; backdrop-filter: blur(4px); border: 4px solid #fff; }
#countdownDisplay.active { opacity: 1; animation: pulse 1s infinite; }
#toastContainer { position: fixed; top: 80px; left: 50%; transform: translateX(-50%); z-index: 10001; pointer-events: none; }
.toast-msg { background: var(--toast-bg); color: #fff; padding: 10px 20px; border-radius: 20px; font-weight: 900; margin-bottom: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.captain-panel-float { position: fixed; bottom: 80px; right: 20px; background: #fff; border: 3px solid var(--main-color); border-radius: 15px; padding: 10px 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); z-index: 200; text-align: right; cursor: move; }
.skin-wrapper { display: flex; align-items: center; gap: 5px; background: rgba(0,0,0,0.05); padding: 3px 10px; border-radius: 15px; font-size: 11px; }
.btn-skin { width: 16px; height: 16px; border-radius: 50%; cursor: pointer; border: 1px solid #fff; }
.skin-pink { background: #ff7675; } .skin-xmas { background: linear-gradient(45deg, #c0392b, #27ae60); } .skin-dark { background: #000; border-color: #c0392b; }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: rgba(0,0,0,0.05); }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.4); }

.pos-c1 { background: #ff7675; } .pos-c2 { background: #74b9ff; } .pos-c3 { background: #55efc4; } .pos-c4 { background: #fdcb6e; } .pos-c5 { background: #a29bfe; }
.pos-cx { background: #95a5a6; } /* 未知位置 */

.rate-hang { background: linear-gradient(135deg, #FFC312, #EE5A24); border-color: #F79F1F; }
.rate-niu { background: linear-gradient(135deg, #ED4C67, #B53471); border-color: #ffcccc; }
.rate-ren { background: linear-gradient(135deg, #12CBC4, #0652DD); border-color: #c7ecee; }
.rate-zhu { background: linear-gradient(135deg, #d2dae2, #808e9b); border-color: #dcdde1; color: #2d3436; }
.rate-shu { background: #b2bec3; border-color: #dfe6e9; color: #f5f6fa; }
.rating-hang { animation: border-glow-breath 1.5s infinite alternate ease-in-out; border-width: 2px; }
@keyframes border-glow-breath { 0% { border-color: #ffeaa7; box-shadow: 0 0 0 rgba(255,195,18,0); } 100% { border-color: var(--custom-glow, #FFC312); box-shadow: 0 0 15px var(--custom-glow, rgba(255,195,18,0.6)); } }

@media (max-width: 1200px) { .col-left { width: 220px; } .col-right { width: 200px; } .pool-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { html, body { height: auto; overflow-y: auto; } .app-wrapper { height: auto; padding: 5px; } .main-content { flex-direction: column; height: auto; overflow: visible; } .col-left { width: 100%; height: 350px; order: 1; margin-bottom: 10px; } .col-center { width: 100%; height: auto; order: 2; margin-bottom: 10px; } .col-right { width: 100%; height: 500px; order: 3; margin-bottom: 60px; } .stage-slots-area { height: auto; flex-wrap: wrap; } .stage-bottom-area { height: 350px; } .slot-col { width: 100%; max-width: 100%; } }

.shield-nav-container { display: flex; gap: 10px; margin-left: 15px; align-items: center; }
.shield-icon { width: 35px; height: 35px; object-fit: contain; cursor: pointer; transition: transform 0.3s ease; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)); animation: shield-breath 3s infinite ease-in-out; }
@keyframes shield-breath { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
.shield-icon:hover { animation-play-state: paused; transform: scale(1.3); z-index: 100; }

#shieldDetailModal .modal-content { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border: 5px solid var(--main-color); border-radius: 20px; }
.shield-full-img { width: 300px; height: 300px; object-fit: contain; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3)); display: block; margin: 0 auto; }
.winner-list { list-style: none; padding: 0; font-size: 16px; font-weight: bold; margin-top: 10px; }
.winner-list li { padding: 5px 0; color: var(--text-color); border-bottom: 1px dashed #ccc; }

/* === v17.8 互动特效样式 === */
.effect-flyer { position: fixed; z-index: 9999; font-size: 40px; pointer-events: none; transition: transform 0.5s linear; opacity: 1; }
.effect-splat { position: absolute; z-index: 200; width: 80px; height: auto; pointer-events: none; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3)); opacity: 0.9; }
.shake-effect { animation: shake-card 0.5s cubic-bezier(.36,.07,.19,.97) both; backface-visibility: hidden; transform-origin: center center; will-change: transform; }
@keyframes shake-card { 10%, 90% { transform: translate3d(-1px, 0, 0); } 20%, 80% { transform: translate3d(2px, 0, 0); } 30%, 50%, 70% { transform: translate3d(-4px, 0, 0); } 40%, 60% { transform: translate3d(4px, 0, 0); } }
.interact-mode { cursor: crosshair; filter: brightness(1.1); animation: interact-pulse 1s infinite alternate; }
.interact-mode::after { content: "点击互动"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(0,0,0,0.7); color: #fff; padding: 5px 10px; border-radius: 5px; font-size: 12px; pointer-events: none; z-index: 99; }
@keyframes interact-pulse { from { box-shadow: 0 0 10px rgba(255, 255, 255, 0); } to { box-shadow: 0 0 20px var(--main-color); } }
.float-interaction-box { position: absolute; top: 40%; z-index: 1000; pointer-events: none; display: flex; flex-direction: column; align-items: center; animation: float-up-fade-out 1.2s ease-out forwards; white-space: nowrap; }
.float-nick { font-size: 12px; background: rgba(0, 0, 0, 0.6); color: #fff; padding: 2px 8px; border-radius: 10px; font-weight: bold; margin-bottom: 5px; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.float-icon { font-size: 30px; }
@keyframes float-up-fade-out { 0% { transform: translate(-50%, 0) scale(0.5); opacity: 0; } 20% { transform: translate(-50%, -20px) scale(1.2); opacity: 1; } 100% { transform: translate(-50%, -120px) scale(1); opacity: 0; } }

/* === v17.9 Stats Popover Styles === */
#playerStatTip { background: #fff; border: 3px solid #ff7675; border-radius: 12px; padding: 0; box-shadow: 0 10px 30px rgba(255, 118, 117, 0.3); min-width: 180px; max-width: 220px; overflow: hidden; font-family: "Microsoft YaHei", sans-serif; pointer-events: none; z-index: 99999; }
.tip-header { background: #ff7675; color: #fff; text-align: center; padding: 8px 0; font-size: 16px; font-weight: bold; letter-spacing: 1px; }
.tip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; }
.tip-stat-box { background: #fff0f3; border-radius: 6px; text-align: center; padding: 6px 4px; display: flex; flex-direction: column; justify-content: center; border: 1px solid #ffeaa7; }
.tip-label { font-size: 10px; color: #888; margin-bottom: 2px; }
.tip-val { font-size: 14px; font-weight: 900; color: #2d3436; }
.tip-val.win { color: #2ecc71; } .tip-val.lose { color: #ff7675; } .tip-val.rate { color: #00b894; }
.tip-divider { border-top: 1px dashed #ffcccb; margin: 0 10px; }
.tip-tags { padding: 10px; text-align: center; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px; line-height: 1.2; }
.tip-tag-item { font-weight: bold; text-shadow: 0 1px 2px rgba(255,255,255,0.8); }

/* === 全员大名单：位置圆点样式 === */
.roster-pos-dot {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    border-radius: 50%;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    margin-right: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* === 强制覆盖全员大名单样式 (Fix Roster Size) === */
@media (min-width: 576px) {
    #allRosterModal .modal-dialog {
        max-width: 95% !important; /* 宽度占屏幕 95% */
        width: 95% !important;
        margin: 1.75rem auto;
    }
}

#allRosterModal .modal-content {
    min-height: 80vh; /* 高度至少 80% 屏幕 */
}

/* 名字和金额的字体加大 */
.roster-player-row {
    font-size: 15px !important; 
    padding: 8px 0 !important;
}

/* 徽章样式 */
.roster-badge {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    color: #fff;
    font-weight: bold;
    margin: 0 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}