/* =====================================================================
   Peak Timing — UltimateLIVE desktop results page
   General stylesheet (complete; replaces ../template/iframe/stylesheet.css)

   Same design system as the MYLAPS Sports Service / WRRC stylesheets,
   re-skinned with the Peak Timing brand (peaktiming.co.za):
     blue      #1a7fd4  signal blue  (active state, buttons, focus)
     dark      #0a0a0a / #141414 / #1f1f1f
     light     #f2f4f6 / #d9dde0 / #6b7075
     podium    gold #d9a62b · silver #9aa3a7 · bronze #b87333
   Typefaces are the site's own, both on Google Fonts: Bebas Neue for
   display text (title, menu, table headers) and Archivo for everything
   else. Falls back to Helvetica/Arial offline.

   Page frame: #main_screen is a flex column (optional banner, title bar,
   content, footer); #PAGECONTENT is pinned inside the content block, so
   the layout does not depend on the inline height the page JS computes
   and a banner of any height works. The title bar is the third table
   from the end, the footer the last.

   The Peak Timing logo is embedded as a data URI in the title bar's
   first cell and suppressed automatically when the event has its own
   banner above the title bar.

   !important is used only where the page carries inline or JS-set
   styles (menubar background, leaderboard time header, #PAGECONTENT
   height, footer cells, banner cell).

   Deployment: self-contained — works as the ONLY stylesheet, which is
   how stylesheet.php?eventid=… serves it. Keep the @import first.
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Archivo:wght@400;500;600;700&display=swap');

:root {
	--pt-blue:          #1a7fd4;   /* Peak Timing signal blue */
	--pt-blue-dark:     #1566ab;
	--pt-blue-tint:     #dceaf8;

	--pt-gold:          #d9a62b;   /* podium markers */
	--pt-silver:        #9aa3a7;
	--pt-bronze:        #b87333;
	--pt-gold-tint:     #fbefd5;

	--pt-black:         #050505;
	--pt-dark:          #0a0a0a;   /* site background black */
	--pt-charcoal:      #141414;
	--pt-charcoal-2:    #1f1f1f;
	--pt-grey:          #6b7075;
	--pt-grey-text:     #5d6267;
	--pt-line:          #d9dde0;
	--pt-light:         #f2f4f6;
	--pt-hover-tint:    #e4eef8;
	--pt-white:         #ffffff;

	--pt-font:          "Archivo", Helvetica, Arial, sans-serif;
	--pt-display:       "Bebas Neue", "Archivo", Helvetica, Arial, sans-serif;

	--pt-header-h:      56px;   /* top bar   */
	--pt-footer-h:      28px;   /* bottom bar */
}

/* ---------------------------------------------------------------------
   Structure — layout rules carried over from the standard
   template/iframe/stylesheet.css, so this file works on its own
   (the per-event stylesheet.php serves ONLY this file).
   ------------------------------------------------------------------- */
body, html {
	margin: 0;
	height: 100%;
	overflow: hidden;
	font-weight: normal;
	font-style: normal;
	text-decoration: none;
}
#PAGECONTENT { overflow: auto; }

.loading,
.participant {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	vertical-align: middle;
}

.leaderboard_table,
.leaderboard_table_results,
.search_result_table,
.myfavourites_result_table,
.scroller_table,
.participant_table,
.participant_table_panel {
	width: 100%;
	border: 0;
	border-spacing: 0;
	border-collapse: collapse;
}
.search_navmenu,
.search_menu,
.search_table,
.leaderboard_divider,
.leaderboard_segmenthdr,
.scroller_list,
.scroller_startbutton,
.scroller_stopbutton,
.other_table,
.box { width: 100%; }

.participant_table_data { border: 0; }
.search_label { text-align: left; }

#PARTICIPANTINFO {
	width: 750px;
	height: 500px;
	overflow: auto;
	border-spacing: 0;
	border-collapse: collapse;
}

.tracker {
	width: 100%;
	height: 100%;
	border: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.languageflags { border: none; }
.banner { border: 0; }

.credits { vertical-align: middle; }
.result_hdr, .result_odd, .result_even, .result_hover, .result_highlighted,
.leaderboard_timehdr, .leaderboard_timehdr_hover, .leaderboard_timehdr_active,
.leaderboard_segmenthdr, .leaderboard_newsegment { vertical-align: middle; }

/* ---------------------------------------------------------------------
   Base
   ------------------------------------------------------------------- */
body, html {
	font-family: var(--pt-font);
	font-size: 13px;
	color: var(--pt-charcoal);
	background: var(--pt-charcoal);
	-webkit-font-smoothing: antialiased;
}

#main_screen table {
	font-family: var(--pt-font);
}

