/* Exact owner-supplied px values. Scoped exception; does not restyle other panels. */
/* Astro glyphs use the same ink-fitted SVG/font renderer as the chart. */
[id^="panel-timeline-"]{padding:18px 22px;background:#F4F7F5}
.tl-workspace[data-overview="false"]{font:400 14px/20px 'Source Sans 3',Arial,sans-serif;color:var(--astraliga-brand-green);background:var(--astraliga-surface);padding:14px;border:1px solid var(--astraliga-border);border-radius:8px;overflow:visible}
.tl-workspace[data-overview="false"]>.tl-overview,.tl-workspace[data-overview="false"]>.tl-chart-footer,.tl-workspace[data-overview="false"]>.tl-detail{display:none!important}
.tl-workspace[data-overview="false"] .tl-header{padding:0;margin:0 0 12px;border:0;min-height:0}
.tl-workspace[data-overview="false"] .tl-header h3{font:600 18px/24px Archivo,Arial,sans-serif;margin:0}
.tl-workspace[data-overview="false"] .tl-header span{font:400 12px/18px 'Source Sans 3',Arial,sans-serif;color:var(--astraliga-text-secondary)}
.tl-workspace[data-overview="false"] .tl-filter-band{padding:0 0 12px;margin:0;font-family:'Source Sans 3',Arial,sans-serif}
.tl-workspace[data-overview="false"] button,.tl-workspace[data-overview="false"] select{font:400 14px/20px 'Source Sans 3',Arial,sans-serif;padding:6px 10px;border:1px solid var(--astraliga-border);border-radius:6px;background:var(--astraliga-surface);color:var(--astraliga-brand-green);min-height:0;min-width:0;box-shadow:none;letter-spacing:normal;text-transform:none}
.tl-workspace[data-overview="false"] button:disabled{opacity:.45;cursor:default}
.tl-workspace[data-overview="false"] .tl-layer-options label{font:400 12px/18px 'Source Sans 3',Arial,sans-serif}
.tl-workspace[data-overview="false"] .tl-aspect-options button{padding:4px 6px}
.tl-workspace[data-overview="false"] .tl-aspect-options img{width:12px;height:12px}
.tl-workspace[data-overview="false"] .tl-filter-layers{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:7px}
.tl-workspace[data-overview="false"] .tl-filter-band .tl-layer-options{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px 12px}
.tl-workspace[data-overview="false"] .tl-filter-layers>.tl-filter-bulk{align-self:end}
.tf-panel{--tf-label-width:140px;font:400 14px/20px 'Source Sans 3',Arial,sans-serif;font-variant-numeric:tabular-nums;min-width:0}
.tf-panel *{box-sizing:border-box}
.tf-panel .tf-summary{display:flex;justify-content:space-between;gap:7px;background:var(--astraliga-surface-subtle);border-radius:8px 8px 0 0;padding:12px 14px 0;font-size:12px;color:var(--astraliga-text-secondary)}
.tf-panel .tf-overview{position:relative;background:var(--astraliga-surface-subtle);padding:16px 14px 12px 42px;border-radius:0 0 8px 8px;margin-bottom:12px}
.tf-panel .tf-scale{position:absolute;left:14px;top:16px;height:88px;display:flex;flex-direction:column;justify-content:space-between;font-size:11px;color:var(--astraliga-text-secondary)}
.tf-panel .tf-hist{height:88px;position:relative;border-bottom:1px solid var(--astraliga-border);background:linear-gradient(var(--astraliga-border) 1px,transparent 1px) 0 0/100% 44px;touch-action:pan-y;cursor:crosshair}
.tf-panel .tf-bars{position:absolute;inset:0;pointer-events:none}
.tf-panel .tf-bars i{position:absolute;bottom:0;min-width:1px;display:flex;flex-direction:column-reverse}
.tf-panel .tf-bars i>span{display:block;width:100%;flex:none}
.tf-panel .tf-scan-guide{position:absolute;inset:0;pointer-events:none;z-index:2}
.tf-panel .tf-scan-guide[hidden]{display:none}
.tf-panel .tf-scan-guide i{position:absolute;top:0;bottom:0;width:1px;background:var(--astraliga-brand-green)}
.tf-panel .tf-bars i.tf-bar-active{outline:1px solid var(--astraliga-brand-green);outline-offset:1px}
.tf-panel .tf-scan-guide time{position:absolute;top:-16px;transform:translateX(-50%);white-space:nowrap;padding:0 3px;background:var(--astraliga-surface-subtle);color:var(--astraliga-brand-green)}
.tf-static .tf-details{overflow-anchor:none}
.tl-workspace[data-overview="true"][data-focus-ready="true"]{padding:14px;border-color:var(--astraliga-border);border-radius:8px;background:var(--astraliga-surface)}
.tf-static button{min-height:0;min-width:0;color:var(--astraliga-brand-green);box-shadow:none}
.tf-static .tf-details{margin-bottom:0}
.tf-static .tf-hist:focus-visible{outline:2px solid var(--astraliga-selection-outline);outline-offset:3px}
.tf-panel .tf-window{position:absolute;top:-2px;bottom:-1px;border:2px solid var(--astraliga-selection-outline);pointer-events:none}
.tf-panel .tf-over-sport{position:relative;height:24px;font-size:11px}
.tf-panel .tf-over-sport>span{position:absolute;transform:translateX(-50%);top:4px}
.tf-panel button.tf-sport-mark{position:absolute;padding:2px;border:0;background:transparent;font:400 12px/18px 'Source Sans 3',Arial,sans-serif}
.tf-panel .tf-over-clock{height:24px;position:relative}
.tf-panel time{font:400 12px/18px 'Source Sans 3',Arial,sans-serif;font-variant-numeric:tabular-nums}
.tf-panel .tf-over-clock time,.tf-panel .tf-axis time{position:absolute;transform:translateX(-50%);white-space:nowrap;color:var(--astraliga-text-secondary)}
.tf-panel .tf-over-clock time:first-child,.tf-panel .tf-axis time:first-child{transform:none}
.tf-panel .tf-over-clock time:last-child,.tf-panel .tf-axis time:last-child{transform:translateX(-100%)}
.tf-panel .tf-toolbar,.tf-panel .tf-halves,.tf-panel .tf-navigation{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.tf-panel .tf-toolbar{justify-content:space-between;margin-bottom:12px}
.tf-panel .tf-toolbar label{display:flex;align-items:center;gap:7px;font:400 12px/18px 'Source Sans 3',Arial,sans-serif;color:var(--astraliga-text-secondary)}
.tf-panel .tf-navigation button,.tf-panel .tf-navigation select{height:34px}
.tf-panel .tf-range{font-size:11px;color:var(--astraliga-text-secondary)}
.tf-panel button[aria-pressed="true"]{background:var(--astraliga-brand-green);color:var(--astraliga-surface)}
.tf-panel .tf-details{display:grid;grid-template-columns:160px minmax(0,1fr);grid-template-rows:auto;align-items:start;gap:16px;padding:10px 12px;margin-bottom:12px;border:1px solid var(--astraliga-border);border-left:3px solid var(--astraliga-brand-amber);border-radius:6px;background:var(--astraliga-canvas);scroll-margin-top:90px}
.tf-panel .tf-details>div:first-child{min-width:0}
.tf-panel .tf-detail-records{height:auto;max-height:none;min-width:0;overflow-x:auto;overflow-y:visible}
.tf-panel .tf-detail-records:focus-visible{outline:1px solid var(--astraliga-brand-amber);outline-offset:2px}
.tf-panel .tf-details>div>span,.tf-panel .tf-details small{font:400 12px/18px 'Source Sans 3',Arial,sans-serif;color:var(--astraliga-text-secondary)}
.tf-panel .tf-details h4{font:600 16px/24px 'Source Sans 3',Arial,sans-serif;margin:6px 0}
.tf-panel table{border-collapse:collapse;table-layout:auto;width:100%;min-width:max-content;margin:0;font:400 14px/20px 'Source Sans 3',Arial,sans-serif}
.tf-panel .tf-detail-records table{width:max-content;min-width:0}
.tf-panel td{padding:5px 6px;border:0;border-bottom:1px solid var(--astraliga-surface-subtle);vertical-align:top;font:400 14px/20px 'Source Sans 3',Arial,sans-serif;white-space:nowrap}
.tf-panel td small{display:block}
.tf-panel td small.tf-record-match-minute{display:inline;font:400 12px/18px 'Source Sans 3',Arial,sans-serif;margin-left:7px}
.tf-panel td>details{display:inline-block;vertical-align:top;margin-left:12px}
.tf-panel td time{font-size:13px;white-space:nowrap}
.tf-panel td:first-child,.tf-panel td.tf-record-expression-cell,.tf-panel td.tf-record-family-cell{width:1px;white-space:nowrap;text-align:left}
.tf-panel .tf-record-line{display:inline-flex;align-items:baseline;flex-wrap:nowrap;justify-content:flex-start;gap:2px 12px;white-space:nowrap}
.tf-panel .tf-record-expression{font:400 12px/18px 'Source Sans 3',Arial,sans-serif;white-space:nowrap}
.tf-panel .tf-record-expression>span,.tf-panel .tf-record-expression .timeline-exact,.tf-panel .tf-record-expression .timeline-object--name{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.tf-panel .tf-record-expression .timeline-object--name{font:400 13px/18px 'Source Sans 3',Arial,sans-serif}
.tf-panel .tf-record-expression .timeline-object--name>span{font:inherit;max-width:none;overflow:visible;text-overflow:clip}
.tf-panel .tf-record-expression .timeline-object--name{color:var(--astraliga-text)}
.tf-panel .tf-record-expression strong{font:400 12px/18px 'Source Sans 3',Arial,sans-serif}
.tf-panel .tf-record-expression .timeline-exact__aspect,.tf-panel .tf-record-expression .timeline-exact__aspect svg.astro-symbol,.tf-panel .tf-record-expression .timeline-exact__aspect img{display:inline-flex;align-items:center;min-width:10px;width:10px;height:10px;font-size:10px;line-height:10px}
.tf-panel .tf-record-expression .timeline-exact__aspect .astro-symbol-ink{stroke:none}
.tf-panel .tf-record-expression .timeline-object--name>.chart-aspect-lord-prefix{color:var(--astraliga-text-secondary);font:400 12px/18px 'Source Sans 3',Arial,sans-serif}
.tf-panel .tf-record-family{font:400 12px/18px 'Source Sans 3',Arial,sans-serif;color:var(--astraliga-text-secondary);border-left-width:6px;border-left-style:solid;border-left-color:var(--family,currentColor);padding-left:6px;white-space:nowrap}
.tf-panel .tf-details:not(.tf-scan-popover) .tf-detail-records td{
  font:400 13px/18px 'Source Sans 3',Arial,sans-serif;vertical-align:middle;
}
.tf-panel .tf-details:not(.tf-scan-popover) .tf-detail-records td :is(time,small,strong,.tf-record-expression,.timeline-object--name,.chart-aspect-lord-prefix,.tf-record-family){
  font:inherit;
}
.tf-panel .tf-record-match-event{display:inline-flex;align-items:center;gap:5px}
.tf-panel .tf-record-match-event :is(.tf-goal,.tf-card,.tf-penalty){flex:none}
.tf-panel .tf-record-active{background:var(--astraliga-surface-subtle)}
.tf-panel .tf-axis,.tf-panel .tf-row{display:grid;grid-template-columns:var(--tf-label-width) minmax(0,1fr)}
.tf-panel .tf-axis{height:36px;font-size:11px;align-items:end;color:var(--astraliga-text-secondary)}
.tf-panel .tf-axis>span{padding-bottom:2px}
.tf-panel .tf-axis>div{position:relative;height:36px}
.tf-panel .tf-axis time{top:19px;line-height:16px}
.tf-panel .tf-time-grid{position:relative}
.tf-panel .tf-grid-lines{position:absolute;top:36px;bottom:0;left:var(--tf-label-width);right:0;pointer-events:none;z-index:0}
.tf-panel .tf-grid-lines i{position:absolute;top:0;bottom:0;width:1px;background:var(--astraliga-border)}
.tf-panel .tf-rows{overflow-anchor:none}
.tf-panel .tf-pointer{position:absolute;inset:0;pointer-events:none;z-index:1}
.tf-panel .tf-pointer[hidden]{display:none}
.tf-panel .tf-pointer-line{position:absolute;left:0;top:0;bottom:0;width:1px;background:var(--astraliga-selection-outline)}
.tf-panel .tf-pointer-time{position:absolute;top:0;transform:translateX(-50%);padding:0 3px;background:var(--astraliga-surface-subtle);color:var(--astraliga-brand-green);white-space:nowrap;font:400 12px/18px 'Source Sans 3',Arial,sans-serif}
.tf-panel .tf-row{min-height:40px;border-top:1px solid var(--astraliga-border)}
.tf-panel .tf-sport-row{min-height:34px;height:34px}
.tf-panel .tf-label{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:0 12px 0 8px;font:400 12px/18px 'Source Sans 3',Arial,sans-serif;border-right:1px solid var(--astraliga-border)}
.tf-panel .tf-label>span{border-left:3px solid var(--family);padding-left:7px;min-width:0}
.tf-panel .tf-label small{font:400 12px/18px 'Source Sans 3',Arial,sans-serif}
.tf-panel .tf-track{position:relative;min-width:0}
.tf-panel button.tf-event{position:absolute;min-height:23px;height:23px;padding:2px 4px;border:0;border-radius:3px;white-space:nowrap;background:var(--astraliga-surface);font:400 12px/18px 'Source Sans 3',Arial,sans-serif;text-align:left;z-index:2}
.tf-panel .tf-track button.tf-event{color:var(--astraliga-text-secondary)}
.tf-panel button.tf-event .tf-event-expression{display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px;max-width:100%;font:400 12px/18px 'Source Sans 3',Arial,sans-serif}
.tf-panel button.tf-event .tf-event-object{display:inline-flex;align-items:center;gap:2px;white-space:nowrap}
/* Measurement probes also use tf-event, but are outside .tf-track. */
.tf-panel button.tf-event svg.astro-symbol{width:var(--astro-optical-width,16px);height:var(--astro-optical-height,16px);margin:0;vertical-align:middle}
.tf-panel button.tf-event svg.astro-symbol.tf-aspect-glyph{width:10px;height:10px}
.tf-panel button.tf-event svg.astro-symbol .astro-symbol-ink{stroke:none;font-weight:400}
.tf-panel button.tf-event svg.astro-symbol .astro-symbol-name{font-weight:400}
.tf-panel button.tf-event[data-wrap="true"]{height:auto;white-space:normal;overflow-wrap:anywhere}
.tf-panel .tf-sport-row button.tf-event{padding:2px}
.tf-panel button.tf-event:hover,.tf-panel button.tf-event:focus-visible{background:var(--astraliga-surface-subtle);outline:1px solid var(--astraliga-brand-amber)}
.tf-panel .tf-source-anchor{position:absolute;width:1px;height:3px;background:var(--astraliga-text-secondary);pointer-events:none;z-index:3}
.tf-panel .tf-glyph{font:400 12px/18px 'Astraliga Astro Symbols','Source Sans 3',Arial,sans-serif;font-synthesis:none;color:inherit;opacity:1;vertical-align:baseline;margin:0;padding:0}
.tf-panel .tf-body-glyph{font-size:14px;display:inline-block;position:relative;height:16px;vertical-align:-3px}
.tf-panel .tf-body-ink{position:absolute;display:block;font:inherit;line-height:0;white-space:nowrap;text-align:left}
.tf-panel .tf-goal{display:inline-block;width:20px;height:20px;color:var(--astraliga-brand-green-control,#246E60);vertical-align:middle}
.tf-panel .tf-card{display:inline-block;width:8px;height:14px;background:var(--astraliga-brand-amber)}
.tf-panel .tf-card.tf-red{background:var(--astraliga-error-fg)}
.tf-panel .tf-penalty{font:bold 14px/20px 'Source Sans 3',Arial,sans-serif;color:#000}
.tf-panel .tf-cancelled{text-decoration:line-through}
.match-record:has([id^="panel-timeline-"]:not([hidden])) .team-name{font:400 18px/24px 'Source Sans 3',Arial,sans-serif}
@media(max-width:1023px){.tl-workspace[data-overview="false"] .tl-filter-band .tl-layer-options{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:649px){[id^="panel-timeline-"]{padding:12px}.tl-workspace[data-overview="false"]{padding:10px}.tl-workspace[data-overview="false"] .tl-filter-layers{grid-template-columns:minmax(0,1fr)}.tl-workspace[data-overview="false"] .tl-filter-band .tl-layer-options{grid-column:1;grid-row:1;grid-template-columns:repeat(2,minmax(0,1fr))}.tl-workspace[data-overview="false"] .tl-filter-layers>.tl-filter-bulk{grid-column:1;grid-row:2;justify-self:end}.tl-workspace[data-overview="false"] .tl-layer-options label{white-space:normal}.tf-panel{--tf-label-width:102px}.tf-panel .tf-details{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;gap:7px}.tf-panel .tf-summary{flex-wrap:wrap}.tf-panel td{padding:5px 6px}.tf-panel .tf-label{padding-right:5px}}
@media(max-width:420px){.tf-panel .tf-navigation{width:100%;flex-wrap:nowrap;align-items:flex-end}.tf-panel .tf-navigation label{flex:1;min-width:0;flex-direction:column;align-items:stretch;gap:3px}.tf-panel .tf-navigation select{width:100%}}
@media(pointer:coarse){.tf-panel .tf-toolbar button,.tf-panel .tf-toolbar select{min-height:44px;min-width:44px}.tf-panel .tf-toolbar select{font-size:16px}}
@media(max-width:649px){.tl-workspace[data-overview="true"][data-focus-ready="true"]{padding:10px}}
.tf-with-periods .tf-summary{align-items:center;padding:4px 12px 0;min-height:48px}
.tf-with-periods .tf-overview{padding:16px 12px 4px 40px;margin-bottom:0}
.tf-with-periods .tf-hist{height:64px;background-size:100% 32px}
.tf-with-periods .tf-scale{left:12px;top:16px;height:64px}
/* An empty sports track is not a24px spacer. Nonempty packed markers keep
 * their measured, source-preserving inline height. */
.tf-with-periods .tf-over-sport:empty{height:0!important}
.tf-with-periods .tf-over-clock{height:18px;margin-top:4px}
.tf-static-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px 16px}
.tf-static-actions button{border:0;background:transparent;min-height:44px;padding:4px 8px;color:var(--astraliga-brand-green-control);font:600 14px/20px 'Source Sans 3',Arial,sans-serif}
.tf-static .tf-scan-help{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.tf-panel .tf-details.tf-scan-popover{
  position:fixed;inset:auto;margin:0;display:flex;flex-direction:column;align-items:stretch;
  box-sizing:border-box;gap:5px;padding:8px 9px;width:min(360px,calc(100vw - 32px));height:min(156px,calc(100dvh - 32px));
  overflow:visible;z-index:20;border:1px solid var(--astraliga-brand-green-control);border-radius:8px;
  background:var(--surface);color:var(--text);font:400 13px/16px 'Source Sans 3',Arial,sans-serif;
  box-shadow:0 9px 24px rgb(20 48 40 / .20),0 2px 5px rgb(20 48 40 / .12);
}
.tf-panel .tf-scan-popover[hidden]{display:none!important}
.tf-panel .tf-scan-popover::backdrop{background:transparent;pointer-events:none}
.tf-panel .tf-scan-popover::after{
  content:"";position:absolute;left:var(--tf-popup-pointer,50%);bottom:-4px;width:7px;height:7px;
  transform:translateX(-50%) rotate(45deg);background:var(--surface);pointer-events:none;
  border-right:1px solid var(--astraliga-brand-green-control);border-bottom:1px solid var(--astraliga-brand-green-control);
}
.tf-panel .tf-scan-popover[data-side="below"]::after{top:-4px;bottom:auto;transform:translateX(-50%) rotate(225deg)}
.tf-panel .tf-popover-summary{padding-right:49px;flex:none}
.tf-panel .tf-popover-summary>span{display:none}
.tf-panel .tf-popover-summary h4{margin:0;font:600 15px/19px 'Source Sans 3',Arial,sans-serif}
.tf-panel .tf-popover-summary small{display:block;font:400 12px/15px 'Source Sans 3',Arial,sans-serif}
.tf-panel .tf-scan-popover .tf-detail-records{overflow:auto;min-height:0;flex:1 1 auto;max-height:160px;overscroll-behavior:contain}
.tf-panel .tf-scan-popover table{min-width:max-content;width:100%}
.tf-panel .tf-scan-popover td{padding:2px 4px;white-space:nowrap;line-height:16px}
.tf-panel .tf-scan-popover td:first-child{width:1px}
.tf-panel .tf-scan-popover td.tf-record-expression-cell{width:auto}
.tf-panel .tf-scan-popover td time,.tf-panel .tf-scan-popover .tf-record-family{font-size:12px;line-height:16px}
.tf-panel .tf-scan-popover .tf-record-expression,
.tf-panel .tf-scan-popover .tf-record-expression .timeline-object--name,
.tf-panel .tf-scan-popover .tf-record-expression .chart-aspect-lord-prefix{line-height:16px}
.tf-panel .tf-scan-popover .tf-record-line,
.tf-panel .tf-scan-popover .tf-record-expression>span,
.tf-panel .tf-scan-popover .timeline-exact{gap:3px;flex-wrap:nowrap;white-space:nowrap}
.tf-panel .tf-scan-popover button{border:1px solid var(--border);border-radius:4px;background:var(--surface);padding:3px 7px;font:400 12px/16px 'Source Sans 3',Arial,sans-serif;flex:none}
.tf-panel .tf-scan-popover .tf-close-scan{position:absolute;right:9px;top:8px}
.tf-panel .tf-scan-popover .tf-open-minute{align-self:flex-end;color:var(--astraliga-brand-green-control)}
.tf-panel .tf-scan-popover.tf-scan-cramped{overflow:auto;overscroll-behavior:contain}
.tf-panel .tf-scan-popover.tf-scan-cramped::after{display:none}
.tf-panel .tf-scan-popover.tf-scan-cramped .tf-detail-records{flex:none;max-height:none}
.tf-panel{scroll-margin-top:90px}
@media(pointer:coarse){
  .tf-panel .tf-details.tf-scan-popover{height:min(176px,calc(100dvh - 32px))}
  .tf-panel .tf-scan-popover button,.tf-static-actions button{min-height:44px}
  .tf-panel .tf-scan-popover .tf-close-scan{min-width:44px}
  .tf-panel .tf-popover-summary{min-height:44px;padding-right:54px}
}
.tf-panel svg.astro-symbol.tf-glyph { width:14px; height:14px; margin:0 1px; vertical-align:-2px; }
/* Shared summary phase layer: absolute elapsed-time geometry stays unchanged. */
.tf-with-periods .tf-period-strip{position:relative;height:20px;margin-bottom:8px;border-bottom:1px solid var(--astraliga-border)}
.tf-with-periods .tf-period-segment{position:absolute;top:0;height:20px;text-align:center;overflow:hidden;white-space:nowrap;font:600 12px/18px 'Source Sans 3',Arial,sans-serif;color:var(--astraliga-brand-green)}
.tf-with-periods .tf-period-segment[data-phase="HT"]{border-inline:1px solid var(--astraliga-border);overflow:visible}
.tf-with-periods .tf-period-segment[data-phase="Post-match"]{font-weight:400;color:var(--astraliga-text-secondary)}
.tf-with-periods .tf-period-boundary{position:absolute;top:0;bottom:-4px;border-left:1px solid var(--astraliga-text-secondary)}
.tf-with-periods .tf-period-boundary b{position:absolute;right:4px;top:0;font:600 12px/18px 'Source Sans 3',Arial,sans-serif;background:var(--astraliga-surface-subtle);color:var(--astraliga-brand-green);white-space:nowrap}
.tf-with-periods .tf-scale{top:44px}
.tf-with-periods .tf-period-shading{position:absolute;inset:0;pointer-events:none}
.tf-with-periods .tf-period-shading span{position:absolute;inset-block:0;box-sizing:border-box}
.tf-with-periods .tf-period-shading span[data-phase="HT"]{border-inline:1px solid var(--astraliga-border);background:color-mix(in srgb,var(--astraliga-brand-green) 6%,transparent)}
.tf-with-periods .tf-period-shading span[data-phase="Post-match"]{border-left:1px solid var(--astraliga-border)}
.tf-with-periods .tf-period-note{margin:8px 12px 0 40px;font:400 12px/18px 'Source Sans 3',Arial,sans-serif;color:var(--astraliga-text-secondary)}
.tf-with-periods:not(.tf-static) .tf-toolbar{margin-top:12px}
.tf-static.tf-with-periods .tf-scan-guide time{top:0}

.tf-panel .tf-pointer-time{max-width:calc(100% - var(--tf-label-width));overflow:hidden;text-overflow:ellipsis}

/* Existing prepared lord roles are labels, never symbol-font glyphs. */
.tf-panel .chart-aspect-lord-prefix{font:500 12px 'Source Sans 3',Arial,sans-serif;color:var(--astraliga-text-secondary);margin-right:3px;white-space:nowrap}

/* Family/live-position presentation only. Existing plot, filter, table and glyph metrics remain unchanged. */
.tf-panel .tf-family-legend{display:flex;flex-wrap:nowrap;gap:10px;box-sizing:border-box;width:100%;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding:5px 0 8px;font:400 11px/16px 'Source Sans 3',Arial,sans-serif;color:var(--astraliga-text-secondary)}
.tf-panel .tf-family-legend>span{display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;white-space:nowrap}
.tf-panel .tf-family-legend i{width:10px;height:11px;flex:none}
.tf-panel .tf-scan-popover .tf-record-family{border:0;padding:0}
.tf-panel .tf-scan-popover .tf-record-family::after{display:none}
.tf-panel .tf-scan-popover .tf-family-short{display:none}
@media(max-width:420px){
  .tf-panel .tf-scan-popover .tf-family-full{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .tf-panel .tf-scan-popover .tf-family-short{display:inline}
}
.tf-panel .tf-live-position{position:absolute;top:0;bottom:0;width:2px;background:#CC3843;z-index:3;pointer-events:none}
.tf-panel .tf-live-position[hidden]{display:none}
.tf-panel .tf-live-position>span{position:absolute;top:2px;transform:translateX(-50%);white-space:nowrap;padding:0 3px;background:var(--astraliga-surface);color:#AA2430;font:600 12px/18px 'Source Sans 3',Arial,sans-serif}
.tf-panel .tf-time-grid>.tf-live-position--detail{top:36px}
.tf-panel .tf-live-position--detail>span{top:-18px}
.tf-panel .tf-pointer-line,.tf-panel .tf-scan-guide i{background:repeating-linear-gradient(to bottom,#64706D 0,#64706D 3px,transparent 3px,transparent 6px)}
.tf-panel .tf-pointer-time,.tf-panel .tf-scan-guide time{color:var(--astraliga-text-secondary)}
