/* official.css — shared by /official and /schedule (the LMU races section): page tokens, the sub-nav tabs and the schedule cards (official-schedule.js). */
.ofl-stats { margin: -8px 0 12px; min-height: 1.4em; font-size: var(--fs-small); color: var(--text-3); font-variant-numeric: tabular-nums; }
.ofl-page { --ofl-r: var(--v2-r-lg, 10px); --ofl-line: var(--line-2, rgba(127, 127, 127, .25)); }
.ofl-page .page-lede { margin: 0 0 var(--s3, 12px); font-size: var(--fs-small); color: var(--text-3); }
.ofl-grid + .cmp-updated { margin-top: var(--s3, 12px); }
/* Schedule: one section per tier, a card per series (hero image, facts, start chips, the picked start's actions). */
.ofl-tier { margin: var(--s5, 24px) 0 var(--s3, 12px); font-size: var(--v2-fs-lg, 20px); }
.ofl-tier small { margin-left: 8px; font-size: var(--fs-small); font-weight: 500; color: var(--text-3); }
.ofl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: var(--s4, 16px); }
.ofl-card { min-width: 0; border: 1px solid var(--line-2, rgba(127, 127, 127, .25)); border-radius: var(--v2-r-lg, 10px); overflow: hidden; background: var(--v2-panel, var(--bg-2, transparent)); }
.ofl-hero { position: relative; aspect-ratio: 16 / 6; background: var(--v2-inset, #111) center / cover no-repeat; }
.ofl-hero h3 { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 28px 14px 10px; font-size: 18px; color: #fff;
    background: linear-gradient(transparent, rgba(0, 0, 0, .78)); text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.ofl-cb { padding: 12px 14px 14px; }
.ofl-facts { margin: 0; font-size: var(--fs-small); color: var(--text-2, var(--text)); }
.ofl-facts + .ofl-facts { margin-top: 3px; color: var(--text-3); }
.ofl-slots { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.ofl-slot { display: inline-flex; flex-direction: column; align-items: flex-start; min-width: 74px; padding: 5px 9px; border: 1px solid var(--line-2, rgba(127, 127, 127, .3));
    border-radius: var(--v2-r-md, 6px); background: transparent; color: inherit; font: inherit; cursor: pointer; text-align: left; }
.ofl-slot b { font-size: var(--fs-small); font-weight: 650; white-space: nowrap; }
.ofl-slot span { font-size: var(--fs-micro); color: var(--text-3); white-space: nowrap; }
.ofl-slot[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.ofl-slot.is-set b::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: var(--accent); vertical-align: middle; }
.ofl-slot.is-est { border-style: dashed; }
.ofl-slot.is-proj { border-style: dotted; color: var(--text-3); }
.ofl-card.is-proj .ofl-hero { opacity: .6; }
.ofl-weeks { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 var(--s3, 12px); }
.ofl-weeks small { margin-left: 4px; font-size: var(--fs-micro); font-weight: 500; color: var(--text-3); text-transform: uppercase; letter-spacing: .05em; }
.ofl-more-times b { color: var(--accent); }
.ofl-days { display: flex; gap: 4px; margin-top: 12px; overflow-x: auto; scrollbar-width: thin; }
.ofl-day { flex: none; display: inline-flex; flex-direction: column; align-items: center; padding: 4px 9px; border: 0; border-bottom: 2px solid transparent;
    background: transparent; color: var(--text-2, var(--text)); font: inherit; font-size: var(--fs-small); font-weight: 600; cursor: pointer; white-space: nowrap; }
.ofl-day small { font-size: 10px; font-weight: 500; color: var(--text-3); text-transform: uppercase; letter-spacing: .05em; }
.ofl-day[aria-pressed="true"] { border-bottom-color: var(--accent); color: var(--text-hi, var(--text)); }
.ofl-rounds { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 2px 12px; margin: 10px 0 0; padding: 0; list-style: none; font-size: var(--fs-micro); }
.ofl-rounds li { display: flex; flex-wrap: wrap; gap: 0 5px; padding: 3px 6px; border-radius: var(--v2-r-sm, 3px); color: var(--text-3); }
.ofl-rounds li b { color: var(--text-2, var(--text)); }
.ofl-rounds li span { flex-basis: 100%; }
.ofl-rounds li.is-cur { background: var(--v2-overlay, rgba(127, 127, 127, .15)); box-shadow: inset 2px 0 0 var(--accent); color: var(--text-hi, var(--text)); }
.ofl-sub { margin: 12px 0 0; font-size: var(--fs-micro); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.ofl-act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-2, rgba(127, 127, 127, .25)); }
.ofl-act p { flex: 1 1 100%; margin: 0; font-size: var(--fs-small); color: var(--text-2, var(--text)); }
.ofl-act select { min-height: 34px; flex: 1 1 100%; min-width: 0; max-width: 100%; }
.ofl-btns { display: flex; gap: 8px; flex: 1 1 100%; }
.ofl-btns .v2-btn { flex: 1 1 0; }
.ofl-act .is-on { border-color: var(--accent); color: var(--accent); }
/* LMU races sub-nav, the same strip on /schedule (links) and /official (view buttons plus links). */
.ofl-tabs { display: flex; gap: 2px; margin: 0 0 var(--s4, 16px); overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--ofl-line); }
.ofl-tabs::-webkit-scrollbar { display: none; }
.ofl-tabs button, .ofl-tabs a { flex: none; min-height: 0; padding: 9px 14px 10px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; margin-bottom: -1px; background: none; box-shadow: none;
    color: var(--text-3); font: inherit; font-size: var(--fs-small); font-weight: 650; white-space: nowrap; cursor: pointer; text-decoration: none; }
.ofl-tabs button:hover, .ofl-tabs a:hover { color: var(--text-hi, var(--text)); }
.ofl-tabs button[aria-pressed="true"], .ofl-tabs a[aria-current="page"] { border-bottom-color: var(--accent); color: var(--text-hi, var(--text)); }
.ofl-signin { flex: 1 1 100%; font-size: var(--fs-small); }
/* Past weekly results cards: the class table scrolls inside the card (the wide-screen sticky-header rule would let it spill), link buttons look like the schedule's buttons. */
.ofl-page .ofl-wcard .table-wrap.cmp-wrap { overflow-x: auto; }
.ofl-wcard .ofl-btns { margin: 0; }
.ofl-wcard .ofl-btns a { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.ofl-lookup { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 10px; }
.ofl-lookup:empty { display: none; }
