.tournament-content{font-family:Arial,Helvetica,sans-serif;color:#16314e;background:#eef3f9;font-synthesis:none}.tournament-content *{box-sizing:border-box}.tournament-content{margin:0}.tournament-content{max-width:1450px;margin:35px auto;padding:0 24px}.tournament-content .tournament-heading{background:#123859;color:white;padding:30px 34px;border-top:6px solid #5bb7e5;border-radius:12px 12px 0 0}.tournament-content .eyebrow{font-size:12px;letter-spacing:2px;color:#a9dbf4;font-weight:bold}.tournament-content h1{font-size:30px;margin:12px 0}.tournament-content .tournament-heading p{margin:8px 0;color:#d3e6f3}.tournament-content .meta{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;background:white;padding:24px 32px;border-bottom:1px solid #d6e1ec}.tournament-content .meta small{display:block;color:#60788e;margin-bottom:6px}.tournament-content .meta strong{font-size:14px}.tournament-content .tools{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:22px 0}.tournament-content button,.tournament-content .import{font:inherit;font-size:13px;border:1px solid #c1d2e2;background:white;color:#163d60;border-radius:6px;padding:10px 14px;cursor:pointer}.tournament-content button:hover,.tournament-content .import:hover{background:#e2f1fc}.tournament-content button:focus-visible,.tournament-content a:focus-visible{outline:3px solid #edb64a;outline-offset:2px}.tournament-content .primary{background:#176498;color:white;border-color:#176498}.tournament-content .danger{color:#a33030}.tournament-content #status{font-size:12px;margin-left:auto;color:#546b80}.tournament-content .sheet{background:white;border:1px solid #c7d8e6;border-radius:8px;overflow:hidden}.tournament-content .sheethead{display:flex;justify-content:space-between;align-items:center;padding:20px 24px}.tournament-content .sheethead h2{margin:0;font-size:20px}.tournament-content .badge{background:#e9f4fc;border-radius:20px;padding:7px 13px;font-size:12px}.tournament-content .scroll{overflow:auto}.tournament-content table{border-collapse:collapse;table-layout:fixed;width:1295px;font-size:13px}.tournament-content th,.tournament-content td{border:1px solid #c8d6e3;padding:0;text-align:center;height:46px}.tournament-content thead{background:#e5eff8}.tournament-content thead th{font-size:11px;height:46px}.tournament-content tbody tr:nth-child(even){background:#f5f9fd}.tournament-content .name{text-align:left;padding:0 12px;font-weight:bold}.tournament-content .fide a{color:#376386;text-decoration:none}.tournament-content td.result,.tournament-content th.result{width:46px;height:46px;min-width:46px;max-width:46px}.tournament-content .result button{width:45px;height:45px;display:block;border:0;border-radius:0;padding:0;background:transparent;font-size:20px;font-weight:bold;color:#164f79}.tournament-content .result button:hover{background:#cde8fa}.tournament-content .diagonal{background:#173a59!important}.tournament-content .points{font-size:17px;font-weight:bold;background:#e7f2fc}.tournament-content .title{font-size:11px;font-weight:bold;color:#25739e}.tournament-content .notes{padding:16px 24px;font-size:12px;line-height:1.65;color:#5d7386}.tournament-content .bottom{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:20px}.tournament-content .card{background:white;border:1px solid #cfdeeb;border-radius:8px;padding:22px}.tournament-content .card h3{font-size:15px;margin:0 0 10px}.tournament-content .card p{font-size:13px;line-height:1.65;margin:8px 0}.tournament-content .tag{font-size:10px;letter-spacing:1px;color:#87600a;background:#fff1ce;padding:4px 7px;border-radius:3px}.tournament-content .tournament-notes{font-size:12px;line-height:1.7;color:#5e7488;margin:20px 0}.tournament-content a{color:#176498}.tournament-content dialog{border:1px solid #b8ccdf;border-radius:12px;padding:26px;max-width:440px;width:95%;color:#16314e}.tournament-content dialog::backdrop{background:#102c49a8}.tournament-content .choices{display:flex;gap:10px;margin:22px 0}.tournament-content .choices button{flex:1;font-size:26px}.tournament-content dialog p{line-height:1.5}.tournament-content #progress{display:none}.tournament-content #bar{height:4px;background:#3396c9;width:0}.tournament-content input[type=file]{display:none}@media(max-width:800px){.tournament-content{margin:15px auto;padding:0 12px}.tournament-content .tournament-heading{padding:24px}.tournament-content h1{font-size:24px}.tournament-content .meta{grid-template-columns:1fr 1fr;padding:20px}.tournament-content .bottom{grid-template-columns:1fr}.tournament-content #status{width:100%;margin:6px 0}.tournament-content .sheethead{padding:16px}}@page{size:A3 landscape;margin:12mm}@media print{.tournament-content{background:white}.tournament-content{margin:0;padding:0;max-width:none}.tournament-content .tools,.tournament-content dialog,.tournament-content .help{display:none!important}.tournament-content .tournament-heading{padding:16px 22px;print-color-adjust:exact}.tournament-content h1{font-size:25px}.tournament-content .meta{padding:16px 22px}.tournament-content .scroll{overflow:visible}.tournament-content table{width:1295px}.tournament-content .tournament-heading,.tournament-content .diagonal,.tournament-content .points,.tournament-content thead{-webkit-print-color-adjust:exact;print-color-adjust:exact}.tournament-content .bottom{break-inside:avoid}.tournament-content .tournament-notes{font-size:10px}.tournament-content .card{padding:12px}.tournament-content .sheet{border-radius:0}.tournament-content a{color:inherit;text-decoration:none}}.tournament-content .normtable{width:100%;min-width:700px;table-layout:auto;margin:14px 0}.tournament-content .normtable th,.tournament-content .normtable td{padding:9px;height:auto}.tournament-content .normtable button{white-space:nowrap}.tournament-content .normdetail{border-top:1px solid #d6e1ec;padding:16px 0}.tournament-content .normdetail summary{cursor:pointer;font-weight:bold;padding:8px 0}.tournament-content .normdetail p{max-width:1000px}.tournament-content .normdetail ul{font-size:13px;line-height:1.8}.tournament-content .normdetail .opponents{columns:2;font-size:13px;line-height:1.8}.tournament-content .normstate{font-weight:bold;color:#176498}@media(max-width:650px){.tournament-content .normdetail .opponents{columns:1}}@media print{.tournament-content #norme{break-before:page}.tournament-content #norme button{display:none}.tournament-content .normtable{min-width:0}.tournament-content details:not([open]){display:none}}.tournament-content [hidden]{display:none!important}.tournament-content .sheet>.scroll{margin:0 16px}.tournament-content .standingstable{width:972px;min-width:972px;table-layout:fixed}.tournament-content .standingstable th,.tournament-content .standingstable td{padding:9px 6px}.tournament-content .standingstable .name{text-align:left;padding:9px 12px}.tournament-content .standingstable thead th{overflow-wrap:normal}.tournament-content #standings .notes p{margin:0 0 6px}@media(max-width:800px){.tournament-content .sheethead h2{font-size:18px}}@media(max-width:800px){.tournament-content .sheet>.scroll{margin-left:10px;margin-right:10px}}@media print{.tournament-content .sheet>.scroll{margin-left:10px;margin-right:10px}.tournament-content .standingstable{width:972px;min-width:972px}}.tournament-content .pairings-intro{padding-top:0}.tournament-content .pairings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:0 16px 20px}.tournament-content .pairing-round{min-width:0;border:1px solid #c7d8e6;border-radius:7px;overflow:hidden}.tournament-content .pairing-roundhead{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#123859;color:white;padding:12px 14px}.tournament-content .pairing-roundhead h3{font-size:15px;margin:0}.tournament-content .pairing-roundhead time{font-size:12px;white-space:nowrap}.tournament-content .pairing-table{width:100%;min-width:500px;table-layout:fixed}.tournament-content .pairing-table th,.tournament-content .pairing-table td{padding:8px 10px;height:auto;border-width:0 0 1px}.tournament-content .pairing-table thead th{font-size:11px;height:34px}.tournament-content .pairing-table tbody tr:last-child td{border-bottom:0}.tournament-content .pairing-player{text-align:left;font-size:12px;line-height:1.6}.tournament-content .pairing-player strong{display:block;overflow-wrap:break-word}.tournament-content .pairing-player small{color:#60788e;font-size:11px}.tournament-content .pairing-result{font-size:15px;font-weight:bold;white-space:nowrap;color:#164f79}@media(max-width:1199px){.tournament-content .pairings-grid{grid-template-columns:1fr}}@media(max-width:800px){.tournament-content .pairings-grid{padding-left:10px;padding-right:10px;gap:14px}.tournament-content .pairing-table{min-width:0}.tournament-content .pairing-table th,.tournament-content .pairing-table td{padding:8px 6px}}@media print{.tournament-content .pairings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tournament-content .pairing-round{break-inside:avoid}.tournament-content .pairing-roundhead{print-color-adjust:exact;-webkit-print-color-adjust:exact}.tournament-content .pairing-table{width:100%;min-width:0}}


/* Original cool-blue tournament palette; shared site navigation stays unchanged. */
body.tournament-page{background:#eef3f9!important;color:#16314e;font-family:Arial,Helvetica,sans-serif}
body.tournament-page .tournament-content{width:min(1450px,calc(100% - 36px));max-width:1450px;margin:24px auto 0;padding:0;background:transparent;color:#16314e}
.tournament-content .tournament-heading h1{color:#fff!important}
.tournament-content .sheethead .badge{background:#e9f4fc!important;color:#16314e!important;border:0}
.tournament-content thead th{background:#e5eff8!important;color:#16314e!important}
.tournament-content tbody th{background:#fff!important;color:#16314e!important}
.tournament-content tbody tr:nth-child(even) th{background:#f5f9fd!important}
.tournament-back{display:inline-block;color:#176498;font-weight:700;margin-bottom:18px;text-decoration:none}
.tournament-back:hover{text-decoration:underline}
@media(max-width:800px){body.tournament-page .tournament-content{width:calc(100% - 20px);margin-top:20px}}
@media print{.bc-site-nav,.bc-footer,.tournament-back,#pregled-partija{display:none!important}body.tournament-page .tournament-content{width:100%;margin:0}}
.tournament-content .tools .games-link{display:inline-flex;align-items:center;min-height:38px;padding:10px 14px;border:1px solid #176498;border-radius:6px;background:#176498;color:#fff;text-decoration:none;font-size:13px}.tournament-content .tools .games-link:hover{background:#123859}

.tournament-content .pairings-rounds{display:contents}
.tournament-content .pairings-info{grid-template-columns:minmax(0,1fr);align-self:start;margin:0}
