.tournament-results-panel{margin:14px;padding:16px;border:1px solid #c9d5e3;border-radius:12px;background:#fff}.tournament-results-panel[hidden]{display:none}.tournament-results-heading{display:flex;flex-wrap:wrap;align-items:center;gap:8px;justify-content:space-between}.tournament-results-heading h2{margin:0;font-size:1.12rem}.tournament-results-state{padding:4px 8px;border-radius:6px;background:#e5f4eb;color:#17623b;font-size:.8rem;font-weight:800}.tournament-results-state.pending{background:#fff3db;color:#815a0e}.tournament-results-progress,.tournament-results-help{margin:10px 0;line-height:1.5;color:#566779;font-size:.9rem;overflow-wrap:anywhere}.tournament-results-actions{display:flex;flex-wrap:wrap;gap:8px}.tournament-results-actions a,.tournament-results-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:0;padding:9px 12px;border:1px solid #1f578f;border-radius:8px;background:#1f578f;color:#fff;font:inherit;font-size:.9rem;font-weight:700;text-decoration:none;cursor:pointer}.tournament-results-actions a{background:#fff;color:#174f83}.tournament-results-actions button:disabled{opacity:.5;cursor:default}.tournament-results-actions [hidden]{display:none}.tournament-results-summary{margin:14px 0;display:grid;gap:10px}.results-summary-card{border:1px solid #dae1e9;border-radius:8px;padding:10px;background:#f8fafc}.results-summary-card h3{margin:0 0 8px;font-size:.95rem;overflow-wrap:anywhere}.results-summary-card dl{display:grid;grid-template-columns:66px minmax(0,1fr);gap:5px 9px;font-size:.88rem;margin:0}.results-summary-card dt{color:#566779}.results-summary-card dd{margin:0;overflow-wrap:anywhere}.results-summary-card small{display:inline;color:#617285}.results-summary-card p{margin:0;color:#856018;font-size:.88rem}.tournament-results-panel .tournament-results-notice{margin:10px 0 0;color:#175b86;line-height:1.5;overflow-wrap:anywhere}.results-finish-dialog{box-sizing:border-box;width:min(520px,calc(100% - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:22px;border:1px solid #aeb8c4;border-radius:14px;background:#fff;color:#162a42}.results-finish-dialog::backdrop{background:#0d1826b3}.results-finish-dialog h2{margin:0 0 14px;font-size:22px}.results-finish-dialog p,.results-finish-dialog li{line-height:1.5;overflow-wrap:anywhere}.results-finish-dialog ul{padding-left:22px}.results-finish-check{display:flex;align-items:flex-start;gap:9px;margin:18px 0}.results-finish-check input{width:20px;height:20px;flex:0 0 20px;margin-top:2px}.results-finish-buttons{display:flex;gap:8px;flex-wrap:wrap}.results-finish-buttons button{flex:1;min-height:44px;padding:9px 12px;border:1px solid #1f578f;border-radius:8px;background:#1f578f;color:#fff;font:inherit;font-weight:700;cursor:pointer}.results-finish-buttons .secondary{background:#fff;color:#234563;border-color:#9eabb9}.results-finish-buttons button:disabled{opacity:.5;cursor:default}.results-finish-status{min-height:22px;color:#9c3535}.tournament-results-panel :focus-visible,.results-finish-dialog :focus-visible,.results-page :focus-visible{outline:3px solid #3c94e7;outline-offset:2px}
.results-page{margin:0;background:#f3f6f9;color:#162033;font-family:Arial,'Noto Sans KR','Malgun Gothic',sans-serif}.results-page *{box-sizing:border-box}.results-page-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px max(14px,calc((100vw - 1080px)/2));background:#101d35;color:#fff}.results-page-header a{color:inherit;text-decoration:none;font-weight:800}.results-page-header a:first-child{font-size:1.4rem;white-space:nowrap}.results-page-header em{color:#f4aa2b;font-style:normal}.results-page-header a:last-child{font-size:.85rem;text-align:right}.results-page-main{max-width:1080px;margin:0 auto;padding:20px 14px 60px}.results-print-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.results-print-toolbar button{min-height:44px;padding:10px 14px;border:1px solid #1f578f;border-radius:8px;background:#1f578f;color:#fff;font:inherit;font-weight:700;cursor:pointer}.results-print-toolbar button+button{background:#fff;color:#1f578f}.results-print-toolbar button:disabled{opacity:.55;cursor:default}.results-print-toolbar p{flex-basis:100%;margin:2px 0;font-size:.88rem;color:#596b7b;line-height:1.5}.results-report-head{padding:20px;border:1px solid #d6dfe8;border-radius:12px;background:#fff}.results-report-head h1{margin:6px 0 12px;font-size:1.7rem;overflow-wrap:anywhere}.results-report-head>span{font-size:.85rem;font-weight:800;color:#1f578f}.results-report-head dl{display:grid;grid-template-columns:58px minmax(0,1fr);gap:6px 12px;margin:12px 0;font-size:.9rem}.results-report-head dt{color:#657386}.results-report-head dd{margin:0;overflow-wrap:anywhere}.results-report-totals{font-weight:700;color:#234867}.results-report-warning{padding:12px;border:1px solid #e1c27b;border-radius:7px;background:#fff7e5;color:#78530e;line-height:1.5}.results-report-time{font-size:.8rem;color:#617285}.results-report-section{padding:18px;margin-top:18px;border:1px solid #d6dfe8;border-radius:12px;background:#fff}.results-report-section h2{margin:0 0 8px;font-size:1.18rem;overflow-wrap:anywhere}.results-report-section>p{line-height:1.5;color:#556778;font-size:.88rem}.results-table-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.results-report-table{width:100%;min-width:600px;border-collapse:collapse;table-layout:fixed;font-size:.9rem}.results-report-table th,.results-report-table td{border:1px solid #d9e0e7;padding:9px;vertical-align:top;line-height:1.5;text-align:left;overflow-wrap:anywhere}.results-report-table th{background:#eef3f8;color:#274765;font-weight:800}.results-report-table th:nth-child(1){width:21%}.results-report-table th:nth-child(3){width:12%}.results-report-table th:nth-child(5){width:18%}.results-report-table .results-score{text-align:center;white-space:normal;font-weight:800}.results-report-table strong{display:block}.results-report-table small{display:block;color:#607284;font-size:.8rem}.results-player-outcome,.results-player-status{display:inline-block;margin-left:4px;padding:1px 5px;border-radius:4px;background:#e4f1e9;color:#1f6542;font-size:.72rem;font-weight:700}.results-player-outcome.lost{background:#eceef2;color:#65717e}.results-player-status{background:#fff0d8;color:#845311}.results-report-table.rankings th:nth-child(1){width:23%}.results-report-table.rankings th:nth-child(2){width:10%}.results-report-table.rankings th:nth-child(3){width:22%}.results-report-table.rankings th:nth-child(5){width:23%}.results-error-list{margin:8px 0;padding-left:22px;color:#815a0e;font-size:.88rem}.results-empty{padding:18px;border:1px solid #d6dfe8;border-radius:8px;background:#fff;line-height:1.6}.results-report-foot{margin:18px 0 0;line-height:1.6;color:#617285;font-size:.83rem;overflow-wrap:anywhere}
.results-ranked-person{display:block;min-width:0;overflow-wrap:anywhere}.results-ranked-person+.results-ranked-person{margin-top:7px}.results-ranked-person strong{display:block}.results-ranked-person small{display:block;color:#607284;font-size:.8rem}.results-rank-list{margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.results-rank-item{min-width:0}.results-rank-item dt{margin-bottom:5px;font-size:.83rem;font-weight:800;color:#445b70}.results-rank-item dd{margin:0;line-height:1.5;overflow-wrap:anywhere}.results-summary-card .results-rank-list{display:block}.results-summary-card .results-rank-item{display:grid;grid-template-columns:66px minmax(0,1fr);gap:9px;margin-top:7px}.results-summary-card .results-rank-item dt{margin:0}.results-summary-card .results-ranked-person small{display:block}.results-summary-card .results-summary-progress{margin-bottom:9px;font-size:.78rem;color:#566779;line-height:1.5}.results-division-rankings{margin:14px 0;padding:13px 14px;border:1px solid #d5e1ed;border-radius:8px;background:#f5f9fd}.results-division-rankings h3{margin:0 0 10px;font-size:.93rem;color:#274765}.results-rankings-overview{position:relative;max-width:100%}.results-report-table.rankings{min-width:0}.results-report-table.rankings th:nth-child(1){width:19%}.results-report-table.rankings th:nth-child(2){width:17%}.results-report-table.rankings th:nth-child(3){width:21%}.results-report-table.rankings th:nth-child(5){width:22%}.results-rank-value{display:block;min-width:0}.results-report-table .results-division-state{margin-top:3px;font-weight:800;color:#22633f}.results-report-table .results-division-state.pending{color:#805516}.results-report-section .results-overview-progress{margin:4px 0 13px;font-weight:700;color:#38556e}.results-report-table th.results-sash-blue{border-top:3px solid #2875bc;background:#eaf3fe;color:#1c5185}.results-report-table th.results-sash-red{border-top:3px solid #be4d52;background:#fceff0;color:#91383d}.results-report-table td.results-sash-blue{border-left:3px solid #2875bc;background:#f8fbff}.results-report-table td.results-sash-red{border-left:3px solid #be4d52;background:#fffafb}
@media(max-width:640px){
 .results-report-table.rankings thead{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}.results-report-table.rankings,.results-report-table.rankings tbody{display:block;width:100%}.results-report-table.rankings tbody{display:grid;gap:12px}.results-report-table.rankings tr{display:grid;grid-template-columns:minmax(0,1fr);border:1px solid #d4dee9;border-radius:8px;overflow:hidden;min-width:0}.results-report-table.rankings th,.results-report-table.rankings td{width:auto!important;border:0;border-bottom:1px solid #e0e7ef;padding:9px 11px}.results-report-table.rankings th{font-size:1rem}.results-report-table.rankings th small{display:inline;margin-left:8px;font-size:.8rem}.results-report-table.rankings td{display:grid;grid-template-columns:76px minmax(0,1fr);gap:9px}.results-report-table.rankings td::before{content:attr(data-label);font-size:.83rem;font-weight:800;color:#445b70}.results-report-table.rankings td:last-child{border-bottom:0}.results-division-rankings{padding:11px}.results-division-rankings .results-rank-list{grid-template-columns:minmax(0,1fr);gap:9px}.results-division-rankings .results-rank-item{display:grid;grid-template-columns:76px minmax(0,1fr);gap:9px}.results-division-rankings .results-rank-item dt{margin:0}
}
@media(min-width:650px){.tournament-results-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:360px){.tournament-results-panel{margin:10px;padding:12px}.tournament-results-heading h2{font-size:1rem}.tournament-results-actions a,.tournament-results-actions button{flex:1 1 100%;padding:9px 8px;font-size:.83rem}.results-finish-dialog{padding:16px}.results-finish-dialog h2{font-size:20px}.results-page-main{padding:16px 10px 40px}.results-report-head,.results-report-section{padding:14px}.results-report-head h1{font-size:1.4rem}}
@page{size:A4 portrait;margin:13mm 10mm}
@media print{
 .results-page{background:#fff;color:#000;font-family:Arial,'Noto Sans KR','Malgun Gothic',sans-serif;font-size:10pt;-webkit-print-color-adjust:exact;print-color-adjust:exact}.results-page-header,.results-print-toolbar,#resultsLoadStatus{display:none!important}.results-page-main{max-width:none;margin:0;padding:0}.results-report-head,.results-report-section{margin:0 0 7mm;padding:0;border:0;border-radius:0;background:#fff}.results-report-head h1{font-size:19pt}.results-report-head dl{font-size:10pt;gap:2mm 3mm}.results-report-section h2{font-size:13pt;break-after:avoid;page-break-after:avoid}.results-report-section>p{break-after:avoid;page-break-after:avoid}.results-table-scroll{max-width:none;overflow:visible}.results-report-table{min-width:0;width:100%;font-size:9pt;table-layout:fixed}.results-report-table thead{display:table-header-group}.results-report-table tr{break-inside:avoid;page-break-inside:avoid}.results-report-table th,.results-report-table td{padding:2mm;border-color:#aaa}.results-report-table small{font-size:8pt;color:#333}.results-report-table strong{color:#000}.results-report-warning{border-color:#aaa;background:#fff;color:#000;font-size:9pt;break-inside:avoid}.results-report-time,.results-report-foot{font-size:8pt;color:#333}.results-player-outcome,.results-player-status{font-size:8pt;padding:0 1mm}.results-report-foot{margin-top:5mm}.results-error-list{color:#000;font-size:9pt}
 .results-rankings-overview{position:static;max-width:none}.results-report-table.rankings{display:table;width:100%;min-width:0}.results-report-table.rankings thead{display:table-header-group;position:static;width:auto;height:auto;margin:0;padding:0;overflow:visible;clip:auto;clip-path:none;white-space:normal;border:0}.results-report-table.rankings tbody{display:table-row-group}.results-report-table.rankings tr{display:table-row;border:0;border-radius:0;overflow:visible}.results-report-table.rankings th,.results-report-table.rankings td{display:table-cell;width:auto!important;border:1px solid #aaa;padding:2mm}.results-report-table.rankings th:nth-child(1){width:19%!important}.results-report-table.rankings th:nth-child(2){width:17%!important}.results-report-table.rankings th:nth-child(3){width:21%!important}.results-report-table.rankings th:nth-child(5){width:22%!important}.results-report-table.rankings td::before{display:none}.results-report-table.rankings td:last-child{border-bottom:1px solid #aaa}.results-report-table.rankings th{font-size:9pt}.results-report-table.rankings th small{display:block;margin:0;font-size:8pt}.results-division-rankings{margin:3mm 0;padding:3mm;border-color:#aaa;break-inside:avoid;page-break-inside:avoid}.results-division-rankings h3{font-size:10pt;break-after:avoid;page-break-after:avoid}.results-division-rankings .results-rank-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:3mm}.results-division-rankings .results-rank-item{display:block}.results-division-rankings .results-rank-item dt{margin:0 0 1mm}.results-rank-item dt{font-size:9pt;margin-bottom:1mm}.results-rank-item dd{font-size:9pt}.results-ranked-person small{font-size:8pt;color:#333}.results-ranked-person+.results-ranked-person{margin-top:1mm}.results-report-table th.results-sash-blue,.results-report-table th.results-sash-red{border-top-width:2px}.results-report-table td.results-sash-blue,.results-report-table td.results-sash-red{border-left-width:2px}.results-report-table .results-division-state,.results-report-table .results-division-state.pending{color:#333}
}
.tournament-results-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:8px 14px;min-width:0}
.tournament-results-toolbar[hidden],.tournament-results-toolbar [hidden],.division-results-panel[hidden]{display:none!important}
.tournament-results-toolbar>a,.tournament-results-toolbar>button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;max-width:100%;padding:6px 10px;border:1px solid #bdccdf;border-radius:7px;background:#fff;color:#174f83;font:inherit;font-size:.8rem;font-weight:700;text-decoration:none;cursor:pointer;overflow-wrap:anywhere}
.tournament-results-toolbar>button{border-color:#1f578f;background:#1f578f;color:#fff}
.tournament-results-toolbar>button:disabled{opacity:.5;cursor:default}
.tournament-results-toolbar .tournament-results-notice{flex-basis:100%;margin:0;font-size:.85rem;line-height:1.5;color:#175b86;overflow-wrap:anywhere}
.tournament-results-toolbar .tournament-results-notice:empty{display:none}
.tournament-results-toolbar :focus-visible{outline:3px solid #3c94e7;outline-offset:2px}
#divisionResultsParking[hidden]{display:none!important}
.division-results-link{display:inline-flex;flex:none;align-items:center;gap:4px;min-height:34px;padding:2px 0 2px 4px;color:#edf5ff;font-size:.75rem;font-weight:700;line-height:1.2;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.division-results-link[hidden]{display:none}
.division-results-link>span{font-size:1.05rem;line-height:1;text-decoration:none}
.division-results-link:focus-visible{outline:2px solid #f4c36b;outline-offset:2px;border-radius:3px}
.division-podium{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:clamp(4px,1.2vw,9px);margin:0}
.division-podium-rank{--podium-edge:#849ab0;--podium-title:#314961;--podium-medal:#deebf7;min-width:0;padding:clamp(5px,1.1vw,9px);border:1px solid #d4deec;border-top:3px solid var(--podium-edge);border-radius:7px;background:#f5f8fc;color:#172740}
.division-podium-rank--1{--podium-edge:#e8a62b;--podium-title:#654103;--podium-medal:#f7d47d;border-color:#f2cb70;border-top-color:var(--podium-edge);background:linear-gradient(145deg,#fff2c9,#fff9e8)}
.division-podium-rank--3{--podium-edge:#bd8967;--podium-title:#72452a;--podium-medal:#f1d7c3;background:#fff8f2}
.division-podium-place{display:flex;align-items:center;gap:4px;min-width:0;margin:0 0 4px;color:var(--podium-title);font-size:clamp(.625rem,1.65vw,.78rem);font-weight:800;line-height:1.2}
.division-podium-medal{display:grid;place-items:center;flex:none;width:clamp(15px,4.2vw,21px);aspect-ratio:1;border-radius:50%;background:var(--podium-medal);color:var(--podium-title);font-size:.68rem;font-variant-numeric:tabular-nums}
.division-podium-label{min-width:0;overflow-wrap:anywhere}
.division-podium-people{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(4.75rem,100%),1fr));gap:4px 7px;min-width:0;margin:0}
.division-podium-person{display:block;min-width:0;line-height:1.2;overflow-wrap:anywhere;word-break:keep-all}
.division-podium-person>strong{display:block;font-size:clamp(.8125rem,2.2vw,.98rem);font-weight:800}
.division-podium-rank--1 .division-podium-person>strong{font-size:clamp(.875rem,2.35vw,1.06rem)}
.division-podium-person>small{display:block;margin-top:2px;color:#4c5e73;font-size:clamp(.625rem,1.7vw,.76rem)}
/* A single compact row next to the group title, independent of PDF zoom. */
.original-group-heading>.division-results-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:4px;flex:1 1 24rem;min-width:0;max-width:33rem;margin-inline-start:auto}
#divisionResultsHeading{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.division-results-panel .division-podium{gap:4px;min-width:0}
.division-results-panel .division-podium-rank{padding:2px 3px;border-top-width:2px;border-radius:5px;text-align:center}
.division-results-panel .division-podium-rank--3:has(.division-podium-person:nth-child(2)){grid-column:span 2}
.division-results-panel .division-podium-place{justify-content:center;margin:0 0 1px;font-size:10px;line-height:11px;white-space:nowrap}
.division-results-panel .division-podium-people{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:2px}
.division-results-panel .division-podium-person>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(11px,2.85vw,13px);line-height:14px}
.division-results-panel :is(.division-podium-medal,.division-podium-person>small){display:none}
#divisionResultsExpand{display:grid;place-items:center;min-width:26px;min-height:28px;padding:0 3px;border:1px solid #bfcee1;border-radius:5px;background:#edf4fc;color:#21578b;font-family:inherit;font-size:19px;font-weight:700;line-height:1;cursor:pointer;touch-action:manipulation}
#divisionResultsExpand[hidden]{display:none}
#divisionResultsExpand:hover{background:#e1edf8}
#divisionResultsExpand:focus-visible{outline:2px solid #ad7100;outline-offset:1px}
@media(max-width:360px){
 .original-group-heading>.division-results-panel,.division-results-panel .division-podium{gap:2px}
 .division-results-panel .division-podium-rank{padding-inline:2px}
 #divisionResultsExpand{min-width:24px}
}
#divisionResultsDialog{box-sizing:border-box;width:min(96vw,540px);max-height:90dvh;padding:12px;border:1px solid #2d4866;border-radius:10px;background:#142944;color:#fff}
#divisionResultsDialog::backdrop{background:#0d182680}
.division-results-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.division-results-dialog-head h2{margin:0;font-size:1rem;line-height:1.3;overflow-wrap:anywhere}
.division-results-dialog-head button{min-height:36px;padding:4px 9px;border:1px solid #bdccdf;border-radius:5px;background:#fff;color:#174f83;font-weight:700;white-space:nowrap;cursor:pointer}
#divisionResultsDialog .division-results-link{margin-top:4px}
@media(max-width:520px){.tournament-results-toolbar>a,.tournament-results-toolbar>button{min-height:44px}}
