.brand { border: 0; background: none; padding: 0; text-align: left; cursor: pointer; font-family: inherit; }
.hero { overflow: clip; }
.button-link { border: 0; background: none; cursor: pointer; font-family: inherit; }
.day-column .event-list { max-height: 650px; overflow-y: auto; overscroll-behavior-y: contain; scrollbar-width: thin; scrollbar-color: #aeb8c8 #edf0f4; padding-right: 5px; scrollbar-gutter: stable; }
.day-column .event-list:focus-visible, .table-scroll:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.achievement-banner[type=button] { font-family: inherit; text-align: left; cursor: pointer; transition: transform .16s, box-shadow .16s; }
.achievement-banner[type=button]:hover { transform: translateY(-3px); box-shadow: 0 10px 24px #07182f12; }
.achievement-banner small { display: block; margin-top: 14px; font-size: 10px; color: var(--blue); font-weight: 800; }
.medal-actions { display: flex; align-items: flex-end; flex-direction: column; gap: 10px; }
.history-button { border: 1px solid #c6d1e7; border-radius: 8px; padding: 8px 11px; color: var(--blue); background: #f5f8ff; font: 700 11px 'Manrope', sans-serif; cursor: pointer; text-align: left; }
.history-button:hover { background: #e3ebfc; border-color: var(--blue); }
.event-bottom { flex-wrap: wrap; }
.event-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-left: auto; }
.future-item .history-button { margin-top: 9px; }
.history-section { margin-top: 64px; }
.history-photo { display: grid; grid-template-columns: 240px 1fr; gap: 25px; margin: 22px 0; padding: 18px; border-radius: 14px; background: white; border: 1px solid var(--line); }
.history-photo img { width: 100%; height: auto; align-self: center; }
.history-photo figcaption { align-self: center; }
.history-photo h3 { font: 700 24px/1.3 'Playfair Display', Georgia, serif; margin: 10px 0; }
.history-photo p { font-size: 12px; line-height: 1.8; color: var(--muted); }
.history-photo small { display: block; font-size: 9px; line-height: 1.7; color: var(--muted); }
.history-photo a { color: var(--blue); }
.history-summary { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; margin: 22px 0; }
.history-summary > div { border-top: 2px solid var(--saffron); padding: 18px; background: #fff; border-radius: 0 0 10px 10px; }
.history-summary strong { display: block; font-size: 30px; letter-spacing: -1px; }
.history-summary span { font-size: 11px; color: var(--muted); }
.history-summary .dialog-source { grid-column: 1/-1; }
.history-filter { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 18px 0; color: var(--muted); font-size: 12px; }
.history-filter input, .history-filter select { font: inherit; min-width: 200px; max-width: 100%; border: 1px solid #cbd3df; border-radius: 8px; padding: 10px; color: var(--ink); background: white; }
.table-scroll { max-height: 510px; overflow: auto; overscroll-behavior: contain; border: 1px solid var(--line); border-radius: 12px; scrollbar-width: thin; }
.data-table { width: 100%; min-width: 550px; border-collapse: separate; border-spacing: 0; font-size: 12px; text-align: left; background: white; }
.data-table caption { text-align: left; padding: 10px 16px; color: var(--muted); font-size: 11px; }
.data-table th, .data-table td { padding: 14px 16px; border-bottom: 1px solid #e7e9ee; }
.data-table thead th { position: sticky; top: 0; z-index: 1; background: #07182f; color: white; font-size: 10px; text-transform: uppercase; }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.data-table tbody tr:nth-child(even) { background: #f9fafc; }
.data-table small { display: block; margin-top: 4px; font-weight: 400; color: var(--muted); }
.data-table .gold-cell { color: #986810; font-weight: 800; }
.data-table .bronze-cell { color: #986041; }
.data-table .india-standing > * { background: #e8f4e9; font-weight: 800; }
.data-table .india-standing > :first-child { border-left: 4px solid var(--saffron); }
.detail-intro { color: var(--muted); font-size: 13px; line-height: 1.7; }
.archive-heading { padding: 18px; margin: 18px 0; border-radius: 10px; background: #edf3ff; }
.archive-heading strong { display: block; font-size: 25px; }
.archive-heading span { font-size: 12px; }
.archive-medals { display: grid; gap: 10px; }
.archive-medal { padding: 16px 18px; border: 1px solid var(--line); border-left: 4px solid #aeb6c3; border-radius: 10px; background: white; }
.archive-medal.medal-gold { border-left-color: #d8a42e; }
.archive-medal.medal-bronze { border-left-color: #b77b51; }
.archive-medal[hidden] { display: none; }
.archive-medal h3 { margin: 7px 0; font-size: 14px; line-height: 1.65; }
.archive-medal p { color: var(--muted); font-size: 12px; line-height: 1.6; }
.medal-label { font: 500 10px 'DM Mono', monospace; text-transform: uppercase; color: var(--saffron); }
.athlete-profile { display: flex; align-items: center; gap: 16px; padding: 22px 0; }
.athlete-profile h3 { margin: 8px 0; font-size: 22px; }
.athlete-profile p { color: var(--muted); font-size: 12px; }
.athlete-avatar { display: grid; place-items: center; flex: none; width: 65px; height: 65px; border-radius: 50%; background: #edf3ff; font-size: 30px; }
.recap-events { display: grid; gap: 18px; }
.recap-event { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.recap-event h3 { font-size: 15px; margin: 7px 0; }
.recap-event .history-button { margin-top: 12px; }
.milestone-banner { display: grid; grid-template-columns: 240px 1fr; gap: 25px; overflow: hidden; margin-top: 22px; border: 1px solid #dec887; border-radius: 16px; background: #fff8e6; }
.milestone-banner img { width: 100%; height: 100%; max-height: 240px; object-fit: cover; }
.milestone-banner.has-archive-photo img { object-fit: contain; }
.milestone-banner > div { padding: 22px 22px 22px 0; }
.milestone-banner h2 { margin: 8px 0; font-size: 24px; }
.milestone-banner p { font-size: 12px; }
.milestone-banner small { display: block; margin-top: 12px; color: var(--muted); font-size: 9px; }
.news-dialog-shell { background: #f7f6f1; }
.news-dialog-list { padding-left: 16px; border-left: 2px solid #d4d9df; gap: 20px; }
.news-story, .update-card { position: relative; grid-template-columns: 1fr; gap: 12px; padding: 22px; border-radius: 12px; box-shadow: 0 3px 12px #07182f05; }
.news-story .update-index { position: absolute; top: 24px; left: -32px; width: 28px; height: 28px; background: #173a67; color: white; border: 4px solid #f7f6f1; font-size: 8px; }
.update-card .update-index { display: none; }
.news-story h3, .update-card h3 { font: 700 21px/1.45 'Playfair Display', Georgia, serif; letter-spacing: -.4px; }
.news-story p, .update-card p { font-size: 12px; line-height: 1.75; color: #465870; }
.news-story a, .update-card a, .news-story .details-button, .update-card .details-button { justify-self: start; align-self: start; margin: 0; font-size: 11px; }
.update-source { font-size: 9px; line-height: 1.6; letter-spacing: .6px; }
.daily-news-summary { margin-top: 0; background: white; }
.daily-news-summary:before { pointer-events: none; width: 80px; height: 80px; }
.daily-news-summary > * { position: relative; }
.daily-news-medals { max-height: 95px; overflow-y: auto; padding-right: 8px; }
.daily-result-list { font-size: 12px; line-height: 1.7; }
.daily-result-list ul { max-height: 280px; overflow: auto; padding-left: 20px; }
.daily-result-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.daily-result-list li > span { display: block; }
.daily-result-list summary { cursor: pointer; font-weight: 700; color: var(--blue); }
.updates-section > .section-heading { padding: 25px; border-top: 3px solid var(--saffron); background: linear-gradient(90deg, #f0f3f8, #fff); border-radius: 0 0 12px 12px; }
.dialog-source a { color: var(--blue); }
.news-group-title { margin: 12px 0 0; font-size: 13px; color: var(--muted); letter-spacing: .3px; }
.archive-coverage { font-size: 12px; line-height: 1.6; color: var(--muted); }
.archive-breakdown { margin: 14px 0; font-size: 12px; }
.archive-breakdown summary { padding: 8px 0; cursor: pointer; font-weight: 700; }
@media(max-width:620px) {
  .history-photo { grid-template-columns: 1fr; }
  .day-column .event-list { max-height: 520px; }
  .history-summary { grid-template-columns: repeat(2,1fr); }
  .history-summary > div:last-of-type { grid-column: 1/-1; }
  .milestone-banner { grid-template-columns: 1fr; gap: 0; }
  .milestone-banner img { height: 160px; }
  .milestone-banner > div { padding: 20px; }
  .news-story, .update-card { padding: 17px; }
  .news-story a { grid-column: auto; }
  .news-story h3, .update-card h3 { font-size: 19px; }
  .medal-actions { grid-column: 2; align-items: flex-start; }
  .medal-actions time { margin: 0; }
}
/* Guided archive selectors and exact-event medal timelines. */
.history-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 22px; margin: 24px 0 12px; border: 1px solid #cdd7e6; border-radius: 12px; background: #edf2f8; }
.history-controls .history-filter { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin: 0; }
.history-controls .history-filter > span { color: #3f5068; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.history-controls select { width: 100%; min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid #bfcada; border-radius: 7px; background: white; color: var(--ink); font: 12px Manrope, sans-serif; }
.history-controls select:disabled { opacity: .6; cursor: not-allowed; }
.history-selection-summary { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 16px 0; font-size: 13px; }
.history-selection-summary span { color: var(--muted); font-size: 11px; }
.history-medal-results { max-height: 660px; overflow-y: auto; overscroll-behavior-y: contain; scrollbar-gutter: stable; padding: 4px 8px 4px 0; }
#history-overview { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 16px; }
#history-overview > summary { cursor: pointer; font-weight: 800; margin-bottom: 16px; }
.event-history-summary { background: var(--ink); padding: 24px; border-radius: 12px; color: white; }
.event-history-summary > span { display: block; margin-bottom: 10px; color: #dfef81; font: 10px 'DM Mono', monospace; letter-spacing: 1px; }
.event-history-summary > strong { font-size: clamp(20px, 4vw, 30px); letter-spacing: -.8px; }
.event-history-summary p { color: #d3ddeb; margin-bottom: 0; font-size: 12px; line-height: 1.7; }
.event-history-timeline { border-left: 2px solid #cdd9ed; padding-left: 22px; margin: 24px 0; }
.event-history-edition { position: relative; margin-bottom: 30px; }
.event-history-edition:before { content: ''; position: absolute; top: 8px; left: -29px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px #eef3ff; }
.event-history-edition > h3 { font-size: 19px; margin-bottom: 14px; }
.event-history-source { display: inline-block; color: var(--blue); font-size: 11px; margin-top: 12px; }
.event-history-note { margin: 14px 0; border-left: 3px solid #9dae28; padding: 12px 14px; background: #f5f8e7; border-radius: 0 6px 6px 0; }
.event-history-note > strong { font-size: 11px; color: #455118; text-transform: uppercase; letter-spacing: .4px; }
.event-history-note p { font-size: 12px; line-height: 1.7; margin: 7px 0; }
.event-history-note a { font-size: 10px; color: #2452a2; }
@media (max-width: 650px) {
  .history-controls { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .event-history-timeline { padding-left: 16px; }
  .event-history-edition:before { left: -23px; }
  .event-history-summary { padding: 18px; }
}
.historical-scorecard { margin: 1rem 0; border: 1px solid #cbd5e1; border-radius: 12px; background: #f8fafc; color: #12233d; }
.historical-scorecard summary { padding: 14px; cursor: pointer; font-weight: 750; }
.historical-scorecard summary:focus-visible { outline: 3px solid #2856ff; outline-offset: 2px; }
.historical-scorecard-body { padding: 0 14px 14px; overflow-wrap: anywhere; }
.historical-scorecard-body p { font-size: .9rem; line-height: 1.5; }
.historical-scorecard-scroll { overflow: auto; max-height: 300px; }
.historical-scorecard .data-table { min-width: 260px; width: 100%; }
