/* Only the new entry point is added to the live card system. */
#main .card .thread-count-button{position:relative;display:inline-flex;align-items:center;justify-content:flex-end;gap:4px;flex:0 0 auto;width:auto;min-height:0;height:auto;margin:0 0 0 auto;padding:0;background:none;border:0;transform:none;color:#69d7ff;font:650 9px/1.2 var(--font);white-space:nowrap;letter-spacing:.3px;text-shadow:0 0 5px #1bbcff66;filter:drop-shadow(0 0 3px #20baff44);z-index:1}
#main .card .thread-count-button:before{content:'';position:absolute;inset:-6px -3px}
#main .card .thread-count-button svg{width:13px;height:13px;flex-shrink:0}
#main .card .thread-count-value:empty{display:none}
#main .card .thread-count-value{font-size:9px;letter-spacing:0}
#main .card .thread-count-button:focus-visible{outline:2px solid #69d7ff;outline-offset:3px;border-radius:3px}
#main .card .thread-count-button:hover{color:#a6eaff}
#main .card .card-head,#main .card .summary-top,#main .card .recap-top,#main .card .finished-heading{display:flex;align-items:center;flex-wrap:nowrap;gap:6px}
#main .card .game-meta{flex:1;min-width:0;overflow:hidden;white-space:nowrap;flex-wrap:nowrap;gap:5px}
#main .card .game-meta>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#main .card .game-meta>b{flex-shrink:0}
#main .card .summary-top>b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#main .card .summary-top>span:empty,#main .card .market-inline:empty{display:none}
#main .card .game-meta .game-live-status{min-width:0;font-size:10px;padding:0;gap:4px;white-space:nowrap;overflow:hidden}
#main .card .game-live-status>span:last-child{overflow:hidden;text-overflow:ellipsis}

#game-thread .thread-bot-badge{font:650 8px/1.4 var(--font);letter-spacing:.4px;color:#66d6ff;border:1px solid #29516a;border-radius:4px;padding:2px 4px}
#game-thread .thread-bot>.thread-avatar{background:linear-gradient(145deg,#154c65,#122234);color:#73dfff;border-color:#3885a6}
#game-thread .thread-analysis-label{display:block;color:#e8f4ff;font-weight:650;margin-bottom:7px}
#game-thread .thread-bot .thread-comment-body{font-size:13px;line-height:1.6}
#game-thread .thread-comment-body{cursor:pointer}

#game-thread .thread-underdog-watch{display:block;width:fit-content;font:650 9px/1.3 var(--font);letter-spacing:.7px;color:#f3ce79;border:1px solid #806a36;border-radius:4px;padding:4px 7px;margin-bottom:8px;background:#332a16}

/* Use the existing space between the pick status and change/forfeit action. */
#main .card .thread-center-actions{position:relative;display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:6px}
#main .card .thread-center-actions>.thread-count-button{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);margin:0;justify-content:center;gap:5px;font-size:11px;letter-spacing:.5px;text-decoration:none;padding:0;min-height:0;color:#69d7ff;text-shadow:0 0 5px #1bbcff66;white-space:nowrap}
#main .card .thread-center-actions>.thread-count-button svg{width:16px;height:16px}
#main .card .thread-center-actions>.thread-count-button .thread-count-value{font-size:10px}
#main .card .thread-center-actions>.forfeit-link,#main .card .thread-center-actions>[data-change]{margin-left:auto}
#main .duel-pick .summary-actions>.thread-count-button,#main .duel-pick .summary-actions>.thread-count-button span{color:#69d7ff;text-shadow:0 0 5px #1bbcff66}

/* Side-by-side matchup comparison: away left, home right on every screen. */
#game-thread .thread-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px}
#game-thread .thread-tabs>button{min-width:0;font-size:12px;line-height:1.3;padding:10px 4px}
#game-thread .thread-comparison{margin-top:12px;border:1px solid #254052;border-radius:10px;overflow:hidden;background:#0b1b28}
#game-thread .thread-compare-table{width:100%;border-collapse:collapse;table-layout:fixed;font:500 13px/1.4 var(--font);font-variant-numeric:tabular-nums;color:#e0eef9}
#game-thread .thread-compare-table th,#game-thread .thread-compare-table td{padding:11px 8px;overflow-wrap:anywhere;vertical-align:middle;text-align:center;border-top:1px solid #203849}
#game-thread .thread-compare-table thead th{border-top:0;background:#102637;padding:14px 8px}
#game-thread .thread-compare-table thead small{display:block;color:#76c9e5;font-size:9px;letter-spacing:1px;margin-bottom:5px}
#game-thread .thread-compare-table thead strong{display:block;font-size:13px;line-height:1.3;color:#ecf7ff}
#game-thread .thread-compare-table tbody th,#game-thread .thread-compare-table thead .thread-compare-label{font-size:10px;font-weight:500;color:#8daec4;letter-spacing:.1px;padding-inline:3px;background:#0d2030}
#game-thread .thread-compare-table tbody td{font-size:16px;font-weight:650}
#game-thread .thread-compare-table tbody td:first-child{border-right:1px solid #203849}
#game-thread .thread-compare-table tbody td:last-child{border-left:1px solid #203849}
#game-thread .thread-compare-subtitle{margin:0;padding:13px 10px;border-top:1px solid #254052;background:#102637;text-align:center;font:650 12px/1.4 var(--font);color:#deefff}
#game-thread .thread-compare-subtitle span{display:block;margin-top:3px;font-size:9px;font-weight:400;color:#8daec4}
#game-thread .thread-compare-game{display:flex;flex-direction:column;gap:4px}
#game-thread .thread-compare-game>small{font-size:9px;font-weight:400;color:#84a8be}
#game-thread .thread-compare-game>span{font-size:11px;font-weight:500;line-height:1.3;color:#b9d0e1}
#game-thread .thread-compare-game>strong{font-size:15px;font-weight:650;white-space:nowrap}
#game-thread .thread-form-result{display:inline-block;font-size:11px;font-weight:750;margin-left:3px}
#game-thread .thread-form-result.won{color:#7fe7b4}#game-thread .thread-form-result.lost{color:#f0939d}#game-thread .thread-form-result.draw{color:#e5ca8a}
#game-thread .thread-form-empty{padding:12px;text-align:center}
#game-thread .thread-stats-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Keep the label on a stable text layer, separate from moving card effects. */
#main .card .thread-count-button{filter:none;animation:none;transition:none;line-height:14px}
#main .card .thread-count-button svg{display:block;animation:none;transform:none;filter:none}
#main .card .thread-center-actions{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;column-gap:4px}
#main .card .thread-center-actions>.thread-count-button{position:static;grid-column:2;grid-row:1;transform:none;justify-self:center;line-height:16px}
#main .card .thread-center-actions>span:first-child{grid-column:1;grid-row:1;min-width:0;justify-self:start}
#main .card .thread-center-actions>.forfeit-link,#main .card .thread-center-actions>[data-change]{grid-column:3;grid-row:1;justify-self:end;margin-left:0}
body.thread-open #main .pick-mesh i,body.thread-open #main .pick-embers>i,body.thread-open #main .live-dot{animation-play-state:paused!important}