/* Page content area: kill the watermark, light background, height
   re-computed because the header/footer are taller than the 45px the
   page JS reserves (JS sets an inline height – hence !important). */
/* ---- page frame -------------------------------------------------------
   The page JS sets an inline height on #PAGECONTENT (window height minus
   a server-side "reserveheight"), which assumes the standard 25px title
   bar and 20px footer. Instead of fighting that arithmetic, the frame is
   a flex column: optional banner, title bar, content block, footer. The
   content block fills whatever is left and #PAGECONTENT is pinned inside
   it, so taller bars and a banner of any height both just work. The
   footer is always the last table, so the bars are counted from the end. */
#main_screen { display: flex; flex-direction: column; height: 100vh; }
#main_screen > table { flex: 0 0 auto; }
#main_screen > table:nth-last-of-type(2) {          /* sidebar + content */
	display: block;
	flex: 1 1 auto;
	min-height: 0;
	position: relative;
	overflow: hidden;
	background: var(--pt-dark);                     /* shows under the sidebar */
}
#menubar { width: 150px; }
#PAGECONTENT {
	position: absolute;
	top: 0; right: 0; bottom: 0;
	left: 150px;                                    /* = sidebar width */
	height: auto !important;                        /* beats the JS inline height */
	background: var(--pt-light);
	background-image: none;
	scrollbar-width: thin;
	scrollbar-color: #b5b5b5 var(--pt-light);
}
#PAGECONTENT::-webkit-scrollbar { width: 10px; }
#PAGECONTENT::-webkit-scrollbar-track { background: var(--pt-light); }
#PAGECONTENT::-webkit-scrollbar-thumb { background: #b5b5b5; border-radius: 5px; border: 2px solid var(--pt-light); }

/* ---------------------------------------------------------------------
   Optional banner above the title bar (td.pagetop > img.banner).
   Scaled to the page width instead of overflowing at its natural size.
   ------------------------------------------------------------------- */
td.pagetop { height: auto !important; line-height: 0; padding: 0; background: var(--pt-charcoal); }
img.banner { display: block; max-width: 100%; height: auto; margin: 0 auto; }

/* ---------------------------------------------------------------------
   Title bar  (event title + language flags) — third table from the end
   ------------------------------------------------------------------- */
#main_screen > table:nth-last-of-type(3) td {
	background: var(--pt-charcoal);
	/* cell height + 3px accent border = --pt-header-h */
	height: calc(var(--pt-header-h) - 3px);
	line-height: calc(var(--pt-header-h) - 3px) !important;
	border-bottom: 3px solid var(--pt-blue);
}

#main_screen > table:nth-last-of-type(3) td.credits {
	font-family: var(--pt-display);
	font-size: 26px;
	font-weight: 400;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--pt-white);
	padding-left: 18px !important;
}

/* Peak Timing logo in the title bar's first cell (the cell that holds
   the never-rendered facebook-like widget). Embedded as a data URI so
   this stylesheet stays a single file. 2x asset (156×96) shown at 40px
   tall; the stacked mark fits the cell's 150px, so no widening needed. */
