.public-board-history{max-width:none;margin:auto}.sheet-pairing{display:grid;gap:8px;margin:16px 0}.sheet-pairing-row{display:flex;align-items:center;gap:12px;padding:10px 12px;background:#0e1522;border:1px solid #344256;min-width:0}.sheet-player-label{display:flex;align-items:center;gap:8px;min-width:0;flex:1}.sheet-player-name{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.sheet-flags{display:flex;flex-direction:column;gap:3px;flex-shrink:0}.sheet-flags .nation-flag{display:block;width:24px;height:18px;margin:0;border-radius:2px;object-fit:cover}.sheet-games{flex:0 0 36px;text-align:right;font-size:24px;color:#ddbd7c}.sheet-wrap{overflow-x:auto;width:100%}.public-board-history .public-scoresheet{display:table;width:100%;min-width:0;table-layout:fixed;border-collapse:separate;border-spacing:3px;text-align:center;font-size:12px}.public-scoresheet thead{display:table-header-group}.public-scoresheet tbody{display:table-row-group}.public-scoresheet tfoot{display:table-footer-group}.public-scoresheet tr{display:table-row}.public-scoresheet th,.public-scoresheet td{display:table-cell;width:auto;padding:8px 2px;text-align:center;border-radius:4px;overflow:hidden}.public-scoresheet td::before{display:none}.public-scoresheet th{background:#1d2a3e;font-size:10px}.public-scoresheet td{border:1px solid #344256;background:#172132}.public-scoresheet th.player{background:#0e1522;color:#ddbd7c;padding:12px 5px}.public-scoresheet .total{background:#253e5b;color:white;font-weight:600}.public-scoresheet .sheet-board{background:#0e1522;color:#ddbd7c;font-weight:600}.public-scoresheet .queen{color:#9bd4b0;font-size:17px}.public-scoresheet .sum{font-weight:700}.public-scoresheet .sheet-player-label{justify-content:center;gap:6px}.public-scoresheet .sheet-flags .nation-flag{width:20px;height:15px}.public-scoresheet .sheet-player-name{font-size:11px}.public-scoresheet .sheet-flags:empty{display:none}
@media(max-width:600px){.public-board-history>.panel{padding:16px 10px}.sheet-pairing .sheet-player-name{font-size:13px}.public-board-history .public-scoresheet{border-spacing:2px;font-size:11px}.public-scoresheet th{font-size:9px;padding:7px 0}.public-scoresheet .sheet-player-name{font-size:10px}.public-scoresheet .sheet-player-label{gap:4px}.public-scoresheet .sheet-flags .nation-flag{width:16px;height:12px}}

.sheet-game-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.public-board-history .sheet-game{min-width:0;margin:0;border:1px solid #344256;padding:12px 10px;background:#172132;transition:background-color .15s,border-color .15s}.sheet-game>summary{cursor:pointer;font-size:14px;font-weight:600;padding:4px 0;list-style:revert}.sheet-game[open]>summary{margin-bottom:12px}.sheet-game .sheet-wrap{margin:0}
.public-board-history .sheet-game:has(>summary:hover),.public-board-history .sheet-game:has(>summary:focus-visible){background:#1e2b3f;border-color:#607d9f}

.sheet-name-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}

.public-board-history .public-scoresheet th,.public-board-history .public-scoresheet td{border:1px solid #344256}.public-board-history .public-scoresheet .sheet-header-gap{background:transparent;border:0;padding:0}

.public-scoresheet col.sheet-board-column{width:24px}.public-board-history .public-scoresheet td.board-started{position:relative}.public-board-history .public-scoresheet td.board-started::after{content:"";position:absolute;top:2px;bottom:2px;width:2px;border-radius:2px;background:#6684a4;pointer-events:none}.public-board-history .public-scoresheet td.board-started:first-child::after{left:1px}.public-board-history .public-scoresheet td.board-started:last-child::after{right:1px}.public-board-history>.panel>.section-title{margin-top:0;margin-bottom:16px}.public-board-history>.panel>.section-title h2{margin:0}

.sheet-game-grid:has(>.sheet-game:only-child){grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:740px){.sheet-game-grid:has(>.sheet-game:only-child){grid-template-columns:minmax(0,1fr)}}

.public-scoresheet th.player:first-child .sheet-player-label{justify-content:flex-start}.public-scoresheet th.player:last-child .sheet-player-label{justify-content:flex-end}.public-scoresheet th.player:first-child .sheet-player-name{text-align:left}.public-scoresheet th.player:last-child .sheet-player-name{text-align:right}
.public-scoresheet th.player:last-child .sheet-flags{order:2}
.public-board-history .public-scoresheet tfoot td{background:#1d2a3e;border-color:#51657d}.public-board-history .public-scoresheet tfoot td.total{background:#345574;border-color:#7291b1;font-size:15px;font-weight:600}.public-scoresheet tfoot .sum{color:#edf4ff}
.organizer-site .sheet-game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:740px){.organizer-site .sheet-game-grid,.organizer-site .sheet-game-grid:has(>.sheet-game:nth-child(3)){grid-template-columns:minmax(0,1fr)}}
.score-review-button{display:block;margin-top:8px;padding:5px 8px;font-size:11px;min-height:28px;white-space:nowrap}.icf-confirm-dialog.score-review-dialog{width:min(520px,calc(100% - 32px))}.score-review-dialog>.icf-dialog-actions{justify-content:flex-end;margin:16px 0 0}.score-review-dialog .score-confirm-actions{margin:18px 0 0}.score-review-dialog form.score-confirm-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.score-review-sheet{margin-bottom:24px}.score-review-dialog .score-review-sheet:last-child{margin-bottom:0}.score-review-dialog h2{font-size:24px}

@media(max-width:740px){.sheet-game-grid{grid-template-columns:minmax(0,1fr)}}

.organizer-site .score-review-dialog .sheet-game-grid,.organizer-site .score-review-dialog .sheet-game-grid:has(>.sheet-game:only-child){grid-template-columns:minmax(0,1fr)}
.score-review-dialog .score-review-close{margin-left:auto}

.scoresheet-back-links{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 12px}.scoresheet-back-links>a{min-width:0;text-align:left}.scoresheet-back-links>.scoresheet-competition-link{margin-left:auto;text-align:right;justify-content:flex-end}

.scoresheet-back-links a{display:inline-flex;align-items:center;gap:6px;color:var(--secondary,#b9c3d1);font-size:13px;line-height:1.4}.scoresheet-back-links a:hover{color:var(--accent,#ddbd7c)}.back-link-arrow{display:block;width:16px;height:16px;flex:0 0 16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:600px){.public-scoresheet th.player{padding:6px 5px;line-height:1.25}.public-scoresheet .sheet-player-name{line-height:1.25}}

.sheet-pairing-row .sheet-games{display:flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:32px;background:var(--surface-soft,#1d2a3e);color:var(--text,#f2eee6);font-size:15px;font-weight:600;font-variant-numeric:tabular-nums;border-radius:0}.sheet-pairing-row .sheet-games.is-match-winner{background:var(--accent,#ddbd7c);color:var(--accent-ink,#0e1522);font-weight:600}

.sheet-flags .combined-nation-flag{width:24px;height:18px}
.public-site.visitor-large-text .sheet-pairing .sheet-player-name{font-size:var(--visitor-name-size,15px)}
.public-site.visitor-large-text .sheet-pairing-row .sheet-games{flex-basis:var(--result-box-size,32px);width:var(--result-box-size,32px);height:var(--result-box-size,32px);font-size:var(--visitor-score-size,16px)}
.sheet-flags .combined-nation-flag>.nation-flag{width:100%;height:100%;border-radius:0}
.public-scoresheet .combined-nation-flag{width:20px;height:15px}
@media(max-width:600px){.public-scoresheet .combined-nation-flag{width:16px;height:12px}}

.sheet-flags .combined-nation-flag{border-radius:2px}

.public-board-history>.panel>.sheet-pairing:last-child{margin-bottom:0}

.public-board-history .sheet-empty-results{display:flex;align-items:center;min-height:68px}.sheet-empty-results>p{margin:0}

.sheet-column-short{display:none}
@media(max-width:600px){
 .public-site .sheet-column-full{display:none}.public-site .sheet-column-short{display:inline}
 .public-site.visitor-large-text .public-scoresheet col.sheet-total-column{width:40px}
 .public-site.visitor-large-text .public-scoresheet td{padding-left:0;padding-right:0}
}

@media(max-width:600px){.public-board-history>.panel:has(>.sheet-pairing){padding-bottom:10px}}
@media(max-width:600px){.public-board-history .public-scoresheet tbody td,.public-board-history .public-scoresheet tfoot td{height:30px;padding:3px 0;line-height:1.2}}

.public-board-history .public-scoresheet tfoot td.sheet-footer-empty{background:transparent;border:0;box-shadow:none}

/* Dark detail fields keep the emphasis on the blue running and final totals. */
.public-board-history .public-scoresheet tbody td{background:#0e1522;border-color:#344256}
.public-board-history .public-scoresheet tbody td.total{background:#2e4a65;border-color:#3a4b61}
.public-board-history .public-scoresheet tbody td.sheet-board{background:#0e1522;border-color:#344256}
.public-board-history .public-scoresheet thead tr:last-child th{background:#223047;border-color:#3a4b61}
.public-board-history .public-scoresheet tfoot td.total{background:#355675;border-color:#536f8b}

.queen-stone{display:inline-block;box-sizing:border-box;width:12px;height:12px;border-radius:50%;background:#d44349;border:1px solid #f17d7d;box-shadow:inset 0 0 0 2px #ae3039;vertical-align:middle}
.sheet-names{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;margin:0 0 8px;padding:8px 10px;background:#0e1522;border-top:1px solid #344256;border-bottom:1px solid #344256;color:#ddbd7c}
.sheet-names::after{content:"";position:absolute;left:50%;top:6px;bottom:6px;width:1px;background:#344256;pointer-events:none}
.sheet-names>div{min-width:0}.sheet-names .sheet-player-name{font-size:11px}.sheet-names>div:last-child .sheet-player-label{justify-content:flex-end}.sheet-names>div:last-child .sheet-flags{order:2}.sheet-names .sheet-flags .nation-flag{width:20px;height:15px}

.public-board-history .public-scoresheet thead th{padding:4px 2px;line-height:1.2}

.public-board-history .public-scoresheet td.queen{position:relative}.public-board-history .public-scoresheet .queen-stone{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}

.sheet-names{align-items:center}.sheet-names>div{display:flex;align-items:center}.sheet-names .sheet-player-label{width:100%;align-items:center;line-height:1}.sheet-names .sheet-player-name{line-height:1.2}

/* Compact slam attribution, independent of the board score. */
.slam-badge{display:flex;align-items:center;justify-content:center;gap:2px;width:max-content;max-width:100%;min-height:0;margin:1px auto 0;padding:0 1px;border:0;border-radius:2px;background:transparent;color:#ddbd7c;font:inherit;font-size:8px;font-weight:650;line-height:10px;cursor:pointer}
.slam-stone{display:inline-block;flex-shrink:0;width:7px;height:7px;border-radius:50%;border:1px solid #96a4b5}.slam-stone.white{background:#eee8da}.slam-stone.black{background:#0b1019}
.slam-badge:focus-visible{outline:2px solid #ddbd7c;outline-offset:2px}
.slam-detail-dialog{box-sizing:border-box;width:min(340px,calc(100vw - 24px));padding:20px;border:1px solid #344256;border-radius:10px;background:#172334;color:#f2eee6}.slam-detail-dialog::backdrop{background:#050b16a8}.slam-detail-dialog h2{margin:0 0 12px;font-size:20px}.slam-detail-dialog p{margin:8px 0;color:#b9c3d1;font-size:14px}.slam-detail-dialog .slam-detail-name{color:#f2eee6;font-weight:600}.slam-detail-dialog button{display:block;margin:18px 0 0 auto;padding:7px 14px;border:1px solid #547aa3;border-radius:6px;background:#253e5b;color:#edf4ff;font:inherit;font-size:13px;cursor:pointer}
