/* TJK-Chess v16.0.12 */
.analysis-db-player-search small{display:none!important}
.analysis-db-filter-row-wide{display:grid!important;grid-template-columns:118px minmax(0,1fr)!important;align-items:center;gap:8px}
.analysis-db-filter-row-wide input,.analysis-db-filter-row-wide select{width:100%;min-width:0}
.analysis-computer-review{border:1px solid #b8cff3!important;background:#eef5ff!important;color:#0d63d8!important;border-radius:8px!important;padding:7px 10px!important;font-weight:800!important}
.analysis-computer-review:hover{background:#e1efff!important}.analysis-computer-review.is-launching{opacity:.7;pointer-events:none}
.analysis-result-picker{position:fixed;inset:0;z-index:6000;display:grid;place-items:center;padding:20px;background:rgba(6,18,38,.45);backdrop-filter:blur(2px)}
.analysis-result-picker-card{width:min(430px,94vw);padding:24px;border:1px solid #d5e0ef;border-radius:16px;background:#fff;box-shadow:0 24px 70px rgba(8,28,58,.28)}
.analysis-result-picker-card h3{margin:0 0 8px;font-size:22px;color:#071d43}.analysis-result-picker-card p{margin:0 0 18px;color:#60748f}
.analysis-result-picker-card>div{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.analysis-result-picker-card button{min-height:44px;border:1px solid #cad8e8;border-radius:9px;background:#f7faff;color:#0b1e3e;font-weight:850;cursor:pointer}
.analysis-result-picker-card [data-result]:hover{border-color:#2580ee;background:#eaf3ff}.analysis-result-cancel{width:100%;margin-top:10px;background:#fff!important}
.rebuild-lower{grid-template-columns:minmax(320px,.9fr) minmax(0,1.1fr)!important;align-items:start}.rebuild-lower-left{display:grid;gap:20px}.rebuild-repertoire-row{display:block!important}.rebuild-continue button{max-width:220px}
.rebuild-broadcast-list{gap:7px!important}.rebuild-broadcast-name{display:flex;align-items:center;gap:9px;width:100%;min-height:42px;padding:8px 10px;border:1px solid #d8e2ef;border-radius:9px;background:#f8fbff;text-align:left;cursor:pointer}.rebuild-broadcast-name span{font-size:10px;font-weight:900;color:#e42f45;white-space:nowrap}.rebuild-broadcast-name strong{font-size:14px;color:#071d43;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rebuild-broadcasts{min-height:0!important}
.rebuild-live-multiboard{padding:18px}.rebuild-live-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.rebuild-live-game{display:grid;grid-template-columns:minmax(0,118px) minmax(0,1fr);gap:10px;align-items:center;padding:8px;border:1px solid #d8e2ef;border-radius:10px;background:#f8fbff;text-align:left;cursor:pointer}.rebuild-live-game .rebuild-board{width:100%;max-width:118px}.rebuild-live-game span{min-width:0}.rebuild-live-game strong,.rebuild-live-game small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rebuild-live-game strong{color:#071d43;font-size:12px}.rebuild-live-game small{margin-top:5px;color:#6f87a8;font-size:11px}
.rebuild-stats-detailed{grid-template-columns:repeat(3,1fr)!important}.rebuild-stats-detailed .rebuild-stat{border:0!important;border-right:1px solid #d8e2ef!important;border-bottom:1px solid #d8e2ef!important}.rebuild-stats-detailed .rebuild-stat:nth-child(3n){border-right:0!important}.rebuild-stats-detailed .rebuild-stat:nth-child(n+4){border-bottom:0!important}.rebuild-progress-chart{height:118px;margin-top:18px;padding:10px 7px 3px;display:flex;align-items:flex-end;gap:5px;border:1px solid #d8e2ef;border-radius:10px;background:linear-gradient(#fbfdff,#f5f9ff)}.rebuild-progress-day{flex:1;min-width:0;height:92px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:4px}.rebuild-progress-day i{display:block;width:100%;max-width:18px;min-height:5px;border-radius:4px 4px 2px 2px;background:#227bf0}.rebuild-progress-day span{font-size:8px;color:#7890ae;writing-mode:vertical-rl;transform:rotate(180deg);max-height:30px;overflow:hidden}.rebuild-progress-empty{padding:24px;color:#71839b;text-align:center}
.site-notification-item{position:relative}.site-notification-item time{display:block;margin-top:4px;font-size:10px;color:#8a9bb3}.site-notification-item em{font-style:normal;color:#176ee8;font-size:11px;font-weight:800}
html[data-theme="dark"] .analysis-result-picker-card,body.is-dark .analysis-result-picker-card{background:#101827;border-color:#2b3d57}html[data-theme="dark"] .analysis-result-picker-card h3,body.is-dark .analysis-result-picker-card h3{color:#fff}html[data-theme="dark"] .analysis-result-picker-card p,body.is-dark .analysis-result-picker-card p{color:#aebbd0}
@media(max-width:900px){.rebuild-lower{grid-template-columns:1fr!important}.rebuild-live-grid{grid-template-columns:1fr 1fr}.rebuild-stats-detailed{grid-template-columns:repeat(2,1fr)!important}.rebuild-stats-detailed .rebuild-stat{border-right:1px solid #d8e2ef!important;border-bottom:1px solid #d8e2ef!important}.rebuild-stats-detailed .rebuild-stat:nth-child(2n){border-right:0!important}.rebuild-stats-detailed .rebuild-stat:nth-child(n+5){border-bottom:0!important}}
@media(max-width:560px){.rebuild-live-grid{grid-template-columns:1fr}.rebuild-live-game{grid-template-columns:92px 1fr}.analysis-result-picker-card>div{grid-template-columns:1fr}.analysis-db-filter-row-wide{grid-template-columns:1fr!important}.rebuild-progress-chart{overflow-x:auto}.rebuild-progress-day{min-width:16px}}