#main_screen > table:nth-last-of-type(3) td:first-child {
	background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJwAAABgCAYAAADo6BsvAAAQAElEQVR4AexdB5xTxfY+cya7dBRUFAugIFgRxIJKlSLYsCFgxYYFfRYsyF+fa0FFKQ+fPntBfYKAICBdBAVRHgICgiKIgoIgKChla3L/35l7b/Ymm75ZXJbMb77MzJlzzrQvc0tuEqZMqHAzYFnWFuCE8jiw9BHuhe8tCsWfMmAMfDGQbHxSbJNCaNt2X55ffb34SLbxMP188ZEq4GsnkEwMpNqW2KGhHUgPBJYjfw3SchXTR7iQYanN1LfxfhjwBoibA8nGB2H7arJGIfqWdQndfvQb8GOFyJMvZKfqw7GrlmSTyrFL0owIdoUwqg64cQRkL7uFRFLoVwMOcNAIaeNE7BLVKQvCbae+Rx+CjspCH5poRyLo3Qgf8yPI44u4yuFW38YfwV76EF8/AY1kfcXTn7nur5itxrMPN4b+w5D5gPDYJ1wQrQwfNVC3E9jqYDXSVUDaYnoJp6xPsLPVcnr3HyctTXIFJuGApBxUDtSkW4+QnfWCpOzSqIw+V4nlTv1nNXWevJleWWHOOmKp7rE69LktGov9LoBCaWMaCWe9Trc16YCOm6iU6ovO3QukGivB8HBgKxz6kcaPfRsr6/omR0NfdrZJMDgMSEvEeFQ8R2j3QEDabgLdiHMrZEOdiTd/+hsdMniuyYe/SHvw9S4g/sKr01pGG3KuNyetTqM4izgpUXRji/s2kUNgcHIwCAuTNgRG5wFJRdjJ4naAkbsaLP5Qjh6FbJbVFQqLAIkFeMkFqgKliTIO6U9MH+ifnOtscZSWEFFzZxyOiMhLNnLC5qqHkBq21CnZidjB3zKUrgTk3AxFK31r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JmHvXFw2epLx5upb546Kwu+DA7jzKh3M3AmGsbrv/gqqNP/OCqxkrAPt8CjnKBEEkeb0AdBn85KlynBOGqbM1fE64kZZAIZHIJpZBXhmAiFxL6tK/b3AFnqHkDzlRIe1HckFEobzMwpudRLcf0bKjG9DiKcdHRP9r5niuP239LyX+vhaiVIBxZVOLKQiwYu5gQS3Mx6Vav3UQLF/+0fc4DLdXsB06dKHoZVIAZUMoa1f3IQe9f2kAJfFn63FR2uEgzEUK49k/PPSmSksiEbIUFRbR67WZa8d1GWvrNz7Rrd75UZVDBZ+C/Fx4xdWS3I9Sk9+ZvnzdjKRUUFBLjvC+RYXcasjDk8a8Qwlnk+zqak7U/baF1G/4geTohmk5GXvFnYPfOXJo/fSnN+6j4k4o4o1be+hDCeSsy+cwMpGsGOg/535muryDhOgxa8JYrzKSZGUjnDCjFn7v+goTD/b5rXWFSqbLsZ12SMsool+UMlJXvne/3qKW1aohbrj+k2oYh3BlD51dJ0sFDW966hLe9c7naOapnoyRtM+p78Qz89sZlaze+enGjdS9eoNYM76rYp7okMpyuQxe9IXqGcDWsrOJHPUUaDmVN8GUH6v74/Hlq/UsXqF9fu2ggkbIoE/b5GVgxqNP0ZYM6qEVPtFf6L19VsqyhkSbFUnSdyA3hkDkE8Ma1AcWtl8iH6s90VCsHn3PRymfP2+RVyOQzMxA+A18MOzN3/j9b9/sMN/9n496s8hfUh07IVxe4y78WXkiKcnHtesec/meoeQ/hI6lHWjdc9GjrEEUYZmJmBpKagY/7t14/s9+praffc4qadncL1Xn4ohb/DwAA//8JFv95AAAABklEQVQDAEx1A9ZxBwJyAAAAAElFTkSuQmCC");
	background-repeat: no-repeat;
	background-position: center;
	background-size: auto 40px;
}
/* …but not when the event has its own banner above the title bar: the
   banner then carries the branding. With a banner the title bar is the
   2nd table from the top AND the 3rd from the end; without one it is the
   1st from the top. */
#main_screen > table:nth-of-type(2):nth-last-of-type(3) td:first-child {
	background-image: none;
}

/* language flags */
#main_screen > table:nth-last-of-type(3) td.credits[align="right"] {
	padding-right: 14px !important;
}
.languageflags {
	opacity: 0.55;
	transition: opacity .15s ease;
	border-radius: 2px;
}
.languageflags:hover { opacity: 1; }

/* ---------------------------------------------------------------------
   Left menu
   ------------------------------------------------------------------- */
#menubar {
	background: var(--pt-dark) !important;
	color: var(--pt-grey);
	border-right: 1px solid var(--pt-charcoal-2);
}

