/* Historical Worlds: intentionally separate from modern performance records. */
.tcdb-header-gap{height:32px}
@media(max-width:980px){.tcdb-header-gap{height:88px}}
@media(max-width:760px){.tcdb-header-gap{height:134px}}
.historical-app{margin-bottom:48px}
.historical-return{display:flex;flex-wrap:wrap;gap:14px;align-items:center;border-bottom:1px solid var(--tcdb-line);padding:0 0 14px;margin:0 0 25px;font-size:13px;font-weight:700}
.historical-return a{color:var(--tcdb-red);text-decoration:none}
.historical-return span{border-left:1px solid var(--tcdb-line);padding-left:14px}
.historical-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;padding:2px 0 20px}
.historical-intro{max-width:800px}
.historical-intro h2,.historical-edition-head h2{font-family:var(--tcdb-serif);color:var(--tcdb-ink);font-weight:700;letter-spacing:-.03em}
.historical-intro h2{font-size:clamp(24px,3vw,36px);margin:5px 0 6px}
.historical-intro p{font-size:14px;line-height:1.6;max-width:720px;margin:0;color:#495056}
.historical-kicker{display:block;text-transform:uppercase;letter-spacing:.07em;font-size:11px;font-weight:850;color:var(--tcdb-red)}
.historical-controls{flex:0 0 225px;display:flex;flex-direction:column;gap:5px}
.historical-controls label{font-size:12px;font-weight:750}
.historical-controls select{width:100%;background:white;border:1px solid #bfc4c8;border-radius:2px;padding:11px 12px;min-height:44px}
.historical-year-list{display:flex;gap:5px;overflow-x:auto;padding:0 0 13px;margin-bottom:18px;border-bottom:1px solid var(--tcdb-line);scrollbar-width:thin}
.historical-year-list button{flex:0 0 auto;border:1px solid #d8dcdf;border-radius:2px;background:#fff;color:#3d4348;padding:8px 12px;font-size:12px;font-weight:700;cursor:pointer}
.historical-year-list button[aria-current="true"]{background:#1d1d1d;color:white;border-color:#1d1d1d}
.historical-year-list button:hover:not([aria-current="true"]){border-color:var(--tcdb-red);color:var(--tcdb-red)}
.historical-status{font-size:14px;color:#495056;padding:12px 0}
.historical-status:empty{display:none}
.historical-edition{border:1px solid var(--tcdb-line);background:#fff;padding:clamp(16px,2.5vw,30px)}
.historical-edition-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;border-bottom:1px solid var(--tcdb-line);padding-bottom:20px;margin-bottom:16px}
.historical-edition-head h2{font-size:clamp(25px,3.2vw,40px);margin:4px 0 9px}
.historical-edition-head p{color:#4b5156;font-size:14px;line-height:1.6;margin:0}
.historical-event-count{align-self:flex-start;background:var(--tcdb-soft);padding:9px 12px;font-weight:800;font-size:12px;white-space:nowrap}
.historical-note{border-left:3px solid var(--tcdb-red);padding:10px 14px;margin:12px 0 22px;background:#f7f7f7;font-size:13px;line-height:1.55;color:#303438}
.historical-group{font-family:var(--tcdb-serif);font-size:21px;margin:28px 0 10px;border-bottom:2px solid #202020;padding-bottom:9px;color:var(--tcdb-ink)}
.historical-medal-wrap{overflow-x:auto;max-width:100%;border:1px solid var(--tcdb-line)}
.historical-medal-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px;min-width:615px}
.historical-medal-table th,.historical-medal-table td{text-align:left;vertical-align:top;padding:11px 13px;border-bottom:1px solid #e4e7e9;overflow-wrap:anywhere}
.historical-medal-table th{background:#f5f5f5;font-size:12px;font-weight:800;color:#262626}
.historical-medal-table th:first-child{width:27%}
.historical-medal-table tr:last-child td{border-bottom:none}
.historical-medal-table .historical-event{font-weight:750;color:#161616}
.historical-competitor-name{font-weight:700;line-height:1.5}
.historical-competitor-name{display:flex;align-items:center;gap:6px}
.historical-competitor-name img{width:20px;height:15px;object-fit:cover;flex:none;border:1px solid #ddd}
.historical-nation{display:flex;align-items:center;gap:6px;color:#555;font-size:11px;margin-top:4px}
.historical-nation img{width:20px;height:15px;object-fit:cover;flex:0 0 auto;border:1px solid #ddd}
.historical-team-members{font-size:11px;line-height:1.5;color:#555;margin-top:4px}
.historical-medal-rank{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px;vertical-align:middle}
.historical-medal-rank.gold{background:#b6923f}.historical-medal-rank.silver{background:#a3a8b0}.historical-medal-rank.bronze{background:#986c4c}
.historical-medal-table-summary{margin-top:26px}
.historical-medal-table-summary h3{font-family:var(--tcdb-serif);font-size:22px;margin:0 0 10px}
.historical-medal-table-summary table{width:100%;border-collapse:collapse;font-size:12px}
.historical-medal-table-summary th,.historical-medal-table-summary td{border-bottom:1px solid #e0e0e0;padding:9px 12px;text-align:left}
.historical-medal-table-summary th{background:#f4f4f4}
@media(max-width:700px){.historical-toolbar{display:block}.historical-controls{margin-top:19px;max-width:none}.historical-edition{padding:14px}.historical-edition-head{padding-bottom:13px}.historical-group{margin-top:21px}.historical-year-list button{min-height:40px}.historical-medal-table{min-width:560px;font-size:12px}.historical-medal-table th,.historical-medal-table td{padding:9px}}

.historical-flag{display:inline-block;width:20px;height:15px;flex:0 0 20px;border:1px solid #d3d6d8;background-repeat:no-repeat;background-color:#eee;box-sizing:content-box}
