body.athlete #body_content {
	background-image: url(https://www3.meetscoresonline.com/Media/Scrap/AthleteProfiles/athletebackground.png);
}
body.athlete a { text-decoration: none }
.athlete-header {
    margin: 8px auto 8px auto;
    background-color: #000;
    position: relative;
}
.athlete-header h1 {
	padding:10px 7px;
	color:#AAA;
	white-space:nowrap;
}
.athlete-header #count_container {
	position:absolute;
	width:220px;
	right:17%;
	top:40px;
	z-index:-1
}


.athlete-header #count_container img { width:225px; }
.athlete-header ul#medal_count {
	position:absolute;
	z-index:1;
	top: 74px;
	left: 17px;
	font-size: 14pt;
	font-weight: bold;
}
.athlete-header #medal_count li {
	float:left;
	text-align:center;
	width:63px;
}


.athlete-header.crop-view #count_container {
	right:auto;
	left:15px;
}

.athlete-header.crop-view #count_container img { width:160px; }
.athlete-header.crop-view ul#medal_count { font-size: 9pt; }
.athlete-header.crop-view ul#medal_count { top: 55px; left: 15px; }
.athlete-header.crop-view #medal_count li { width: 43px; }

.profile-content { }

ul.nav.nav-pills.nav-stacked {
    font-size: 1.2em;
    font-weight: bold;
}

#content-fq3afew {
    position: absolute;
}

.nav_above {
    max-width: 202px;
}
.bio-pic {
    padding:0;
}
.bio-side .bio-pic img {
    width:95%;
}

.bio-side .btn {
	white-space:normal;
}
.bio-sub {
    margin: 3px auto 3px auto;
}
.bio h1,.bio h2,.bio h3,.bio h3,.bio h4,.bio h5, { color:#113969; }
.bio h5 {
    display:inline;
    font-weight: bold;
    font-size:1.4em;
    line-height:33px;
}

.bio .bio-crop {
    font-size: 1.6em;
}

.bio-crop .card,
.bio-crop.card {
    border: none;
    background:transparent;
}

.bio .card {
    margin-top:4px;
    margin-bottom:12px;
}

ul#nav_bio li {
    line-height: 3.5em;
    padding: 4px;
    display: table-cell;
    width: 150px;
}

ul#nav_bio li.active {
    background: transparent url(https://www3.meetscoresonline.com/Resources/Library.Images/up-select.png) center bottom no-repeat;
}

ul#nav_bio a {
    display: block;
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
}
ul#nav_bio a,
ul#nav_bio a:visited,
ul#nav_bio a:hover {
    color:#ccc;
    text-decoration:none;
}

ul#nav_bio {
    background-color: black;
    margin: 0px 0px 45px 0px;
 }