.menu,
.menu_hover,
.menu_active {
	font-family: var(--pt-display);
	font-size: 18px;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-align: left;
	line-height: 48px;
	padding-left: 18px;
	margin: 0;
	cursor: pointer;
	border-bottom: 1px solid var(--pt-charcoal-2);
	border-right: 0;
	border-left: 4px solid transparent;
	text-shadow: none;
	transition: background .12s ease, color .12s ease;
}

.menu {
	color: #cfcfcf;
	background: var(--pt-dark);
}

.menu_hover {
	color: var(--pt-white);
	background: var(--pt-charcoal-2);
}

.menu_active {
	color: var(--pt-white);
	background: var(--pt-charcoal);
	border-left-color: var(--pt-blue);
}

.menu_arrow { display: none; }

/* "[ mobile version ]" + auto-refresh counter */
#PAGEMENU a {
	color: var(--pt-line);
	text-decoration: none;
	font-weight: 500;
}
#PAGEMENU a:hover { text-decoration: underline; }

.refreshbox {
	font-family: var(--pt-font);
	font-size: 11px;
	color: var(--pt-grey);
}

/* ---------------------------------------------------------------------
   Bottom bar
   ------------------------------------------------------------------- */
#main_screen > table:last-of-type td {
	background: var(--pt-black) !important;
	height: var(--pt-footer-h);
	line-height: var(--pt-footer-h);
}
#main_screen > table:last-of-type td.credits {
	font-family: var(--pt-font);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--pt-grey);
}

/* ---------------------------------------------------------------------
   Form controls (selects, inputs, buttons)
   ------------------------------------------------------------------- */
.box,
.box_small,
.box_quick {
	font-family: var(--pt-font);
	font-size: 13px;
	font-weight: 500;
	color: var(--pt-charcoal);
	background: var(--pt-white);
	border: 1px solid var(--pt-line);
	border-radius: 3px;
	padding: 5px 8px;
	outline: none;
	transition: border-color .12s ease, box-shadow .12s ease;
}
.box_small { padding: 4px 6px; font-size: 12px; }
.box_quick {
	font-size: 16px;
	font-weight: 600;
	width: 99%;
	padding: 9px 14px;
	border-radius: 3px;
}
.box:focus,
.box_small:focus,
.box_quick:focus {
	border-color: var(--pt-blue);
	box-shadow: 0 0 0 3px rgba(26, 127, 212, 0.25);
}

.button,
.scroller_startbutton,
.scroller_stopbutton {
	font-family: var(--pt-display);
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pt-white);
	background: var(--pt-blue);
	border: 0;
	border-radius: 2px;
	padding: 7px 18px 5px;
	cursor: pointer;
	transition: background .12s ease;
}
.button:hover { background: var(--pt-blue-dark); }

.scroller_startbutton { background: var(--pt-blue); color: var(--pt-white); }
.scroller_stopbutton  { background: var(--pt-charcoal-2); color: var(--pt-white); }

/* quick / advanced search + commentator window toggles */
.search_navmenu {
	background: var(--pt-dark);
	color: var(--pt-white);
	border-bottom: 1px solid var(--pt-charcoal-2);
}
.search_navmenu td { padding: 10px 6px; }

.search_menu_navigation,
.search_menu_navigation_active {
	font-family: var(--pt-display);
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	height: auto;
	line-height: 1;
	padding: 8px 20px 6px;
	border-radius: 2px;
	cursor: pointer;
	display: inline-block;
	transition: background .12s ease, color .12s ease;
}
.search_menu_navigation {
	color: var(--pt-white);
	background: transparent;
	border: 1px solid var(--pt-grey);
}
.search_menu_navigation:hover {
	border-color: var(--pt-white);
	color: var(--pt-white);
}
.search_menu_navigation_active {
	color: var(--pt-white);
	background: var(--pt-blue);
	border: 1px solid var(--pt-blue);
}

/* filter bars on results / search tabs */
.search_menu {
	background: var(--pt-charcoal);
	color: var(--pt-white);
}
.search_menu > tbody > tr > td { padding: 6px 10px; }
.search_menu .search_menu > tbody > tr > td { padding: 4px 2px; }

.search_label {
	font-family: var(--pt-display);
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #cfcfcf;
	text-shadow: none;
	padding: 3px 6px;
}
.search_label .box,
.search_label .box_small { text-transform: none; letter-spacing: 0; }

