/* A tipster's profile (templates/tipster-profile.php), on top of tips.css: header card with photo, bio and stats; the tip cards with
   an analysis that opens under them; the list of won tips with their final score. */
.tipster-page{--tp-green:#2e7d5b;--tp-gray:#a9b1b9}
.tipster-page .tp-head{display:flex;gap:24px;background:#fff;border-radius:8px;box-shadow:0 2px 8px 0 #0000001a;padding:18px;margin-top:12px}
.tipster-page .tp-photo{flex:none;width:170px;aspect-ratio:170/200;border-radius:6px;overflow:hidden;background:#e1e7ed;display:flex;align-items:center;justify-content:center;color:#5d8fb3}
.tipster-page .tp-photo .tp-photo-img{display:block;width:100%;height:100%;object-fit:cover;margin:0}
.tipster-page .tp-info{flex:1;min-width:0;padding-top:2px}
.tipster-page .tp-name{font-family:var(--art-font);font-size:28px;font-weight:700;line-height:1.1;text-transform:uppercase;color:#262626;margin:0;padding:0 0 0 12px;border:0;border-left:3px solid var(--art-teal)}
.tipster-page .tp-title{margin:4px 0 0;padding-left:15px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--art-teal)}
.tipster-page .tp-bio{margin-top:14px;font-size:15px;line-height:1.55;color:#333}
.tipster-page .tp-bio p{margin:0 0 8px}
.tipster-page .tp-stats{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px 14px;margin:14px 0 0}
.tipster-page .tp-stat{display:flex;flex-direction:column;align-items:center;gap:6px;margin:0}
.tipster-page .tp-stat dt{font-size:10px;font-weight:700;text-transform:uppercase;color:#555;letter-spacing:.02em}
.tipster-page .tp-stat dd{margin:0;min-width:56px;padding:5px 10px;border-radius:6px;background:var(--art-teal-soft,#62dac6);color:#fff;font-size:17px;font-weight:700;text-align:center;line-height:1.25}
.tipster-page .tp-stat-form dd{background:none;padding:5px 0;min-width:0}
.tipster-page .tp-form{display:flex;gap:6px;margin:0;padding:0;list-style:none}
.tipster-page .tp-form li{width:16px;height:16px;border-radius:50%;margin:0;padding:0;background:var(--tp-gray)}
.tipster-page .tp-form li.tp-form-won{background:var(--tp-green)}
.tipster-page .tp-edit{margin:8px 0 0;font-size:13px}
.tipster-page .tp-section{margin-top:26px}

/* upcoming tips: the tips.css card with the pick in the middle and an arrow that opens the analysis */
.tipster-page .tp-card .tc-more{border:0;background:none;padding:0;cursor:pointer}
.tipster-page .tp-card .tc-more svg{transition:transform .2s}
.tipster-page .tp-card .tc-more[aria-expanded="true"] svg{transform:rotate(180deg)}
.tipster-page .tp-analysis{margin:0 14px 14px;padding:14px 16px;border-radius:6px;background:#f1f3f5;font-size:15px;line-height:1.5}
.tipster-page .tp-analysis-text p{margin:0 0 8px}
.tipster-page .tp-analysis-link{margin:4px 0 0;font-size:14px}
.tipster-page .tp-analysis-link a{font-weight:700;color:var(--art-teal)}

/* won tips */
.tipster-page .tp-month{margin:-10px 0 14px;text-align:center;font-size:13px;text-transform:uppercase;color:#5d8fb3;letter-spacing:.02em}
.tipster-page .tp-wins{margin:0;padding:0;list-style:none;background:#fff;border-radius:8px;box-shadow:0 2px 8px 0 #0000001a}
.tipster-page .tp-win{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) 72px 80px;gap:14px;align-items:center;margin:0;padding:12px 16px;border-top:1px solid var(--tip-line)}
.tipster-page .tp-win:first-child{border-top:0}
.tipster-page .tp-win-match{display:flex;flex-direction:column;gap:4px;min-width:0}
.tipster-page .tp-win-when{font-size:12px;color:#333}
.tipster-page .tp-win-name{font-size:13px;font-weight:700;text-transform:uppercase;color:inherit;text-decoration:none}
.tipster-page .tp-win-name:hover{color:var(--art-teal)}
.tipster-page .tp-win-pick{display:flex;flex-direction:column;align-items:center;gap:3px;text-align:center}
.tipster-page .tp-win-pick strong{font-size:16px}
.tipster-page .tp-win-odd,.tipster-page .tp-win-score{display:flex;flex-direction:column;align-items:center;gap:4px}
.tipster-page .tp-col-label{font-size:10px;font-weight:700;text-transform:uppercase;color:#555}
.tipster-page .tp-odd,.tipster-page .tp-score{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:56px;height:30px;padding:0 8px;border-radius:6px;color:#fff;font-weight:700;font-size:15px}
.tipster-page .tp-odd{background:var(--art-teal-soft,#62dac6)}
.tipster-page .tp-score{background:var(--tp-green);white-space:nowrap}

@media (max-width:640px){
	.tipster-page .tp-head{flex-direction:column;gap:16px;padding:14px}
	.tipster-page .tp-photo{width:120px}
	.tipster-page .tp-name{font-size:24px}
	.tipster-page .tp-analysis{margin:0 12px 12px}
	.tipster-page .tp-win{grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"match match match" "pick odd score";padding:12px}
	.tipster-page .tp-win-match{grid-area:match}
	.tipster-page .tp-win-pick{grid-area:pick;align-items:flex-start;text-align:left}
	.tipster-page .tp-win-odd{grid-area:odd}
	.tipster-page .tp-win-score{grid-area:score}
}