.edit-options {
    position:absolute;
    z-index: 100;
    background-color:white;
    border:none;
}
.edit-options li {
    width:20px;
    display:table-cell;
    text-align:center;
}
.edit-options li:hover {
    background:#ccc;
}
.edit-options ul {
    margin: 0;
    padding: 0;
    list-style-position: inside;
}
.saving {
    position:absolute;
    z-index: 1000;
    background-color:#ccc;
    padding:2px;
    width:105px;
    border:solid 1px #999;
}
.saving-error {
    width:455px;
    height:75px;
}
*.wrap[contenteditable] { white-space:wrap }
*[contenteditable] {
    border: dashed 1px white;
    border-radius: .25rem;
    padding: 3px 12px 3px 12px !important;
    background-color: #eee;
    width: 100%;
    color:#000;
    min-width: 25px;
    white-space:nowrap;
    overflow: hidden;
}
.empty {
    color: #2AA180;
}
.card *[contenteditable] {
    border: dashed 1px #999;
    background-color:#fff;
}
.edit { border: solid 1px #1FA10A; }

*[contenteditable='true']:hover {
    border:solid 1px rgb(253, 201, 66);
}

#scores_athlete
table.event-scores {
    position:absolute;
}
#scores_athlete
table.event-scores td {
    border: none;
    overflow:hidden;
}

#scores_athlete
    div.expando
        div.content
{
    height:200px;
    overflow:hidden;

}
#scores_athlete
    div.media h4 { color: #3465A1 }
#scores_athlete
    div.media h4
        span { color: #1FA10A }

#scores_athlete
    div.media-content
{
    height:200px;
    margin-left: 150px;
    overflow:auto;
}
.medal-count {
    padding-left:18%;
    margin-bottom: 8px;
}
.medal-count h5 {
    margin:0px;
    color:#fff;
    width:123px;
    text-align:center;
    padding:2px 0px 3px 0px;
}
.medal-count table {
    position:absolute;
    table-layout:auto;
    margin-top:24px;
}
.medal-count td {
    width:52px;
    text-align:center;
}
.medal-count td.silver { width:30px }
.medal-count td span {
    display:inline-block;
    border:solid 1px #999;
    background:white;
    font-size: 9pt;
    padding: 1px 3px 1px 3px;
    line-height: 9pt;
}
span.more { font-size: 14pt; }
a.less {
    display: block;
    position: absolute;
    margin-left: -57px;
    font-size: 14pt;
}
div.find-result-group div.filter-meets {
    margin-bottom:7px;
}
.meets ul {
    min-height: 110px;
}
legend {
    background-color:transparent;
}

.update-required { color:#ccc; text-transform:lowercase; font-size:.85em}

/* Athlete profile V2: name header, side nav, scores table */
body.athlete h1[data-profile="name"] {
    position: relative;
    margin: 1rem 0 1.25rem 0;
    padding: 1.25rem 1.5rem;
    font-size: clamp(1.75rem, 4.5vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.15;
    text-align: left !important;
    white-space: normal;
    overflow-wrap: anywhere;
    color: var(--mso-white, #10233a) !important;
    background: var(--mso-panel, #fff) !important;
    background-image: linear-gradient(100deg, rgba(10,168,188,.14), transparent 60%) !important;
    border: 1px solid var(--mso-line, #cbd8e6);
    border-radius: 1rem !important;
    box-shadow: 0 6px 20px rgba(16,35,58,.08);
}
body.athlete h1[data-profile="name"]::after {
    content: "";
    display: block;
    width: 3rem;
    height: 3px;
    margin-top: .6rem;
    border-radius: 3px;
    background: var(--mso-cyan, #0aa8bc);
    opacity: .8;
}
body.athlete h1[data-profile="name"][contenteditable] {
    background-color: var(--mso-panel, #fff) !important;
}

body.athlete .bio-side .btn-group-vertical .btn {
    text-align: left;
    padding: .6rem 1rem;
    font-weight: 600;
}
body.athlete .bio-side .btn-group-vertical .btn-secondary {
    background: var(--mso-panel, #fff);
    border-color: var(--mso-line, #cbd8e6);
    color: var(--mso-white, #10233a);
}
body.athlete .bio-side .btn-group-vertical .btn-secondary:hover {
    background: var(--mso-panel-3, #eef4fa);
}
body.athlete .bio-side .btn-group-vertical .btn-primary {
    background: var(--mso-cyan-2, #2b7bb8);
    border-color: var(--mso-cyan-2, #2b7bb8);
    color: var(--mso-ink, #fff);
}

body.athlete #athlete_scores .table > thead th {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--mso-muted, #61738a) !important;
    white-space: nowrap;
    vertical-align: bottom;
}
body.athlete #athlete_scores .table > thead th[colspan] {
    font-size: 1rem;
    letter-spacing: 0;
    padding-top: 1.25rem;
    color: var(--mso-cyan-2, #2b7bb8) !important;
}
body.athlete #athlete_scores tr.aaview { cursor: pointer; }
body.athlete #athlete_scores tr.aaview:hover > td { background: rgba(10,168,188,.08); }
body.athlete #athlete_scores tr.aaview > td:nth-child(4) { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
body.athlete #athlete_scores tr.aaview > td:nth-child(4) span.muted {
    display: inline-block;
    min-width: 1.6em;
    margin-left: .35rem;
    padding: .1em .45em;
    border-radius: 1em;
    font-size: .75em;
    text-align: center;
    background: var(--mso-panel-3, #eef4fa);
    color: var(--mso-white, #10233a);
    border: 1px solid var(--mso-line, #cbd8e6);
}
body.athlete #athlete_scores tr.aaview > td:nth-child(3) a { white-space: nowrap; }

@media (max-width: 767.98px) {
    body.athlete .bio-side .btn-group-vertical { flex-direction: row; }
    body.athlete .bio-side .btn-group-vertical .btn { flex: 1 1 0; text-align: center; margin: 0 !important; border-radius: 0; padding: .5rem .25rem; font-size: .9rem; }
    body.athlete .bio-side .btn-group-vertical .btn:first-child { border-radius: .5rem 0 0 .5rem; }
    body.athlete .bio-side .btn-group-vertical .btn:last-child { border-radius: 0 .5rem .5rem 0; }
    body.athlete .bio-side .card.panel-warning { margin-top: 1rem !important; font-size: .9rem; }
    body.athlete .bio-side .card.panel-warning .card-body p { margin-bottom: .5rem; }
    body.athlete #athlete_scores .table { font-size: .875rem; }
    body.athlete #athlete_scores .table > :not(caption) > * > * { padding: .5rem .35rem; }
    body.athlete #athlete_scores .table > * > tr > :nth-child(2) { display: none; }
    body.athlete #athlete_scores .table > * > tr > th[colspan] { display: table-cell; }
    body.athlete #athlete_scores .table > * > tr > :nth-child(5) { width: 1.5rem; }
}

/* GROK Bot Edit (2026-10-15): MyScores expandable event scores (desktop + mobile, dark + system themes) */
body.athlete #athlete_scores tr.aaview .mso-expand-icon,
body.athlete #athlete_top_scores tr.aaview .mso-expand-icon { font-size: .7em; margin-right: .4rem; vertical-align: middle; }
body.athlete #athlete_top_scores tr.aaview { cursor: pointer; }
body.athlete #athlete_scores tr.aaview:focus-visible,
body.athlete #athlete_top_scores tr.aaview:focus-visible { outline: 2px solid var(--mso-cyan-2, #2b7bb8); outline-offset: -2px; }
body.athlete tr.eventview > td.event_scores { padding: 0 !important; }
body.athlete tr.eventview div.expando div.content { padding: .4rem .75rem .75rem 1.6rem; }
body.athlete table.event-scores { width: auto; min-width: 18rem; margin: 0; border-collapse: collapse; }
body.athlete table.event-scores td { border: none; padding: .2rem .75rem .2rem 0; font-variant-numeric: tabular-nums; }
body.athlete table.event-scores td.event { font-weight: 600; white-space: nowrap; }
body.athlete table.event-scores td.score { text-align: right; }
body.athlete table.event-scores td.place { text-align: center; min-width: 2.5rem; }
body.athlete table.event-scores .event-short { display: none; }
body.mso-theme-dark.athlete tr.eventview > td.event_scores { background: var(--mso-panel-3); border-left: 3px solid var(--mso-cyan-2, #2b7bb8); }
body.mso-theme-dark.athlete table.event-scores td { color: var(--mso-text); }
body.mso-theme-dark.athlete table.event-scores td.place { color: var(--mso-muted); }
body.mso-theme-dark.athlete tr.aaview .mso-expand-icon { color: var(--mso-muted); }
body.mso-theme-system.athlete tr.eventview > td.event_scores { background: var(--mso-panel-3, #eef4fa); border-left: 3px solid var(--mso-cyan-2, #2b7bb8); }
body.mso-theme-system.athlete table.event-scores td { color: var(--mso-text, #10233a); }
body.mso-theme-system.athlete table.event-scores td.place { color: var(--mso-muted, #5b6b7d); }
body.mso-theme-system.athlete tr.aaview .mso-expand-icon { color: var(--mso-muted, #5b6b7d); }
@media (max-width: 575.98px) {
    body.athlete tr.eventview div.expando div.content { padding: .4rem .5rem .6rem .75rem; }
    body.athlete table.event-scores { min-width: 0; width: 100%; }
    body.athlete table.event-scores .event-long { display: none; }
    body.athlete table.event-scores .event-short { display: inline; }
}
/* GROK Bot Edit (2026-10-15): favorite (My Athletes) star inline with the athlete name, MSO green (filled = favorite, outline = not) */
body.athlete .mso-ath-hero-row { display: flex; flex-wrap: nowrap; align-items: center; }
body.athlete .mso-ath-hero-row > h1 { flex: 0 1 auto; min-width: 0; margin-bottom: 0; }
body.athlete .mso-ath-fav-star { flex: 0 0 auto; background: transparent; border: 0; margin: 0 0 0 .4rem; padding: 0 .2rem; line-height: 1; font-size: 1.75rem; cursor: pointer; color: #1FA10A; border-radius: .4rem; transition: transform .15s ease, opacity .15s ease; }
body.athlete .mso-ath-fav-star:hover { transform: scale(1.12); }
body.athlete .mso-ath-fav-star:focus-visible { outline: 2px solid var(--mso-cyan-2, #2b7bb8); outline-offset: 2px; }
body.athlete .mso-ath-fav-star[aria-pressed="false"] { opacity: .6; }
body.athlete .mso-ath-fav-star[aria-pressed="false"]:hover { opacity: 1; }
body.mso-theme-dark.athlete .mso-ath-fav-star { color: #1FA10A; }
body.mso-theme-dark.athlete .mso-ath-fav-star[aria-pressed="false"] { opacity: .7; }
body.mso-theme-system.athlete .mso-ath-fav-star { color: #1FA10A; }
body.mso-theme-system.athlete .mso-ath-fav-star[aria-pressed="false"] { opacity: .6; }


/* GROK Bot Edit (2026-10-15): roomier athlete name in the page header (star stays inline, see .mso-ath-hero-row above) */
body.athlete .mso-ath-hero-row { padding: .35rem 0 .5rem; }
body.athlete .mso-ath-hero-row > h1.athlete-hero { padding: 1rem 1.75rem 1.15rem; }
@media (max-width: 575.98px) {
    body.athlete .mso-ath-hero-row > h1.athlete-hero { padding: .8rem 1.15rem .95rem; }
}

/* GROK Bot Edit (2026-10-15): Personal Bests tab (#athlete_top_scores) */
body.athlete .mso-pb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: .75rem; padding: .75rem 0; }
body.athlete .mso-pb-card { margin: 0; border-radius: .6rem; border: 1px solid #d5dde6; background: #fff; }
body.athlete .mso-pb-card .card-body { padding: .75rem .9rem; }
body.athlete .mso-pb-aa { grid-column: 1 / -1; border-left: 4px solid #1FA10A; }
body.athlete .mso-pb-head { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; margin-bottom: .3rem; }
body.athlete .mso-pb-head .event { font-weight: 600; text-transform: uppercase; font-size: .8rem; letter-spacing: .04em; color: #5b6b7d; }
body.athlete .mso-pb-head .event-short { display: none; }
body.athlete .mso-pb-score { font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; color: #10233a; }
body.athlete .mso-pb-aa .mso-pb-score { font-size: 1.85rem; }
body.athlete .mso-pb-meet { display: block; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; color: #2b7bb8; }
body.athlete .mso-pb-meet:hover { text-decoration: underline; }
body.athlete .mso-pb-meta { display: flex; flex-wrap: wrap; gap: .15rem .75rem; margin-top: .2rem; font-size: .8rem; color: #5b6b7d; }
body.athlete .mso-pb-empty { padding: 1rem 0; color: #5b6b7d; }
body.mso-theme-dark.athlete .mso-pb-card { background: var(--mso-panel-2, #16263a); border-color: var(--mso-border, #2a3d55); }
body.mso-theme-dark.athlete .mso-pb-aa { border-left-color: #1FA10A; }
body.mso-theme-dark.athlete .mso-pb-score { color: var(--mso-text, #e8eef5); }
body.mso-theme-dark.athlete .mso-pb-head .event,
body.mso-theme-dark.athlete .mso-pb-meta,
body.mso-theme-dark.athlete .mso-pb-empty { color: var(--mso-muted, #9fb0c2); }
body.mso-theme-dark.athlete .mso-pb-meet { color: var(--mso-cyan, #4fc3f7); }
body.mso-theme-system.athlete .mso-pb-card { background: var(--mso-panel, #fff); border-color: var(--mso-border, #d5dde6); }
body.mso-theme-system.athlete .mso-pb-score { color: var(--mso-text, #10233a); }
body.mso-theme-system.athlete .mso-pb-head .event,
body.mso-theme-system.athlete .mso-pb-meta,
body.mso-theme-system.athlete .mso-pb-empty { color: var(--mso-muted, #5b6b7d); }
body.mso-theme-system.athlete .mso-pb-meet { color: var(--mso-cyan-2, #2b7bb8); }
@media (max-width: 575.98px) {
    body.athlete .mso-pb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
    body.athlete .mso-pb-card .card-body { padding: .6rem .65rem; }
    body.athlete .mso-pb-head .event-long { display: none; }
    body.athlete .mso-pb-head .event-short { display: inline; }
    body.athlete .mso-pb-score { font-size: 1.25rem; }
    body.athlete .mso-pb-aa .mso-pb-score { font-size: 1.5rem; }
    body.athlete .mso-pb-meet { font-size: .85rem; }
    body.athlete .mso-pb-meta { font-size: .75rem; }
}

/* GROK Bot Edit (2026-10-15): header block (name card + star) spans 100% of the content area; star sits inside the card's right end, same line as the name */
body.athlete .mso-ath-hero-row { width: 100%; }
body.athlete .mso-ath-hero-row > h1.athlete-hero { flex: 0 0 100%; max-width: 100%; padding-right: 4rem; }
body.athlete .mso-ath-hero-row > .mso-ath-fav-star { position: relative; z-index: 1; margin-left: -3.4rem; margin-right: 1.25rem; }
@media (max-width: 575.98px) {
    body.athlete .mso-ath-hero-row > h1.athlete-hero { padding-right: 3.25rem; }
    body.athlete .mso-ath-hero-row > .mso-ath-fav-star { margin-left: -2.9rem; margin-right: .75rem; }
}
body.mso-theme-dark.athlete .mso-ath-hero-row > h1.athlete-hero,
body.mso-theme-system.athlete .mso-ath-hero-row > h1.athlete-hero { flex: 0 0 100%; }

/* GROK Bot Edit (2026-10-15): vertically center the star in the header card. The h1 had margin-top:1rem, which pushed the card 16px below the star's flex center;
   move that spacing to the row and give the star a fixed, centered box. */
body.athlete .mso-ath-hero-row { align-items: center; padding-top: calc(.35rem + 1rem); }
body.athlete .mso-ath-hero-row > h1.athlete-hero { margin-top: 0; }
body.athlete .mso-ath-hero-row > .mso-ath-fav-star { display: inline-flex; align-items: center; justify-content: center; align-self: center; height: 2.5rem; padding-top: 0; padding-bottom: 0; line-height: 1; }
body.athlete .mso-ath-hero-row > .mso-ath-fav-star > .fa { display: block; line-height: 1; }
body.mso-theme-dark.athlete .mso-ath-hero-row > h1.athlete-hero,
body.mso-theme-system.athlete .mso-ath-hero-row > h1.athlete-hero { margin-top: 0; }