/* status line ("61 participant(s) found", "select distance and category") */
.search_table {
	background: var(--pt-white);
	border-top: 0;
	border-bottom: 1px solid var(--pt-line);
	font-size: 12px;
	color: var(--pt-grey-text);
}
.search_table td { padding: 8px 12px; }
#divResults_Status,
#divSearch_Status { padding: 0 !important; }

.search_result_table,
.myfavourites_result_table,
.scroller_table {
	background: var(--pt-white);
}

/* ---------------------------------------------------------------------
   Leaderboard blocks
   ------------------------------------------------------------------- */
#divLeaderBoard { padding: 14px 14px 0; }

/* each leaderboard becomes a white card */
#divLeaderBoard > div[id^="leaderboard"] > table.leaderboard_table {
	background: var(--pt-white);
	border: 1px solid var(--pt-line);
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
#divLeaderBoard > div[id^="leaderboard"] > table.leaderboard_table > tbody > tr > td { padding: 0; }

/* toolbar row (auto follow + selects) — direct child table only */
#divLeaderBoard > div[id^="leaderboard"] > table.leaderboard_table > tbody > tr > td > table.leaderboard_table:first-child > tbody > tr > td {
	padding: 8px 10px;
	font-size: 12px;
	font-weight: 500;
	color: var(--pt-charcoal);
}
#divLeaderBoard div[id^="autofollow"] { line-height: 20px !important; }

.leaderboard_divider {
	margin-top: 14px;
	border-top: 0;
}

/* timing-point tabs — the page puts navy bg / 0.65 opacity inline on
   these cells, hence !important. Rendered as a light tab strip. */
.leaderboard_timehdr,
.leaderboard_timehdr_hover,
.leaderboard_timehdr_active {
	font-family: var(--pt-display);
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	height: 30px;
	line-height: 30px;
	color: var(--pt-charcoal) !important;
	background: var(--pt-white) !important;
	opacity: 1 !important;
	border-top: 1px solid var(--pt-line);
	border-left: 0;
	border-right: 1px solid var(--pt-line);
	border-bottom: 3px solid var(--pt-line);
	text-shadow: none;
	cursor: pointer;
	transition: border-color .12s ease, color .12s ease;
}
.leaderboard_timehdr_hover {
	color: var(--pt-charcoal) !important;
	border-bottom-color: var(--pt-grey);
}
.leaderboard_timehdr_active {
	color: var(--pt-charcoal) !important;
	border-bottom-color: var(--pt-blue);
}

.leaderboard_segmenthdr {
	font-family: var(--pt-display);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	height: 26px;
	line-height: 26px;
	color: var(--pt-charcoal);
	background: var(--pt-hover-tint);
	border: 0;
	text-shadow: none;
	padding-left: 10px;
}

.leaderboard_newsegment {
	font-family: var(--pt-font);
	font-size: 11px;
	font-style: normal;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--pt-white);
	background: var(--pt-grey);
	border-bottom: 0;
	line-height: 22px;
}

.leaderboard_table_results { width: 100%; }

/* ---------------------------------------------------------------------
   Result tables (leaderboard, results, search, favourites, scroller)
   ------------------------------------------------------------------- */
.result_hdr {
	font-family: var(--pt-display);
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pt-white);
	background: var(--pt-charcoal-2);
	border-bottom: 0;
	line-height: 30px;
	opacity: 1;
}

