/* Reuse the site's paper, burgundy, border and handicap colors. */
.history-page{width:min(1160px,calc(100% - 36px));margin:24px auto;color:var(--ink);font-size:17px;line-height:1.65}
.history-brand{display:flex;align-items:center;gap:22px;border-bottom:2px solid var(--red);padding:0 0 15px;margin-bottom:20px}.history-brand>a{font-size:34px;font-weight:800;text-decoration:none;color:var(--red)}.history-brand>span{color:var(--muted);font-size:16px;border-left:1px solid var(--line);padding-left:22px}
.history-nav a,.history-retry{color:var(--red);display:inline-block;padding:9px 0;font-weight:700;text-underline-offset:4px}.history-page h1{font-size:30px;margin:12px 0 22px;line-height:1.4}
.history-criteria{display:flex;align-items:center;flex-wrap:wrap;gap:10px 25px;padding:16px 20px;border:1px solid var(--line);border-radius:7px;background:var(--panel)}.history-criteria>b,.history-criteria b{color:var(--red);font-size:21px}.history-criteria strong span{margin-left:8px}
.history-note{font-size:14px;color:var(--muted);margin:14px 0;line-height:1.8}.history-summary{display:flex;flex-wrap:wrap;gap:10px;background:var(--panel);padding:16px;border:1px solid var(--line);border-radius:7px;margin-top:20px}.history-summary>div{flex:1;text-align:center;white-space:nowrap;padding:5px 10px}.history-summary strong{font-size:27px;margin-left:8px;color:var(--red)}.history-summary span{font-size:15px;margin-left:3px}.history-total{background:var(--highlight);border-radius:6px}
.history-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:24px 0 16px}.history-filters{display:flex;flex-wrap:wrap;gap:8px}.history-filters a,.history-pagination a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:7px 17px;border:1px solid var(--line);border-radius:7px;background:var(--panel);color:var(--ink);text-decoration:none}.history-page [aria-current]{background:var(--red);border-color:var(--red);color:white}.history-sort{font-size:14px;color:var(--muted)}
.history-table{width:100%;border-collapse:collapse;background:var(--panel);table-layout:auto}.history-table th{background:#eee7db;font-size:15px;font-weight:700;white-space:normal}.history-table td,.history-table th{padding:13px 12px;border:1px solid var(--line);text-align:center}.history-table td{font-size:16px;white-space:normal;overflow-wrap:anywhere;vertical-align:middle}.history-table .history-teams{min-width:200px;text-align:left}.history-teams small{display:block;color:var(--muted);font-size:13px}.history-teams strong{display:block;line-height:1.8}.history-teams strong span{color:var(--muted);font-size:13px}.history-table .history-odds{font-variant-numeric:tabular-nums;font-size:15px}.history-result{display:inline-block;min-width:44px;padding:3px 12px;border-radius:5px;background:var(--highlight);color:var(--red)}
.history-range{font-size:14px;color:var(--muted);text-align:right}.history-pagination{display:flex;justify-content:center;align-items:center;gap:7px;flex-wrap:wrap;margin:24px 0}.history-pagination a{min-width:44px;padding:7px 12px}.history-empty{padding:36px 20px;border:1px solid var(--line);background:var(--panel);border-radius:7px;text-align:center}.history-footer{border-top:1px solid var(--line);padding-top:20px;margin-top:28px;font-size:13px}.history-footer a{color:var(--red)}.history-page a:focus-visible{outline:3px solid var(--red);outline-offset:3px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:900px){.history-page{width:calc(100% - 28px);margin:16px auto;font-size:16px}.history-brand{gap:12px}.history-brand>a{font-size:28px}.history-brand>span{font-size:12px;padding-left:12px}.history-page h1{font-size:25px}.history-criteria{padding:13px;gap:6px 18px}.history-criteria>span{flex-basis:100%}.history-criteria b{font-size:19px}.history-summary{gap:6px;padding:10px}.history-summary>div{flex:1 1 40%;padding:4px}.history-summary strong{font-size:24px}.history-filters{gap:6px}.history-filters a{padding:7px 12px;font-size:15px}.history-table,.history-table tbody,.history-table tr,.history-table td{display:block;width:100%}.history-table{background:transparent}.history-table thead{display:none}.history-table tr{border:1px solid var(--line);border-radius:7px;overflow:hidden;background:var(--panel);margin:12px 0}.history-table td{border:0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:90px minmax(0,1fr);gap:10px;text-align:left;padding:10px 13px;font-size:16px}.history-table td::before{content:attr(data-label);font-size:13px;color:var(--muted);font-weight:400}.history-table td:last-child{border-bottom:0}.history-table .history-teams{display:block;min-width:0}.history-table .history-teams::before{display:none}.history-table .history-teams strong{font-size:18px}.history-table td br{display:none}.history-table .history-result{justify-self:start}.history-range{text-align:left}.history-note{font-size:13px}}

.history-score{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:18px}.history-table td[data-label="최종 스코어"]{min-width:110px}@media(max-width:900px){.history-table td[data-label="최종 스코어"]{min-width:0}}
