/* TC Murko v3 – slogi strani Igralci.aspx (prej <style> v strani) */
/* V36m: graf napredka */
.t-graf { margin-top: 18px; padding-top: 14px; border-top: 1px solid #EFEBDF; }
.t-graf svg { width: 100%; height: auto; display: block; }
.t-mreza { stroke: #E9E5D9; stroke-width: 1; }
.t-os { font-size: 11px; fill: var(--tcm-muted, #56625B); font-family: Inter, system-ui, sans-serif; }
.t-crta { fill: none; stroke: var(--tcm-green, #173B2E); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; opacity: .55; }
.t-pika { stroke: #fff; stroke-width: 2; }
.t-pika.m { fill: var(--tcm-clay, #C2602F); } .t-pika.p { fill: var(--tcm-green, #173B2E); } .t-pika.d { fill: #5B8F72; } .t-pika.o { fill: #A7B0AA; }
.t-pika.t-zdaj { stroke: #EBCB73; stroke-width: 3; }
.t-legenda { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--tcm-muted, #56625B); margin-top: 6px; }
.t-legenda span { display: inline-flex; align-items: center; gap: 6px; }
.t-legenda i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.t-legenda i.m { background: var(--tcm-clay, #C2602F); } .t-legenda i.p { background: var(--tcm-green, #173B2E); } .t-legenda i.d { background: #5B8F72; } .t-legenda i.o { background: #A7B0AA; }
.t-leg-op { margin-left: auto; font-style: italic; }
.t-graf-drsnik { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 575.98px) { .t-graf svg { min-width: 600px; } .t-leg-op { margin-left: 0; width: 100%; } }
/* V42: vizitka igralca */
.t-vizitka { display: flex; align-items: stretch; gap: 24px; }
.t-viz-osnovno { flex: 0 1 auto; min-width: 0; }
.t-viz-podatki { flex: 0 0 auto; border-left: 1px solid rgba(0,0,0,.18); padding-left: 24px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.t-viz-podatki span { display: block; font-size: 12px; font-style: italic; color: var(--tcm-muted, #56625B); }
.t-viz-podatki b { display: block; font-size: 16px; color: var(--tcm-green-2, #1F5A43); }
@media (max-width: 767.98px) {
    .t-vizitka { flex-direction: column; gap: 10px; }
    .t-viz-podatki { border-left: 0; border-top: 1px solid rgba(0,0,0,.18); padding: 10px 0 0; flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }
    .t-viz-podatki b { font-size: 14px; }
}
/* V42b: Z/P kot forma na lestvici */
.t-tekma .t-zp.z, .t-zp.z { background: #2E8B57 !important; color: #fff !important; border: 0 !important; border-radius: 6px; }
.t-tekma .t-zp.p, .t-zp.p { background: #C8463D !important; color: #fff !important; border: 0 !important; border-radius: 6px; }
/* V41: rezultati in preostale tekme */
.t-tekme-vse { max-height: none; }
.t-par { font-size: 15px; color: var(--tcm-muted, #56625B); }
.t-par b { color: var(--tcm-ink, #18201C); font-weight: 800; }
.t-par a { color: inherit; text-decoration: none; } .t-par a:hover { text-decoration: underline; }
.t-tekma .t-tekma-l a { color: var(--tcm-ink, #18201C); text-decoration: none; }
.t-tekma .t-tekma-l a:hover { text-decoration: underline; }
.t-nizi { flex: 0 0 auto; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; white-space: pre; color: var(--tcm-ink, #18201C); }
.t-zp.o { background: #F1F3F1; color: var(--tcm-muted, #56625B); border: 1px solid var(--tcm-line, #E2E7E3); font-size: 12px; }
.t-napovedana { border-color: #EFD3C2; background: #FFFBF7; }
.t-napovedana .t-zp.o { background: #FBEFE8; color: #A4501F; border-color: #EFD3C2; }
.t-prazno-r { color: var(--tcm-muted, #56625B); font-style: italic; margin: 0; }
@media (max-width: 575.98px) { .t-nizi { font-size: 13px; } }
/* V36l: podrobnejsa statistika */
.t-oznaka { display: block; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--tcm-muted, #56625B); margin: 4px 0 8px; }
.t-oznaka span { text-transform: none; letter-spacing: 0; font-weight: 400; }
.t-h2h-form { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.t-h2h-form .form-select { display: none; }   /* V43c: eno polje z iskanjem; seznam ostane skrit za prevedeno kodo */
.t-h2h-form .form-control, .t-h2h-form .form-select, .t-h2h-form .btn { height: 42px; font-size: 15px; }
.t-nalagam { font-size: 13px; color: var(--tcm-muted, #56625B); margin-top: 8px; }
.t-h2h-naslov { font-family: var(--tcm-serif, Georgia, serif); font-size: 20px; color: var(--tcm-ink, #18201C); margin: 16px 0 10px; }
.t-h2h-naslov:empty { display: none; }
.t-kpis-s .tcm-kpi b { font-size: 24px; }
.t-tekme { display: flex; flex-direction: column; gap: 6px; max-height: 320px; overflow-y: auto; }
.t-tekma, .t-uvr { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--tcm-line, #E2E7E3); border-radius: 10px; background: #fff; }
.t-tekma-l, .t-uvr-l { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; font-size: 14px; line-height: 1.3; }
.t-tekma-l small, .t-uvr-l small { color: var(--tcm-muted, #56625B); font-size: 12px; }
.t-zp { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; }
.t-zp.z { background: var(--tcm-green, #173B2E); color: #fff; }
.t-zp.p { background: #FBEFE8; color: #A4501F; border: 1px solid #EFD3C2; }
.t-rekordi { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-bottom: 16px; }
.t-rekord { border-radius: 12px; padding: 12px 14px; border: 1px solid var(--tcm-line, #E2E7E3); background: var(--tcm-ground, #F7F8F6); }
.t-rekord span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--tcm-muted, #56625B); }
.t-rekord b { display: block; font-size: 30px; line-height: 1.15; font-weight: 800; font-variant-numeric: tabular-nums; }
.t-rekord em { display: block; font-style: normal; font-size: 14px; color: var(--tcm-ink, #18201C); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-rekord.z { background: var(--tcm-green-soft, #EEF4EF); border-color: #CFE0D5; } .t-rekord.z b { color: var(--tcm-green, #173B2E); }
.t-rekord.p { background: #FBEFE8; border-color: #EFD3C2; } .t-rekord.p b { color: #A4501F; }
.t-uvrstitve { display: flex; flex-direction: column; gap: 6px; }
.t-mesto { display: inline-flex; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 50%; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; background: #F1F3F1; color: var(--tcm-ink, #18201C); font-variant-numeric: tabular-nums; }
.t-mesto.m1 { background: #EBCB73; } .t-mesto.m2 { background: #D3D8DC; } .t-mesto.m3 { background: #E6BC9C; }
.t-tabela .t-mesto { min-width: 26px; height: 26px; font-size: 12px; }
.t-mesto.t-ko { border-radius: 999px; padding: 0 8px; width: auto; }
.t-vteku { flex: 0 0 auto; display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--tcm-clay, #C2602F); color: #fff; vertical-align: middle; }
.t-tabela { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.t-tabela th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--tcm-muted, #56625B); padding: 8px 10px; border-bottom: 1px solid var(--tcm-line, #E2E7E3); }
.t-tabela td { padding: 8px 10px; border-bottom: 1px solid #EFEBDF; vertical-align: middle; }
.t-tabela tr:last-child td { border-bottom: 0; }
.t-tabela td:first-child { font-weight: 700; width: 70px; }
.t-tabela th.text-end { text-align: right; }
.t-od { color: var(--tcm-muted, #56625B); font-size: 13px; }
.t-pus { display: inline-block; width: 16px; text-align: center; font-size: 11px; margin-left: 4px; }
.t-pus.gor { color: #2E8B57; } .t-pus.dol { color: #C0392B; }
@media (max-width: 575.98px) {
    .t-h2h-form { grid-template-columns: 1fr; }
    .t-rekord b { font-size: 24px; }
    .t-tabela { font-size: 13px; } .t-tabela td, .t-tabela th { padding: 7px 6px; } .t-tabela td:first-child { width: 48px; }
}
/* V36h: berljiva statistika */
.tcm-stat-card { height: 100%; }
.tcm-kpis { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-bottom: 16px; }
.tcm-kpi { background: var(--tcm-ground, #F7F8F6); border: 1px solid var(--tcm-line, #E2E7E3); border-radius: 12px; padding: 12px 14px; }
.tcm-kpi span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--tcm-muted, #56625B); }
.tcm-kpi b { display: block; font-size: 30px; line-height: 1.15; font-weight: 800; color: var(--tcm-ink, #18201C); font-variant-numeric: tabular-nums; }
.tcm-kpi.z { background: var(--tcm-green-soft, #EEF4EF); border-color: #CFE0D5; }
.tcm-kpi.z b { color: var(--tcm-green, #173B2E); }
.tcm-kpi.p { background: #FBEFE8; border-color: #EFD3C2; }
.tcm-kpi.p b { color: #A4501F; }
.tcm-ratio { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: #E9ECEA; gap: 2px; }
.tcm-ratio .z { background: var(--tcm-green, #173B2E); }
.tcm-ratio .p { background: #D98B60; }
.tcm-ratio-l { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; color: var(--tcm-muted, #56625B); }
.tcm-ratio-l b { color: var(--tcm-ink, #18201C); font-size: 15px; }
.t-vrst { font-size: 14px; line-height: 1.4; color: var(--tcm-muted, #56625B); background: var(--tcm-ground, #F7F8F6); border: 1px solid var(--tcm-line, #E2E7E3); border-radius: 10px; padding: 7px 12px; margin: 4px 0; }
.t-vrst strong { color: var(--tcm-ink, #18201C); font-weight: 700; }
.list-group-item > p.alert-success.text-bold { font-size: 15px; font-weight: 700; color: var(--tcm-ink, #18201C); margin-bottom: 6px !important; }
.t-profilna { width: 100%; max-width: 180px; aspect-ratio: 1 / 1; object-fit: cover; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(23,59,46,.15); }
@media (max-width: 767.98px) {
    .t-profilna { max-width: 104px; }
    .t-profil h4 { font-size: 20px; }
    .t-profil .lead { font-size: 15px; margin-bottom: 8px !important; }
    .t-profil hr { margin: 8px 0; }
    .t-profil p.text-muted { font-size: 13px; word-break: break-word; }
}
.t-vrst.t-prazno { font-style: italic; }
@media (max-width: 575.98px) { .t-vrst { font-size: 13px; padding: 6px 10px; } }
@media (max-width: 575.98px) { .tcm-kpi { padding: 10px; } .tcm-kpi b { font-size: 24px; } .tcm-kpi span { font-size: 11px; } }
/* V81: ime + gumb Uredi profil */
.t-ime-vrsta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.t-uredi { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--tcm-green, #173B2E) !important; text-decoration: none; border: 1px solid rgba(23,59,46,.25); border-radius: 999px; padding: 5px 12px; background: #fff; white-space: nowrap; }
.t-uredi:hover { background: var(--tcm-green, #173B2E); color: #fff !important; border-color: var(--tcm-green, #173B2E); }
/* V84: sporocilo pri profilni sliki */
.t-slika-nap { margin-top: 8px; background: #FBE3D6; color: #8A3E12; border-radius: 10px; padding: 8px 12px; font-size: 14px; }