.result_odd,
.result_even,
.result_hover,
.result_highlighted {
	font-family: var(--pt-font);
	font-size: 13px;
	font-weight: 500;
	color: var(--pt-charcoal);
	line-height: 32px;
	border-bottom: 1px solid #e9e9e9;
	opacity: 1;
	cursor: pointer;
	transition: background .1s ease;
}
.result_odd  { background: var(--pt-white); }
.result_even { background: #f7f7f7; }
.result_hover { background: var(--pt-hover-tint); }
.result_highlighted { background: var(--pt-blue-tint); }

.result_hdr td,
.result_odd td,
.result_even td,
.result_hover td,
.result_highlighted td {
	background: inherit;
	padding-left: 8px;
	padding-right: 8px;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

/* The columns have percentage widths, so cell edges land on fractional
   pixels and Chrome shows hairline seams between cells of a coloured row.
   A 1px shadow on each side of every cell, in the row colour, hides them. */
.result_hdr td         { box-shadow: -1px 0 0 0 var(--pt-charcoal-2), 1px 0 0 0 var(--pt-charcoal-2); }
.result_even td        { box-shadow: -1px 0 0 0 #f7f7f7, 1px 0 0 0 #f7f7f7; }
.result_hover td       { box-shadow: -1px 0 0 0 var(--pt-hover-tint), 1px 0 0 0 var(--pt-hover-tint); }
.result_highlighted td { box-shadow: -1px 0 0 0 var(--pt-blue-tint), 1px 0 0 0 var(--pt-blue-tint); }
/* favourite rows also get a lime bar on the left */
.result_highlighted td:first-child { box-shadow: inset 4px 0 0 var(--pt-blue), 1px 0 0 0 var(--pt-blue-tint); }

/* rank column */
.result_odd  td:first-child,
.result_even td:first-child,
.result_hover td:first-child,
.result_highlighted td:first-child {
	font-weight: 700;
}

/* name (first left-aligned cell after the race-no) */
.result_odd  td[align="center"] + td[align="left"],
.result_even td[align="center"] + td[align="left"],
.result_hover td[align="center"] + td[align="left"],
.result_highlighted td[align="center"] + td[align="left"] {
	font-weight: 600;
}

/* nation code next to the flag */
.nation {
	font-family: var(--pt-font);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--pt-grey-text);
	text-shadow: none;
	line-height: 10px;
	vertical-align: middle;
}
.result_odd img[title],
.result_even img[title],
.result_hover img[title],
.result_highlighted img[title] {
	vertical-align: middle;
	border-radius: 2px;
}

/* favourite (+) icon — keep it quiet until hovered */
.result_odd  td:last-child img,
.result_even td:last-child img {
	opacity: 0.35;
	transition: opacity .12s ease;
}
.result_hover td:last-child img,
.result_highlighted td:last-child img,
.result_odd  td:last-child img:hover,
.result_even td:last-child img:hover { opacity: 1; }

/* podium markers: a coloured bar on the first three rows after the
   header, on the leaderboard and the results list (both are rank-sorted).
   Search results can be sorted by anything, so they are left alone. */
#divLeaderBoard tr.result_hdr + tr > td:first-child,
#divLeaderBoard tr.result_hdr + tr + tr > td:first-child,
#divLeaderBoard tr.result_hdr + tr + tr + tr > td:first-child,
#list_results   tr.result_hdr + tr > td:first-child,
#list_results   tr.result_hdr + tr + tr > td:first-child,
#list_results   tr.result_hdr + tr + tr + tr > td:first-child {
	position: relative;
}
#divLeaderBoard tr.result_hdr + tr > td:first-child::before,
#divLeaderBoard tr.result_hdr + tr + tr > td:first-child::before,
#divLeaderBoard tr.result_hdr + tr + tr + tr > td:first-child::before,
#list_results   tr.result_hdr + tr > td:first-child::before,
#list_results   tr.result_hdr + tr + tr > td:first-child::before,
#list_results   tr.result_hdr + tr + tr + tr > td:first-child::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
}
#divLeaderBoard tr.result_hdr + tr > td:first-child::before,
#list_results   tr.result_hdr + tr > td:first-child::before { background: var(--pt-gold); }
#divLeaderBoard tr.result_hdr + tr + tr > td:first-child::before,
#list_results   tr.result_hdr + tr + tr > td:first-child::before { background: var(--pt-silver); }
#divLeaderBoard tr.result_hdr + tr + tr + tr > td:first-child::before,
#list_results   tr.result_hdr + tr + tr + tr > td:first-child::before { background: var(--pt-bronze); }
/* the "no results yet" row is never a sibling of the header, so it gets no bar */
tr.leaderboard_nodata > td:first-child::before { content: none !important; }

/* "no results available yet" etc. */
.leaderboard_nodata,
.myfavourites_nodata,
.scroller_nodata {
	font-family: var(--pt-font);
	font-size: 14px;
	font-weight: 500;
	color: var(--pt-grey-text);
	background: transparent;
	cursor: default;
}
.leaderboard_nodata td { padding: 14px 0 20px; }

/* ---------------------------------------------------------------------
   Participant details popup
   ------------------------------------------------------------------- */
.participant {
	background: rgba(14, 14, 14, 0.7);
}

#PARTICIPANTINFO {
	border: 0;
	border-radius: 6px;
	background: var(--pt-white);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.participant_table_panel {
	color: var(--pt-white);
	background: var(--pt-charcoal);
	border-bottom: 3px solid var(--pt-blue);
	font-family: var(--pt-display);
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.participant_table_panel td { height: 36px !important; }

.participant_table_data { width: 96%; }

.participant_hdr_small {
	font-family: var(--pt-font);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--pt-grey);
}

.participant_value_big {
	font-family: var(--pt-display);
	font-size: 34px;
	font-weight: 400;
	letter-spacing: 0.03em;
	color: var(--pt-charcoal);
}

.participant_value_std {
	font-family: var(--pt-font);
	font-size: 13px;
	font-weight: 600;
	color: var(--pt-charcoal);
	font-variant-numeric: tabular-nums;
}

.participant_section_hdr {
	font-family: var(--pt-display);
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pt-charcoal);
	background: var(--pt-light);
	border-bottom: 2px solid var(--pt-blue);
	height: 26px;
	padding-left: 8px;
}

/* split table inside the popup */
.split_hdr,
.split_time,
.split_segment,
.details_racetime,
.details_segmenttime,
.details_splittime {
	font-family: var(--pt-font);
	font-size: 12px;
	height: 24px;
	padding-right: 6px;
	padding-left: 6px;
	font-variant-numeric: tabular-nums;
	border-right: 0;
}
.split_hdr {
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 11px;
	color: var(--pt-grey-text);
	background: var(--pt-white);
	border-bottom: 2px solid var(--pt-line);
}
.split_time {
	font-weight: 500;
	color: var(--pt-charcoal);
	background: var(--pt-white);
	border-bottom: 1px solid var(--pt-line);
}
.split_segment {
	font-weight: 700;
	background: var(--pt-light);
	border-bottom: 1px solid var(--pt-line);
}
.details_racetime    { background: var(--pt-hover-tint);   border-bottom: 1px solid var(--pt-line); }
.details_segmenttime { background: var(--pt-gold-tint); border-bottom: 1px solid var(--pt-line); }
.details_splittime   { background: var(--pt-blue-tint);   border-bottom: 1px solid var(--pt-line); }

/* ---------------------------------------------------------------------
   Scroller
   ------------------------------------------------------------------- */
.scroller_list {
	font-family: var(--pt-font);
	font-size: 14px;
	font-weight: 600;
	color: var(--pt-white);
	background: var(--pt-charcoal);
	border: 1px solid var(--pt-charcoal-2);
	border-radius: 3px;
}

/* ---------------------------------------------------------------------
   Misc
   ------------------------------------------------------------------- */
.loading { background: transparent; }   /* keep the auto-refresh spinner unobtrusive */

.other_table { background: var(--pt-white); }

#divTeamResults,
#divMyFavourites,
#divScroller,
#divOther,
#divStatistics,
#divHelp { background: var(--pt-white); min-height: 100%; }

::selection { background: var(--pt-blue); color: var(--pt-white); }

/* ---------------------------------------------------------------------
   Optional: CSS-only swap of the footer texts. Prefer changing the
   HTML server-side; un-comment this only if that is not possible.
   ------------------------------------------------------------------- */
/*
#main_screen > table:last-of-type td.credits[align="left"],
#main_screen > table:last-of-type td.credits[align="right"] { font-size: 0; }
#main_screen > table:last-of-type td.credits[align="left"]::before  { content: "\00a9 Peak Timing"; font-size: 11px; }
#main_screen > table:last-of-type td.credits[align="right"]::before { content: "Powered by Peak Timing"; font-size: 11px; }
*/

/* ---- Peak Timing eResults header (image hosted on secure.onreg.com) ----
   The page's own banner (uploads/peaktiming/PTimages/PeakResultBanner.png)
   is hidden and kept only to reserve the space; the new 2000x200 header is
   painted behind it. To revert, delete this block. */
td.pagetop {
	height: auto !important;
	line-height: 0;
	padding: 0;
	background-color: #0e0e10;
	background-image: url("https://secure.onreg.com/onreg2/uploads/mailshots/523b2588fbf023c69c3b09142bbc9361.png"), linear-gradient(90deg, #0e0e10 50%, #1a73d9 50%);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: auto 100%, 100% 100%;
}
td.pagetop img.banner {
	visibility: hidden;
	display: block;
	width: 100%;
	max-width: none;
	height: clamp(56px, 10vw, 150px);   /* header is 10:1, capped so results keep the room */
	margin: 0;
}