/* TrackMap Pro - CSS fusionné propre, sans doublons lourds */
/* Source nettoyée depuis le CSS actuel SimRace Hub. */

.tmpro-shell,.tmpro-shell *{
    box-sizing:border-box;
}

.tmpro-shell{
    width:100%;
    max-width:100%;
    padding:20px 20px 44px;
    color:#f7f8fb;
}

.tmpro-topbar{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:18px;
    margin-bottom:18px;
}

.tmpro-kicker{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:#ff8a1f;
    font-family:Saira Condensed,Arial,sans-serif;
    font-weight:900;
    letter-spacing:.15em;
    text-transform:uppercase;
    font-size:.78rem;
}

.tmpro-kicker:before{
    content:"";
    width:3px;
    height:22px;
    background:#ff6600;
    box-shadow:0 0 16px rgba(255,102,0,.75);
}

.tmpro-topbar h1{
    margin:8px 0 2px;
    font-family:Saira Condensed,Arial,sans-serif;
    font-size:2.2rem;
    text-transform:uppercase;
}

.tmpro-topbar p{
    margin:0;
    color:#8f98aa;
}

.tmpro-track-line{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

.tmpro-track-server{
    color:#778195;
}

.tmpro-track-flag{
    width:22px;
    height:16px;
    object-fit:cover;
    border-radius:3px;
    border:1px solid rgba(255,255,255,.14);
    box-shadow:0 0 12px rgba(255,255,255,.07);
}

.tmpro-actions{
    display:flex;
    align-items:center;
    gap:10px;
}

.tmpro-action-secondary,.tmpro-session-form select{
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.12);
    color:#fff;
    padding:10px 12px;
    text-decoration:none;
    border-radius:12px;
}

.tmpro-layout{
    --tmpro-card-height:900px;
    display:grid;
    grid-template-columns:360px minmax(0,1fr) 420px;
    gap:16px!important;
    align-items:start;
    width:100%;
    min-height:0;
}

.tmpro-left{
    height:var(--tmpro-card-height);
    min-height:var(--tmpro-card-height);
    max-height:var(--tmpro-card-height);
    display:flex;
    flex-direction:column;
    overflow:hidden;
}

.tmpro-right{
    width:100%;
    min-width:0;
}

.tmpro-panel,.tmpro-map-card{
    background:linear-gradient(160deg,rgba(12,16,25,.96),rgba(5,8,14,.98));
    border:1px solid rgba(255,255,255,.08);
    box-shadow:0 22px 50px rgba(0,0,0,.35);
    border-radius:18px;
}

.tmpro-panel{
    padding:16px;
    height:var(--tmpro-card-height);
    min-height:var(--tmpro-card-height);
    max-height:var(--tmpro-card-height);
    display:flex;
    flex-direction:column;
    overflow:hidden;
}

.tmpro-panel-title{
    font-family:Saira Condensed,Arial,sans-serif;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.08em;
    color:#fff;
    border-bottom:1px solid rgba(255,255,255,.08);
    padding-bottom:10px;
    margin-bottom:10px;
    flex-shrink:0;
}

.tmpro-mt{
    margin-top:18px;
}

.tmpro-driver-list{
    display:flex;
    flex-direction:column;
    gap:8px;
    flex:1 1 auto;
    min-height:0;
    height:100%;
    overflow-y:auto;
    overflow-x:hidden;
    padding-right:8px;
    scrollbar-width:thin;
    scrollbar-color:#ff6600 rgba(255,255,255,.04);
}

.tmpro-driver-list::-webkit-scrollbar{
    width:10px;
}

.tmpro-driver-list::-webkit-scrollbar-track{
    background:rgba(255,255,255,.03);
    border-radius:999px;
}

.tmpro-driver-list::-webkit-scrollbar-thumb{
    background:linear-gradient(180deg,#ff8a1f,#ff6600);
    border-radius:999px;
    border:2px solid rgba(8,12,18,.95);
    box-shadow:0 0 12px rgba(255,102,0,.45),inset 0 1px 0 rgba(255,255,255,.18);
}

.tmpro-driver-list::-webkit-scrollbar-thumb:hover{
    background:linear-gradient(180deg,#ff9d3d,#ff6b00);
}

.tmpro-driver-list::-webkit-scrollbar-corner{
    background:transparent;
}

.tmpro-driver-row{
    display:grid;
    grid-template-columns:34px minmax(0,1fr) auto;
    gap:10px;
    align-items:center;
    padding:8px 9px;
    border:1px solid rgba(255,255,255,.06);
    background:rgba(255,255,255,.025);
    border-radius:10px;
    min-height:42px;
    flex-shrink:0;
}

.tmpro-driver-row.is-selected{
    border-color:rgba(255,102,0,.55);
    background:rgba(255,102,0,.09);
}

.tmpro-driver-row b{
    font-family:Saira Condensed,Arial,sans-serif;
    font-size:1.05rem;
}

.tmpro-driver-main{
    display:flex;
    align-items:center;
    gap:8px;
    min-width:0;
}

.tmpro-driver-brand{
    width:26px;
    height:26px;
    border-radius:8px;
    flex:0 0 26px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    position:relative;
    overflow:hidden;
    background:radial-gradient(circle at 35% 25%,rgba(255,255,255,.16),transparent 58%),
        linear-gradient(180deg,rgba(22,30,43,.96),rgba(7,11,18,.98));
    border:1px solid rgba(255,255,255,.12);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.06),
        0 6px 14px rgba(0,0,0,.28);
}

.tmpro-driver-brand img{
    width:19px;
    height:19px;
    object-fit:contain;
    display:block;
    filter:drop-shadow(0 0 7px rgba(255,255,255,.14));
}

.tmpro-driver-brand span{
    display:none;
    color:#cfd8e6;
    font-family:Saira Condensed,Arial,sans-serif;
    font-size:.56rem;
    font-weight:1000;
    line-height:1;
    letter-spacing:.02em;
}

.tmpro-driver-brand.is-text img{
    display:none;
}

.tmpro-driver-brand.is-text span{
    display:block;
}

.tmpro-driver-brand.is-empty{
    display:none;
}

.tmpro-driver-row.is-selected .tmpro-driver-brand{
    border-color:rgba(255,102,0,.38);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08),
        0 0 18px rgba(255,102,0,.14);
}

.tmpro-driver-name{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-weight:800;
    flex:1;
    min-width:0;
    max-width:none;
}

.tmpro-driver-text{
    display:flex;
    flex-direction:column;
    min-width:0;
    gap:1px;
    line-height:1.05;
}

.tmpro-driver-team{
    display:block;
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#b8c3d6;
    font-size:.82rem;
    line-height:1.2;
    font-weight:900;
    letter-spacing:.03em;
    text-transform:uppercase;
}

.tmpro-driver-text{
    gap:3px!important;
}

.tmpro-driver-row{
    min-height:52px!important;
    padding:10px 9px!important;
}

.tmpro-driver-gap{
    color:#dfe6f1;
    font-variant-numeric:tabular-nums;
    white-space:nowrap;
}

.tmpro-cat-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:34px;
    height:18px;
    padding:0 7px;
    border-radius:3px;
    font-family:Saira Condensed,Arial,sans-serif;
    font-size:.62rem;
    line-height:1;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.045em;
    white-space:nowrap;
    color:#fff;
    border:1px solid rgba(255,255,255,.16);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 5px 12px rgba(0,0,0,.22);
}

.tmpro-cat-hy, .tmpro-cat-hypercar{
    background:linear-gradient(180deg,#ff3b30,#8f0909);
    border-color:rgba(255,59,48,.58);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.18),
        0 0 14px rgba(255,59,48,.28);
}

.tmpro-event-cat.tmpro-cat-hy, .tmpro-event-cat.tmpro-cat-hypercar{
    background:linear-gradient(180deg,#ff3b30,#8f0909);
    border:1px solid rgba(255,59,48,.58);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.18),
        0 0 14px rgba(255,59,48,.24);
}

.tmpro-cat-lmp2{
    background:linear-gradient(180deg,#2f9bff,#0b5fbd);
    border-color:rgba(47,155,255,.55);
}

.tmpro-cat-lmp2plus{
    background:linear-gradient(180deg,#8b5cf6,#5520b8);
    border-color:rgba(139,92,246,.58);
}

.tmpro-cat-lmp3{
    background:linear-gradient(180deg,#a855f7,#6b21a8);
    border-color:rgba(168,85,247,.58);
}

.tmpro-cat-gt3,.tmpro-cat-lmgt3{
    background:linear-gradient(180deg,#22c55e,#0b7a32);
    border-color:rgba(34,197,94,.58);
}

.tmpro-cat-gte{
    background:linear-gradient(180deg,#f5bc30,#805a09);
    border-color:rgba(245,188,48,.62);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.18),
        0 0 14px rgba(245,188,48,.22);
}

.tmpro-cat-tc{
    background:linear-gradient(180deg,#64748b,#263241);
    border-color:rgba(148,163,184,.42);
}

.tmpro-cat-default{
    background:linear-gradient(180deg,#64748b,#263241);
    border-color:rgba(148,163,184,.42);
}

.tmpro-map-card{
    padding:14px;
    height:var(--tmpro-card-height);
    min-height:var(--tmpro-card-height);
    max-height:var(--tmpro-card-height);
    width:100%;
    min-width:0;
    background:linear-gradient(180deg,rgba(8,14,24,.98),rgba(3,7,13,.99));
    border-radius:8px;
    overflow:hidden!important;
    display:grid!important;
    grid-template-rows:auto minmax(0,1fr) auto!important;
    position:relative!important;
    isolation:isolate!important;
}

.tmpro-map-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:10px;
    min-height:44px;
    flex-shrink:0;
    position:relative!important;
    z-index:500!important;
}

.tmpro-map-head strong{
    display:block;
    margin-top:4px;
    font-size:1.2rem;
}

.tmpro-live-pill{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px 12px;
    border:1px solid rgba(34,197,94,.25);
    background:rgba(34,197,94,.08);
    border-radius:999px;
    color:#a7f3d0;
    font-weight:800;
}

.tmpro-live-pill span{
    width:9px;
    height:9px;
    border-radius:50%;
    background:#22c55e;
    box-shadow:0 0 12px #22c55e;
}

#tmproCanvas{
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    background:radial-gradient(circle at 50% 30%,rgba(17,30,48,.72),rgba(3,7,13,.99) 72%);
    border:1px solid rgba(255,255,255,.06);
    border-radius:4px;
    position:relative!important;
    z-index:10!important;
}

.tmpro-map-footer{
    display:grid;
    grid-template-columns:repeat(4,minmax(150px,1fr));
    gap:12px;
    margin-top:14px;
    flex-shrink:0;
    position:relative!important;
    z-index:120!important;
}

.tmpro-mini-stat{
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
    min-height:84px;
    padding:16px;
    overflow:visible;
    border-radius:16px;
    background:linear-gradient(180deg,rgba(13,18,28,.96),rgba(5,9,15,.98));
    border:1px solid rgba(255,255,255,.07);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 12px 24px rgba(0,0,0,.28);
}

.tmpro-stat-content{
    display:flex;
    flex-direction:column;
    gap:4px;
    min-width:0;
}

.tmpro-stat-content span{
    color:#7e8aa0;
    font-size:.72rem;
    text-transform:uppercase;
    letter-spacing:.08em;
    font-weight:700;
}

.tmpro-stat-content strong{
    font-size:clamp(1.15rem,1.35vw,1.55rem);
    font-family:Saira Condensed,Arial,sans-serif;
    font-weight:900;
    color:#fff;
    line-height:1;
    white-space:nowrap;
    overflow:visible;
    text-overflow:clip;
}

.tmpro-stat-icon{
    width:46px;
    height:46px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}

.tmpro-stat-icon svg{
    width:26px;
    height:26px;
}

.tmpro-stat-icon.pilots{
    color:#ff8a1f;
    background:rgba(255,138,31,.10);
    box-shadow:0 0 18px rgba(255,138,31,.18);
}

.tmpro-stat-icon.distance{
    color:#2f9bff;
    background:rgba(47,155,255,.10);
    box-shadow:0 0 18px rgba(47,155,255,.18);
}

.tmpro-stat-icon.source{
    color:#22c55e;
    background:rgba(34,197,94,.10);
    box-shadow:0 0 18px rgba(34,197,94,.18);
}

.tmpro-stat-icon.gates{
    color:#a855f7;
    background:rgba(168,85,247,.10);
    box-shadow:0 0 18px rgba(168,85,247,.18);
}

.tmpro-gate-legend{
    display:grid;
    gap:10px;
}

.tmpro-gate-legend div{
    display:grid;
    grid-template-columns:36px 45px 1fr;
    align-items:center;
    gap:8px;
    padding:8px;
    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.06);
    border-radius:10px;
}

.tmpro-gate-legend i{
    height:4px;
    border-radius:999px;
    box-shadow:0 0 10px currentColor;
}

.g-s1{
    background:#1e88ff;
    color:#1e88ff;
}

.g-s2{
    background:#22c55e;
    color:#22c55e;
}

.g-s3{
    background:#ff2f1f;
    color:#ff2f1f;
}

.g-sf{
    background:#ffffff;
    color:#ffffff;
}

.tmpro-gate-legend div:has(.g-s1){
    border-color:rgba(30,136,255,.22);
}

.tmpro-gate-legend div:has(.g-s2){
    border-color:rgba(34,197,94,.28)!important;
}

.tmpro-gate-legend div:has(.g-s3){
    border-color:rgba(255,47,31,.22);
}

.tmpro-gate-legend div:has(.g-sf){
    border-color:rgba(255,255,255,.18);
}

.tmpro-gate-legend div:has(.g-s1) span{
    color:#5fb4ff;
}

.tmpro-gate-legend div:has(.g-s2) span{
    color:#22c55e!important;
}

.tmpro-gate-legend div:has(.g-s3) span{
    color:#ff5b4f;
}

.tmpro-gate-legend div:has(.g-sf) span{
    color:#ffffff;
}

.tmpro-race-events{
    display:flex;
    flex-direction:column;
    gap:10px;
    max-height:360px;
    overflow-y:auto;
    overflow-x:hidden;
    padding-right:8px;
    scrollbar-width:thin;
    scrollbar-color:#ff6600 rgba(255,255,255,.04);
}

.tmpro-race-events::-webkit-scrollbar{
    width:8px;
}

.tmpro-race-events::-webkit-scrollbar-track{
    background:rgba(255,255,255,.03);
    border-radius:999px;
}

.tmpro-race-events::-webkit-scrollbar-thumb{
    background:linear-gradient(180deg,#ff8a1f,#ff6600);
    border-radius:999px;
    border:2px solid rgba(8,12,18,.95);
}

.tmpro-event-empty{
    padding:13px 12px;
    border:1px dashed rgba(255,255,255,.12);
    border-radius:12px;
    color:#7e8aa0;
    font-size:.82rem;
    text-align:center;
    background:rgba(255,255,255,.025);
}

.tmpro-event-row{
    display:grid;
    grid-template-columns:42px minmax(0,1fr) 18px;
    gap:12px;
    align-items:flex-start;
    min-height:130px;
    padding:12px 14px;
    border-radius:14px;
    background:radial-gradient(circle at 0 0,rgba(255,102,0,.12),transparent 42%),
        linear-gradient(180deg,rgba(16,22,33,.96),rgba(7,11,18,.98));
    border:1px solid rgba(255,255,255,.08);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 12px 22px rgba(0,0,0,.22);
    animation:tmproEventIn .28s ease-out both;
    position:relative;
    overflow:hidden;
}

.tmpro-event-row.is-pit{
    border-color:rgba(255,47,31,.46)!important;
    background:radial-gradient(circle at 0 0,rgba(255,47,31,.23),transparent 45%),
        linear-gradient(180deg,rgba(34,9,8,.99),rgba(10,4,4,.99))!important;
    box-shadow:inset 4px 0 0 #ff2f1f,0 0 26px rgba(255,47,31,.13),inset 0 1px 0 rgba(255,255,255,.05)!important;
}

.tmpro-event-row.is-out{
    border-color:rgba(34,197,94,.50)!important;
    background:radial-gradient(circle at 0 0,rgba(34,197,94,.24),transparent 45%),
        linear-gradient(180deg,rgba(7,30,18,.99),rgba(3,11,7,.99))!important;
    box-shadow:inset 4px 0 0 #22c55e,0 0 26px rgba(34,197,94,.14),inset 0 1px 0 rgba(255,255,255,.05)!important;
}

.tmpro-event-row.is-driver{
    border-color:rgba(47,155,255,.30);
    background:radial-gradient(circle at 0 0,rgba(47,155,255,.18),transparent 45%),linear-gradient(180deg,rgba(10,18,31,.98),rgba(5,8,14,.98));
}

.tmpro-event-row.is-garage{
    border-color:rgba(47,155,255,.46)!important;
    background:radial-gradient(circle at 0 0,rgba(47,155,255,.23),transparent 45%),
        linear-gradient(180deg,rgba(8,22,38,.99),rgba(3,9,17,.99))!important;
    box-shadow:inset 4px 0 0 #2f9bff,0 0 26px rgba(47,155,255,.13),inset 0 1px 0 rgba(255,255,255,.05)!important;
}

.tmpro-event-type{
    width:44px;
    min-height:44px;
    border-radius:14px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    font-weight:900;
    font-size:.72rem;
    font-family:Saira Condensed,Arial,sans-serif;
    color:#fff;
    background:rgba(255,102,0,.16);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.04),
        0 10px 22px rgba(0,0,0,.34);
    height:44px;
    margin-top:18px;
    position:relative;
    overflow:hidden;
    backdrop-filter:blur(12px);
    border:1px solid rgba(255,255,255,.06);
    transition:.18s ease;
}

.tmpro-event-row.is-out .tmpro-event-type{
    background:radial-gradient(circle at 35% 20%,rgba(255,255,255,.14),transparent 58%),
        linear-gradient(180deg,rgba(8,90,42,.98),rgba(3,32,17,.99))!important;
    box-shadow:0 0 30px rgba(51,255,136,.20),inset 0 0 28px rgba(51,255,136,.12)!important;
    color:#33ff88!important;
    border-color:rgba(51,255,136,.34)!important;
}

.tmpro-event-row.is-driver .tmpro-event-type{
    background:linear-gradient(180deg,rgba(80,18,102,.96),rgba(33,8,42,.99));
    box-shadow:0 0 24px rgba(217,70,239,.14),inset 0 0 24px rgba(217,70,239,.08);
    color:#d946ef;
    border-color:rgba(217,70,239,.24);
}

.tmpro-event-row.is-garage .tmpro-event-type{
    background:radial-gradient(circle at 35% 20%,rgba(255,255,255,.14),transparent 58%),
        linear-gradient(180deg,rgba(20,70,124,.98),rgba(6,25,48,.99))!important;
    box-shadow:0 0 30px rgba(61,161,255,.20),inset 0 0 28px rgba(61,161,255,.12)!important;
    color:#3da1ff!important;
    border-color:rgba(61,161,255,.34)!important;
}

.tmpro-event-type svg{
    width:19px;
    height:19px;
    display:block;
    position:relative;
    z-index:2;
    filter:drop-shadow(0 0 10px currentColor) drop-shadow(0 0 16px currentColor);
}

.tmpro-event-body{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:7px;
    justify-content:flex-start;
    overflow:hidden;
}

.tmpro-event-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    min-width:0;
}

.tmpro-event-driver{
    display:flex;
    align-items:center;
    gap:7px;
    min-width:0;
}

.tmpro-event-flag{
    width:22px;
    height:15px;
    border-radius:3px;
    object-fit:cover;
    border:1px solid rgba(255,255,255,.20);
    box-shadow:0 0 10px rgba(255,255,255,.08);
    flex-shrink:0;
}

.tmpro-event-flag.is-empty{
    display:none;
}

.tmpro-event-name{
    color:#fff;
    font-weight:900;
    font-size:.88rem;
    line-height:1;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.tmpro-event-team{
    margin-top:2px;
    color:#8f98aa;
    font-size:.70rem;
    line-height:1.15;
    font-weight:800;
    letter-spacing:.035em;
    text-transform:uppercase;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.tmpro-event-car{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:38px;
    height:22px;
    padding:0 8px;
    border-radius:7px;
    background:linear-gradient(180deg,rgba(255,138,31,.22),rgba(255,102,0,.12));
    border:1px solid rgba(255,138,31,.42);
    color:#ffb05d;
    font-family:Saira Condensed,Arial,sans-serif;
    font-weight:900;
    letter-spacing:.04em;
    flex-shrink:0;
}

.tmpro-event-action{
    color:#f5f7fb;
    font-weight:800;
    font-size:.84rem;
    line-height:1.18;
    overflow:hidden;
    text-overflow:ellipsis;
}

.tmpro-event-action strong{
    color:#ff8a1f;
}

.tmpro-event-meta{
    display:flex;
    align-items:center;
    gap:7px;
    color:#7e8aa0;
    font-size:.70rem;
    text-transform:uppercase;
    letter-spacing:.055em;
    white-space:nowrap;
    overflow:visible;
    text-overflow:clip;
}

.tmpro-event-cat{
    display:inline-flex;
    align-items:center;
    height:16px;
    padding:0 6px;
    border-radius:4px;
    background:rgba(255,255,255,.07);
    border:1px solid rgba(255,255,255,.10);
    color:#fff;
    font-weight:1000;
    font-family:Saira Condensed,Arial,sans-serif;
    font-size:.58rem;
    line-height:1;
}

.tmpro-info-list{
    display:grid;
    gap:8px;
}

.tmpro-info-list div{
    display:flex;
    justify-content:space-between;
    gap:12px;
    padding:10px 12px;
    background:rgba(255,255,255,.035);
    border:1px solid rgba(255,255,255,.075);
    border-radius:10px;
    min-width:0;
    min-height:46px;
    align-items:center;
}

.tmpro-info-list span{
    color:#8f98aa;
    text-transform:uppercase;
    font-size:.78rem;
    letter-spacing:.02em;
}

.tmpro-empty{
    padding:40px;
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
    border-radius:16px;
    text-align:center;
    color:#9ca3af;
}

.tmpro-event-filters{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(54px,1fr));
    gap:8px;
    margin-bottom:12px;
}

.tmpro-event-filters button{
    min-width:0;
    height:52px;
    border:1px solid rgba(255,255,255,.08);
    border-radius:10px;
    background:linear-gradient(180deg,rgba(18,25,37,.95),rgba(8,12,19,.98));
    color:#98a3b7;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:3px;
    font-family:Saira Condensed,Arial,sans-serif;
    font-weight:800;
    font-size:.68rem;
    cursor:pointer;
    transition:.16s ease;
}

.tmpro-event-filters button svg{
    width:15px;
    height:15px;
}

.tmpro-event-filters button:hover, .tmpro-event-filters button.is-active{
    color:#fff;
    border-color:rgba(255,102,0,.38);
    background:linear-gradient(180deg,rgba(255,102,0,.16),rgba(12,16,25,.98));
    box-shadow:0 0 18px rgba(255,102,0,.12);
}

.tmpro-event-row.is-leader{
    border-color:rgba(255,212,0,.65);
    background:radial-gradient(circle at 0 0,rgba(255,212,0,.18),transparent 45%),
        linear-gradient(180deg,rgba(27,24,10,.98),rgba(10,9,5,.98));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 0 22px rgba(255,212,0,.12);
}

.tmpro-event-row.is-info{
    border-color:rgba(148,163,184,.24);
}

.tmpro-event-type span{
    display:none;
}

.tmpro-event-row.is-leader .tmpro-event-type{
    color:#ffd400;
    background:linear-gradient(180deg,rgba(98,82,8,.96),rgba(40,32,3,.99));
    box-shadow:0 0 30px rgba(255,212,0,.18),inset 0 0 26px rgba(255,212,0,.12);
    border-color:rgba(255,212,0,.34);
}

.tmpro-event-mainline{
    display:flex;
    align-items:center;
    gap:7px;
    min-width:0;
}

.tmpro-event-time{
    color:#7f8ba0;
    font-size:.72rem;
    font-variant-numeric:tabular-nums;
    white-space:nowrap;
}

.tmpro-event-tag{
    display:inline-flex;
    align-items:center;
    height:17px;
    padding:0 6px;
    border-radius:4px;
    color:#071018;
    background:#94a3b8;
    font-size:.58rem;
    font-weight:1000;
    text-transform:uppercase;
    letter-spacing:.05em;
    font-family:Saira Condensed,Arial,sans-serif;
    white-space:nowrap;
}

.tmpro-event-tag.is-pit{
    background:#ff2f1f!important;
    color:#fff!important;
    box-shadow:0 0 14px rgba(255,47,31,.25);
}

.tmpro-event-tag.is-out{
    background:#22c55e!important;
    color:#03140a!important;
    box-shadow:0 0 14px rgba(34,197,94,.25);
}

.tmpro-event-tag.is-driver{
    background:#a855f7;
    color:#fff;
}

.tmpro-event-tag.is-garage{
    background:#2f9bff!important;
    color:#eaf5ff!important;
    box-shadow:0 0 14px rgba(47,155,255,.25);
}

.tmpro-event-tag.is-leader{
    background:#ffd400;
    color:#170f00;
}

.tmpro-event-tag.is-info{
    background:#64748b;
    color:#fff;
}

.tmpro-event-detail{
    display:flex;
    align-items:center;
    gap:7px;
    margin-top:4px;
    min-width:0;
}

.tmpro-event-position{
    color:#f7f8fb;
    font-family:Saira Condensed,Arial,sans-serif;
    font-size:1rem;
    font-weight:1000;
    min-width:28px;
    white-space:nowrap;
}

.tmpro-event-detail .tmpro-event-name{
    font-size:.92rem;
    line-height:1.1;
}

.tmpro-event-subtext{
    margin-top:2px;
    color:#9ca7b8;
    font-size:.80rem;
    line-height:1.25;
    overflow:visible;
    text-overflow:clip;
    white-space:normal;
}

.tmpro-event-driver-change{
    display:flex;
    align-items:center;
    gap:6px;
    margin-top:4px;
    color:#c9d1df;
    font-size:.72rem;
    flex-wrap:wrap;
    line-height:1.2;
}

.tmpro-event-arrow{
    color:#ffd400;
    font-weight:1000;
}

.tmpro-event-chevron{
    display:flex;
    align-items:center;
    justify-content:center;
    color:#8a95a8;
    margin-top:28px;
}

.tmpro-event-chevron svg{
    width:14px;
    height:14px;
}

.tmpro-event-cat.tmpro-cat-lmp2{
    background:linear-gradient(180deg,#2f9bff,#0b5fbd);
    border:1px solid rgba(47,155,255,.55);
}

.tmpro-event-cat.tmpro-cat-lmp2plus{
    background:linear-gradient(180deg,#8b5cf6,#5520b8);
    border:1px solid rgba(139,92,246,.58);
}

.tmpro-event-cat.tmpro-cat-lmp3{
    background:linear-gradient(180deg,#a855f7,#6b21a8);
    border:1px solid rgba(168,85,247,.58);
}

.tmpro-event-cat.tmpro-cat-gt3{
    background:linear-gradient(180deg,#22c55e,#0b7a32);
    border:1px solid rgba(34,197,94,.58);
}

.tmpro-event-cat.tmpro-cat-gte{
    background:linear-gradient(180deg,#f5bc30,#805a09);
    border:1px solid rgba(245,188,48,.62);
    box-shadow:0 0 12px rgba(245,188,48,.20);
}

.tmpro-event-cat.tmpro-cat-tc,.tmpro-event-cat.tmpro-cat-default{
    background:linear-gradient(180deg,#64748b,#263241);
    border:1px solid rgba(148,163,184,.42);
}

.tmpro-events-more{
    margin-top:10px;
    height:38px;
    width:100%;
    border:1px solid rgba(255,255,255,.07);
    border-radius:9px;
    background:linear-gradient(180deg,rgba(27,36,50,.95),rgba(14,19,28,.98));
    color:#f7f8fb;
    font-weight:900;
    font-family:Saira Condensed,Arial,sans-serif;
    letter-spacing:.02em;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    cursor:pointer;
}

.tmpro-events-more svg{
    width:14px;
    height:14px;
}

.tmpro-events-more:hover{
    border-color:rgba(255,102,0,.34);
    box-shadow:0 0 18px rgba(255,102,0,.12);
}

.tmpro-right.tmpro-panel{
    display:flex;
    flex-direction:column;
    height:var(--tmpro-card-height);
    min-height:var(--tmpro-card-height);
    max-height:var(--tmpro-card-height);
    overflow:hidden;
}

.tmpro-right .tmpro-gate-legend{
    flex:0 0 auto;
    display:none!important;
}

.tmpro-right .tmpro-event-filters{
    flex:0 0 auto;
}

.tmpro-right #tmproRaceEvents.tmpro-race-events{
    flex:1 1 auto;
    min-height:0;
    max-height:none;
    height:auto;
    overflow-y:auto;
    overflow-x:hidden;
    padding-right:8px;
}

.tmpro-right #tmproEventsMore{
    flex:0 0 auto;
}

.tmpro-info-list strong{
    color:#f7f8fb;
    font-weight:900;
    text-align:right;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.tmpro-event-type::before{
    content:"";
    position:absolute;
    inset:0;
    background:radial-gradient(circle at 30% 25%,rgba(255,255,255,.12),transparent 60%);
}

.tmpro-event-row.is-pit .tmpro-event-type{
    color:#ff4a3d!important;
    background:radial-gradient(circle at 35% 20%,rgba(255,255,255,.14),transparent 58%),
        linear-gradient(180deg,rgba(117,18,15,.98),rgba(42,6,5,.99))!important;
    border-color:rgba(255,74,61,.34)!important;
    box-shadow:0 0 30px rgba(255,74,61,.20),inset 0 0 28px rgba(255,74,61,.12)!important;
}

.tmpro-event-row.is-info .tmpro-event-type{
    color:#9fb1c7;
    background:linear-gradient(180deg,rgba(45,56,74,.96),rgba(16,22,33,.99));
    border-color:rgba(159,177,199,.20);
    box-shadow:0 0 22px rgba(159,177,199,.10),inset 0 0 22px rgba(159,177,199,.06);
}

.tmpro-event-row.is-penalty{
    border-color:rgba(255,47,31,.42);
    background:radial-gradient(circle at 0 0,rgba(255,47,31,.18),transparent 45%),linear-gradient(180deg,rgba(31,10,10,.98),rgba(12,5,5,.98));
}

.tmpro-event-row.is-flag{
    border-color:rgba(255,212,0,.38);
    background:radial-gradient(circle at 0 0,rgba(255,212,0,.16),transparent 45%),linear-gradient(180deg,rgba(27,24,10,.98),rgba(10,9,5,.98));
}

.tmpro-event-row.is-position{
    border-color:rgba(217,70,239,.34);
    background:radial-gradient(circle at 0 0,rgba(217,70,239,.16),transparent 45%),linear-gradient(180deg,rgba(25,12,31,.98),rgba(8,5,12,.98));
}

.tmpro-event-row.is-position-gain{
    border-color:rgba(34,197,94,.44);
    background:radial-gradient(circle at 0 0,rgba(34,197,94,.18),transparent 45%),linear-gradient(180deg,rgba(8,26,17,.98),rgba(4,11,8,.99));
}

.tmpro-event-row.is-position-loss{
    border-color:rgba(255,47,31,.44);
    background:radial-gradient(circle at 0 0,rgba(255,47,31,.18),transparent 45%),linear-gradient(180deg,rgba(31,10,10,.98),rgba(12,5,5,.99));
}

.tmpro-event-tag.is-penalty{
    background:#ff2f1f;
    color:#fff;
}

.tmpro-event-tag.is-flag{
    background:#ffd400;
    color:#150f00;
}

.tmpro-event-tag.is-position{
    background:#d946ef;
    color:#fff;
}

.tmpro-event-row.is-position-gain .tmpro-event-tag.is-position{
    background:#25d366;
    color:#03140a;
}

.tmpro-event-row.is-position-loss .tmpro-event-tag.is-position{
    background:#ff3838;
    color:#fff;
}

.tmpro-event-row.is-penalty .tmpro-event-type{
    color:#ff4a3d;
    background:linear-gradient(180deg,rgba(95,20,16,.96),rgba(38,7,5,.99));
    border-color:rgba(255,74,61,.26);
    box-shadow:0 0 26px rgba(255,74,61,.15),inset 0 0 24px rgba(255,74,61,.08);
}

.tmpro-event-row.is-flag .tmpro-event-type{
    color:#ffd400;
    background:linear-gradient(180deg,rgba(98,82,8,.96),rgba(40,32,3,.99));
    border-color:rgba(255,212,0,.30);
    box-shadow:0 0 26px rgba(255,212,0,.16),inset 0 0 24px rgba(255,212,0,.09);
}

.tmpro-event-row.is-position .tmpro-event-type{
    color:#d946ef;
    background:linear-gradient(180deg,rgba(80,18,102,.96),rgba(33,8,42,.99));
    border-color:rgba(217,70,239,.24);
    box-shadow:0 0 26px rgba(217,70,239,.15),inset 0 0 24px rgba(217,70,239,.08);
}

.tmpro-event-row.is-position-gain .tmpro-event-type{
    color:#3dff83;
    background:radial-gradient(circle at 50% 28%,rgba(61,255,131,.28),transparent 58%),
        linear-gradient(180deg,rgba(11,86,42,.98),rgba(3,29,16,.99));
    border-color:rgba(61,255,131,.34);
    box-shadow:0 0 28px rgba(61,255,131,.18),
        inset 0 0 24px rgba(61,255,131,.10),
        inset 0 1px 0 rgba(255,255,255,.08);
}

.tmpro-event-row.is-position-loss .tmpro-event-type{
    color:#ff4848;
    background:radial-gradient(circle at 50% 28%,rgba(255,72,72,.28),transparent 58%),
        linear-gradient(180deg,rgba(97,17,17,.98),rgba(35,5,5,.99));
    border-color:rgba(255,72,72,.34);
    box-shadow:0 0 28px rgba(255,72,72,.18),
        inset 0 0 24px rgba(255,72,72,.10),
        inset 0 1px 0 rgba(255,255,255,.08);
}

.tmpro-event-subtext strong{
    color:#ffb05d;
}

.tmpro-position-change{
    display:flex;
    align-items:center;
    gap:8px;
    min-height:24px;
    font-weight:900;
    white-space:nowrap;
    flex-wrap:wrap;
}

.tmpro-position-arrow{
    width:24px;
    height:24px;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 auto;
    box-shadow:0 0 16px currentColor;
}

.tmpro-position-arrow svg{
    width:15px;
    height:15px;
    display:block;
}

.tmpro-position-arrow.is-gain{
    color:#22c55e;
    background:rgba(34,197,94,.16);
    border:1px solid rgba(34,197,94,.38);
}

.tmpro-position-arrow.is-loss{
    color:#ff2f1f;
    background:rgba(255,47,31,.16);
    border:1px solid rgba(255,47,31,.38);
}

.tmpro-position-text.is-gain{
    color:#b9ffd0;
    background:rgba(34,197,94,.14);
    border:1px solid rgba(34,197,94,.28);
}

.tmpro-position-text.is-loss{
    color:#ffb6b6;
    background:rgba(255,47,31,.14);
    border:1px solid rgba(255,47,31,.28);
}

.tmpro-position-route{
    color:#f7f8fb;
    font-family:Saira Condensed,Arial,sans-serif;
    font-size:.92rem;
    letter-spacing:.025em;
    display:inline-flex;
    align-items:center;
    min-height:22px;
    padding:0 9px;
    border-radius:8px;
    font-weight:1000;
    background:rgba(255,255,255,.055);
    border:1px solid rgba(255,255,255,.08);
}

.tmpro-track-legend{
    position:absolute!important;
    top:18px!important;
    left:18px!important;
    z-index:220!important;
    width:95px;
    padding:13px 14px;
    display:flex!important;
    flex-direction:column;
    gap:9px;
    border-radius:12px;
    background:linear-gradient(180deg,rgba(8,14,24,.86),rgba(3,7,13,.92));
    border:1px solid rgba(255,255,255,.085);
    backdrop-filter:blur(16px);
    box-shadow:0 18px 40px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.045);
    pointer-events:none!important;
    opacity:1!important;
    visibility:visible!important;
}

.tmpro-track-legend-item{
    display:grid;
    grid-template-columns:36px 30px minmax(0,1fr);
    align-items:center;
    gap:9px;
    min-height:24px;
}

.tmpro-track-legend-item i{
    height:4px;
    border-radius:999px;
    position:relative;
    box-shadow:0 0 10px currentColor,0 0 18px currentColor;
}

.tmpro-track-legend-item i::before{
    content:"";
    position:absolute;
    inset:-4px;
    border-radius:999px;
    background:currentColor;
    filter:blur(10px);
    opacity:.55;
}

.tmpro-track-legend-item span{
    color:#f8fafc;
    font-family:Saira Condensed,Arial,sans-serif;
    font-size:.84rem;
    line-height:1;
    font-weight:900;
    letter-spacing:.03em;
}

.tmpro-track-legend-item strong{
    color:#f7f8fb;
    font-size:.70rem;
    line-height:1;
    font-weight:800;
    white-space:nowrap;
    overflow:visible;
    text-overflow:clip;
}

.tmpro-track-legend .g-s1{
    background:#1e88ff;
    color:#1e88ff;
}

.tmpro-track-legend .g-s2{
    background:#22c55e;
    color:#22c55e;
}

.tmpro-track-legend .g-s3{
    background:#ff2f1f;
    color:#ff2f1f;
}

.tmpro-track-legend .g-sf{
    background:#ffffff;
    color:#ffffff;
}

.tmpro-track-legend .g-yellow, .g-yellow{
    background:#ffd400!important;
    color:#ffd400!important;
    animation:tmproYellowBlink .7s infinite;
}

.tmpro-event-row.is-report, .tmpro-report-row{
    border-color:rgba(47,155,255,.36);
    background:radial-gradient(circle at 0 0,rgba(47,155,255,.18),transparent 46%),
        linear-gradient(180deg,rgba(10,18,31,.98),rgba(5,8,14,.99));
}

.tmpro-event-row.is-report .tmpro-event-type{
    color:#3da1ff;
    background:linear-gradient(180deg,rgba(23,63,110,.95),rgba(8,25,45,.98));
    border-color:rgba(61,161,255,.28);
    box-shadow:0 0 28px rgba(61,161,255,.16),inset 0 0 24px rgba(61,161,255,.09);
}

.tmpro-event-tag.is-report{
    background:#3da1ff;
    color:#03101d;
}

.tmpro-report-row{
    min-height:unset;
}

.tmpro-report-title{
    margin-top:2px;
    color:#fff;
    font-family:Saira Condensed,Arial,sans-serif;
    font-size:1.05rem;
    font-weight:1000;
    letter-spacing:.02em;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:8px 10px;
    border-radius:11px;
    background:linear-gradient(180deg,rgba(47,155,255,.12),rgba(47,155,255,.045));
    border:1px solid rgba(47,155,255,.18);
}

.tmpro-report-flags{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:6px;
    margin-top:4px;
}

.tmpro-report-flag{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:2px;
    padding:7px 6px;
    border-radius:9px;
    font-size:.66rem;
    line-height:1;
    font-weight:900;
    text-transform:uppercase;
    color:#fff;
    background:rgba(255,255,255,.045);
    border:1px solid rgba(255,255,255,.08);
}

.tmpro-report-flag b{
    color:#8f98aa;
    font-size:.58rem;
    letter-spacing:.06em;
}

.tmpro-report-flag.is-green{
    border-color:rgba(34,197,94,.32);
    box-shadow:inset 3px 0 0 #22c55e;
}

.tmpro-report-flag.is-yellow{
    border-color:rgba(255,212,0,.36);
    box-shadow:inset 3px 0 0 #ffd400;
    color:#ffe986;
}

.tmpro-report-flag.is-blue{
    border-color:rgba(47,155,255,.36);
    box-shadow:inset 3px 0 0 #2f9bff;
    color:#9bd0ff;
}

.tmpro-report-flag.is-red{
    border-color:rgba(255,47,31,.36);
    box-shadow:inset 3px 0 0 #ff2f1f;
    color:#ffaaa4;
}

.tmpro-report-flag.is-white{
    border-color:rgba(255,255,255,.30);
    box-shadow:inset 3px 0 0 #fff;
    color:#fff;
}

.tmpro-report-flag.is-checkered{
    border-color:rgba(255,255,255,.30);
    box-shadow:inset 3px 0 0 #fff;
    color:#fff;
    background:linear-gradient(135deg,rgba(255,255,255,.09) 25%,rgba(0,0,0,.18) 25% 50%,rgba(255,255,255,.09) 50% 75%,rgba(0,0,0,.18) 75%);
}

.tmpro-report-groups{
    display:flex;
    flex-direction:column;
    gap:8px;
    margin-top:8px;
}

.tmpro-report-category{
    padding:8px;
    border-radius:12px;
    background:rgba(255,255,255,.035);
    border:1px solid rgba(255,255,255,.07);
}

.tmpro-report-category-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    margin-bottom:7px;
}

.tmpro-report-category-head small{
    color:#9bd0ff;
    font-size:.66rem;
    text-transform:uppercase;
    font-weight:900;
}

.tmpro-report-drivers{
    display:flex;
    flex-direction:column;
    gap:4px;
}

.tmpro-report-driver{
    display:grid;
    grid-template-columns:22px 22px minmax(0,1fr) auto 34px;
    align-items:center;
    gap:6px;
    min-height:22px;
    color:#cfd6e3;
    font-size:.72rem;
}

.tmpro-report-pos{
    color:#fff;
    font-weight:1000;
    font-family:Saira Condensed,Arial,sans-serif;
}

.tmpro-report-driver strong{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#f7f8fb;
    font-weight:900;
}

.tmpro-report-driver em{
    color:#ffb05d;
    font-style:normal;
    font-weight:900;
    white-space:nowrap;
}

.tmpro-report-driver small{
    color:#9bd0ff;
    white-space:nowrap;
    font-size:.66rem;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:32px;
    height:18px;
    padding:0 5px;
    border-radius:5px;
    background:rgba(47,155,255,.10);
    border:1px solid rgba(47,155,255,.18);
    font-family:Saira Condensed,Arial,sans-serif;
    font-weight:1000;
}

.tmpro-event-row.is-position-gain, .tmpro-event-row.is-position-loss{
    grid-template-columns:56px minmax(0,1fr) 18px;
}

.tmpro-event-row.is-position-gain .tmpro-event-type, .tmpro-event-row.is-position-loss .tmpro-event-type{
    width:52px;
    height:52px;
    min-height:52px;
    margin-top:13px;
    border-radius:16px;
}

.tmpro-event-row.is-position-gain .tmpro-event-type::after, .tmpro-event-row.is-position-loss .tmpro-event-type::after{
    content:"";
    position:absolute;
    inset:8px;
    border-radius:13px;
    background:rgba(255,255,255,.045);
    border:1px solid rgba(255,255,255,.06);
    pointer-events:none;
}

.tmpro-event-type .tmpro-pos-svg{
    width:30px;
    height:30px;
    z-index:3;
    filter:drop-shadow(0 0 8px currentColor)
        drop-shadow(0 0 18px currentColor);
}

.tmpro-pos-svg .tmpro-pos-arrow-main, .tmpro-pos-svg .tmpro-pos-arrow-head{
    stroke-width:3.2;
}

.tmpro-pos-svg .tmpro-pos-base{
    stroke-width:2.4;
    opacity:.55;
}

.tmpro-event-row.is-position-gain .tmpro-event-type span, .tmpro-event-row.is-position-loss .tmpro-event-type span{
    display:block;
    position:absolute;
    bottom:3px;
    left:0;
    right:0;
    z-index:4;
    font-size:.48rem;
    line-height:1;
    text-align:center;
    font-family:Saira Condensed,Arial,sans-serif;
    font-weight:1000;
    letter-spacing:.08em;
    opacity:.95;
}

.tmpro-event-row.is-position-gain .tmpro-event-type span{
    color:#b9ffd0;
}

.tmpro-event-row.is-position-loss .tmpro-event-type span{
    color:#ffb6b6;
}

.tmpro-position-text{
    display:inline-flex;
    align-items:center;
    min-height:22px;
    padding:0 8px;
    border-radius:999px;
    font-family:Saira Condensed,Arial,sans-serif;
    font-size:.75rem;
    font-weight:1000;
    letter-spacing:.045em;
    text-transform:uppercase;
}

.tmpro-position-route b{
    margin:0 6px;
    font-weight:1000;
}

.tmpro-position-route.is-gain b{
    color:#3dff83;
}

.tmpro-position-route.is-loss b{
    color:#ff4848;
}

.tmpro-report-title span{
    color:#fff;
    font-family:Saira Condensed,Arial,sans-serif;
    font-size:1.05rem;
    font-weight:1000;
    text-transform:uppercase;
    letter-spacing:.035em;
}

.tmpro-report-title strong{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    min-height:22px;
    padding:0 9px;
    border-radius:999px;
    color:#03101d;
    background:#3da1ff;
    font-family:Saira Condensed,Arial,sans-serif;
    font-size:.76rem;
    font-weight:1000;
    text-transform:uppercase;
}

.tmpro-event-row.is-pit, .tmpro-event-row.is-out, .tmpro-event-row.is-garage{
    grid-template-columns:62px minmax(0,1fr) 18px;
}

.tmpro-event-row.is-pit .tmpro-event-type, .tmpro-event-row.is-out .tmpro-event-type, .tmpro-event-row.is-garage .tmpro-event-type{
    width:58px!important;
    height:58px!important;
    min-height:58px!important;
    margin-top:10px!important;
    border-radius:18px!important;
    overflow:hidden;
}

.tmpro-event-type .tmpro-pit-svg, .tmpro-event-type .tmpro-pitout-svg, .tmpro-event-type .tmpro-garage-svg{
    width:34px!important;
    height:34px!important;
    position:relative;
    z-index:3;
    filter:drop-shadow(0 0 9px currentColor) drop-shadow(0 0 18px currentColor)!important;
}

.tmpro-event-row.is-pit .tmpro-event-type::after, .tmpro-event-row.is-out .tmpro-event-type::after, .tmpro-event-row.is-garage .tmpro-event-type::after{
    content:"";
    position:absolute;
    left:9px;
    right:9px;
    bottom:6px;
    height:2px;
    border-radius:999px;
    background:currentColor;
    opacity:.55;
    box-shadow:0 0 10px currentColor;
}

.tmpro-event-row.is-pit .tmpro-event-tag.is-pit{
    background:#2f9bff!important;
    color:#eaf5ff!important;
    box-shadow:0 0 14px rgba(47,155,255,.25);
}

.tmpro-event-row.is-out .tmpro-event-tag.is-out{
    background:#22c55e!important;
    color:#06130b!important;
    box-shadow:0 0 14px rgba(34,197,94,.25);
}

.tmpro-event-row.is-garage .tmpro-event-tag.is-garage{
    background:#ff8a1f!important;
    color:#160a02!important;
    box-shadow:0 0 14px rgba(255,138,31,.25);
}

.tmpro-event-type svg.srh-event-icon{
    width:30px!important;
    height:30px!important;
    min-width:30px;
    min-height:30px;
    display:block;
    position:relative;
    z-index:4;
    color:currentColor;
    fill:none;
    stroke:currentColor;
    filter:drop-shadow(0 0 8px currentColor)
        drop-shadow(0 0 18px currentColor);
}

.tmpro-event-row.is-pit .tmpro-event-type, .tmpro-event-row.is-out .tmpro-event-type, .tmpro-event-row.is-garage .tmpro-event-type, .tmpro-event-row.is-penalty .tmpro-event-type, .tmpro-event-row.is-flag .tmpro-event-type, .tmpro-event-row.is-leader .tmpro-event-type, .tmpro-event-row.is-position-gain .tmpro-event-type, .tmpro-event-row.is-position-loss .tmpro-event-type{
    width:56px!important;
    height:56px!important;
    min-height:56px!important;
    margin-top:12px!important;
    border-radius:17px!important;
}

.tmpro-event-row.is-pit .tmpro-event-type span, .tmpro-event-row.is-out .tmpro-event-type span, .tmpro-event-row.is-garage .tmpro-event-type span{
    display:block!important;
    position:absolute;
    left:0;
    right:0;
    bottom:3px;
    text-align:center;
    z-index:5;
    font-family:Saira Condensed,Arial,sans-serif;
    font-size:.48rem;
    line-height:1;
    font-weight:1000;
    letter-spacing:.08em;
}

.tmpro-event-row.is-pit .tmpro-event-type span{
    color:#ffb8b3;
}

.tmpro-event-row.is-out .tmpro-event-type span{
    color:#b9ffd0;
}

.tmpro-event-row.is-garage .tmpro-event-type span{
    color:#b9dcff;
}

.tmpro-event-row.is-pit .tmpro-event-type, .tmpro-event-row.is-out .tmpro-event-type{
    animation:tmproPitIconPulse 2.2s ease-in-out infinite;
}

.tmpro-zoom-controls{
    position:absolute!important;
    right:18px!important;
    top:18px!important;
    z-index:230!important;
    display:flex!important;
    align-items:center;
    gap:8px;
    padding:8px;
    border-radius:14px;
    background:linear-gradient(180deg,rgba(8,14,24,.84),rgba(3,7,13,.92));
    border:1px solid rgba(255,255,255,.09);
    box-shadow:0 18px 38px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,255,255,.05);
    backdrop-filter:blur(16px);
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
}

.tmpro-zoom-btn,.tmpro-zoom-reset{
    height:34px;
    border:1px solid rgba(255,255,255,.10);
    border-radius:10px;
    background:linear-gradient(180deg,rgba(20,29,42,.94),rgba(8,12,19,.98));
    color:#f7f8fb;
    font-family:Saira Condensed,Arial,sans-serif;
    font-weight:1000;
    cursor:pointer;
    transition:.16s ease;
}

.tmpro-zoom-btn{
    width:36px;
    font-size:1.25rem;
    line-height:1;
}

.tmpro-zoom-reset{
    min-width:58px;
    padding:0 10px;
    font-size:.82rem;
    letter-spacing:.03em;
}

.tmpro-zoom-btn:hover,.tmpro-zoom-reset:hover{
    border-color:rgba(255,102,0,.55);
    color:#fff;
    box-shadow:0 0 18px rgba(255,102,0,.18);
    background:linear-gradient(180deg,rgba(255,102,0,.18),rgba(8,12,19,.98));
}

.tmpro-zoom-follow{
    display:inline-flex;
    align-items:center;
    height:34px;
    padding:0 10px;
    border-radius:999px;
    color:#ffb05d;
    background:rgba(255,102,0,.10);
    border:1px solid rgba(255,102,0,.24);
    font-size:.70rem;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.07em;
    white-space:nowrap;
}

.tmpro-race-stats-bar{
    margin-top:14px;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr)) minmax(260px,.95fr);
    gap:10px;
    flex-shrink:0;
}

.tmpro-race-stat, .tmpro-race-weather{
    position:relative;
    min-height:70px;
    border-radius:8px;
    background:radial-gradient(circle at top left,rgba(255,255,255,.055),transparent 48%),
        linear-gradient(180deg,rgba(11,17,26,.96),rgba(4,8,13,.98));
    border:1px solid rgba(255,255,255,.07);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.045),
        0 10px 22px rgba(0,0,0,.30);
    overflow:hidden;
}

.tmpro-race-stat{
    display:flex;
    align-items:center;
    gap:13px;
    padding:14px 16px;
}

.tmpro-race-stat:not(:last-child)::after, .tmpro-race-weather-item:not(:last-child)::after{
    content:"";
    position:absolute;
    right:0;
    top:13px;
    bottom:13px;
    width:1px;
    background:rgba(255,255,255,.08);
}

.tmpro-race-stat-icon, .tmpro-race-weather-icon{
    width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 auto;
}

.tmpro-race-stat-icon svg, .tmpro-race-weather-icon svg{
    width:28px;
    height:28px;
    display:block;
    filter:drop-shadow(0 0 10px currentColor);
}

.tmpro-race-stat-text{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:4px;
}

.tmpro-race-stat-text span{
    color:#9aa4b5;
    font-size:.68rem;
    line-height:1;
    font-weight:900;
    letter-spacing:.07em;
    text-transform:uppercase;
    white-space:nowrap;
}

.tmpro-race-stat-text strong{
    color:#fff;
    font-family:Saira Condensed,Arial,sans-serif;
    font-size:1.45rem;
    line-height:1;
    font-weight:1000;
    font-variant-numeric:tabular-nums;
    white-space:nowrap;
}

.tmpro-race-stat.gain .tmpro-race-stat-icon{
    color:#22e979;
}

.tmpro-race-stat.loss .tmpro-race-stat-icon{
    color:#ff2f2f;
}

.tmpro-race-stat.pit .tmpro-race-stat-icon{
    color:#fff;
}

.tmpro-race-stat.incident .tmpro-race-stat-icon{
    color:#ffd400;
}

.tmpro-race-weather{
    display:grid;
    grid-template-columns:1fr 1fr 1.2fr;
    align-items:stretch;
}

.tmpro-race-weather-item{
    position:relative;
    min-width:0;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:12px 12px;
}

.tmpro-race-weather-icon{
    color:#8ea6bd;
}

.tmpro-race-weather-item .tmpro-race-stat-text{
    align-items:flex-start;
}

.tmpro-race-weather-item.track .tmpro-race-stat-text{
    align-items:center;
}

.tmpro-race-stats-bar.tmpro-race-stats-bar-bottom{
    width:100%;
    max-width:100%;
    margin:18px 0 0 0;
    padding:0;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr))
        minmax(340px,1.18fr);
    gap:10px;
    align-items:stretch;
    flex-shrink:0;
}

.tmpro-race-stats-bar-bottom .tmpro-race-stat, .tmpro-race-stats-bar-bottom .tmpro-race-weather{
    min-height:76px;
    border-radius:8px;
    background:radial-gradient(circle at top left,rgba(255,255,255,.055),transparent 48%),
        linear-gradient(180deg,rgba(11,17,26,.96),rgba(4,8,13,.98));
    border:1px solid rgba(255,255,255,.075);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.045),
        0 12px 28px rgba(0,0,0,.32);
}

.tmpro-race-stats-bar-bottom .tmpro-race-stat{
    padding:15px 18px;
}

.tmpro-race-stats-bar-bottom .tmpro-race-weather{
    display:grid;
    grid-template-columns:1fr 1fr 1.2fr;
}

.tmpro-race-stats-bar-bottom .tmpro-race-weather-item{
    min-height:76px;
}

.g-s2, .tmpro-track-legend .g-s2{
    background:#22c55e!important;
    color:#22c55e!important;
}

.g-yellow, .tmpro-track-legend .g-yellow{
    background:#ffd400!important;
    color:#ffd400!important;
    animation:tmproYellowBlink .7s infinite;
}

.tmpro-left-pro{
    padding:0!important;
    background:radial-gradient(circle at 0 0,rgba(255,102,0,.08),transparent 34%),
        linear-gradient(180deg,#08111d 0%,#050b14 100%)!important;
    overflow:hidden!important;
    border:1px solid rgba(255,255,255,.065)!important;
    border-radius:18px!important;
}

.tmpro-left-top{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:8px!important;
    padding-bottom:12px;
    margin-bottom:10px!important;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.tmpro-left-top .tmpro-panel-title{
    margin:0;
    padding:0;
    border:0;
    letter-spacing:.12em;
}

.tmpro-left-subtitle{
    margin-top:4px;
    color:#778195;
    font-size:.66rem!important;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.tmpro-left-online{
    display:inline-flex;
    align-items:center;
    gap:7px;
    height:24px!important;
    padding:0 8px!important;
    border-radius:999px;
    background:rgba(34,197,94,.08);
    border:1px solid rgba(34,197,94,.16);
    color:#c8f6d8;
    font-size:.68rem!important;
    font-weight:900;
    white-space:nowrap;
}

.tmpro-left-online span{
    width:7px;
    height:7px;
    border-radius:50%;
    background:#22c55e;
    box-shadow:0 0 12px #22c55e;
}

.tmpro-left-tabs{
    display:none!important;
    grid-template-columns:1fr 1fr;
    gap:6px!important;
    margin-bottom:10px!important;
}

.tmpro-left-tab{
    min-width:0;
    height:40px!important;
    border-radius:9px!important;
    border:1px solid rgba(255,255,255,.12);
    background:radial-gradient(circle at 20% 0,rgba(255,255,255,.07),transparent 42%),
        linear-gradient(180deg,rgba(19,27,39,.96),rgba(6,10,17,.99));
    color:#e7edf7;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:5px!important;
    cursor:pointer;
    font-family:Saira Condensed,Arial,sans-serif;
    text-transform:uppercase;
    letter-spacing:.045em;
    transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,background .16s ease;
}

.tmpro-left-tab strong{
    font-size:.73rem!important;
    font-weight:1000;
    line-height:1;
}

.tmpro-left-tab .tmpro-tab-icon{
    font-size:.88rem!important;
    line-height:1;
    filter:drop-shadow(0 0 8px rgba(255,255,255,.12));
}

.tmpro-left-tab:hover{
    transform:translateY(-1px);
    border-color:rgba(255,102,0,.34);
}

.tmpro-left-tab.is-active{
    background:radial-gradient(circle at 18% 0,rgba(255,255,255,.22),transparent 42%),
        linear-gradient(180deg,#ff8a1f,#ff6600);
    border-color:rgba(255,138,31,.70);
    color:#fff;
    box-shadow:0 0 22px rgba(255,102,0,.35), inset 0 1px 0 rgba(255,255,255,.22);
}

.tmpro-left-table-head{
    display:grid!important;
    grid-template-columns:42px 54px minmax(0,1fr) 84px!important;
    gap:10px!important;
    align-items:center!important;
    height:30px!important;
    padding:0 12px 8px!important;
    color:#7f8ba0!important;
    font-size:.66rem!important;
    font-weight:1000!important;
    letter-spacing:.10em!important;
    text-transform:uppercase!important;
    border-bottom:1px solid rgba(255,255,255,.08)!important;
    margin-bottom:8px!important;
    column-gap:12px!important;
    margin-top:0!important;
    margin:0 0 10px!important;
    line-height:1!important;
}

.tmpro-left-list{
    gap:7px!important;
    padding-right:5px!important;
}

.tmpro-left .tmpro-driver-row.tmpro-pro-row{
    width:100%!important;
    display:grid!important;
    grid-template-columns:42px 54px minmax(0,1fr) 84px!important;
    gap:10px!important;
    align-items:center!important;
    min-height:58px!important;
    padding:9px 12px!important;
    border-radius:13px!important;
    border:1px solid rgba(255,255,255,.085)!important;
    background:radial-gradient(circle at 0 0,rgba(255,255,255,.045),transparent 40%),
        linear-gradient(180deg,rgba(13,20,31,.98),rgba(5,9,16,.99))!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.045),
        0 8px 18px rgba(0,0,0,.20)!important;
    cursor:pointer!important;
    transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease,background .15s ease!important;
    overflow:hidden!important;
    grid-template-rows:1fr!important;
    column-gap:12px!important;
    row-gap:8px!important;
    max-height:58px!important;
}

.tmpro-left .tmpro-driver-row.tmpro-pro-row:hover{
    border-color:rgba(255,102,0,.30)!important;
    transform:translateX(2px)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.055),
        0 0 22px rgba(255,102,0,.09),
        0 8px 18px rgba(0,0,0,.20)!important;
}

.tmpro-left .tmpro-driver-row.tmpro-pro-row.is-selected{
    border-color:rgba(255,102,0,.82)!important;
    background:linear-gradient(90deg,rgba(255,102,0,.88),rgba(255,102,0,.46) 50%,rgba(14,20,31,.99))!important;
    box-shadow:inset 4px 0 0 #ff6600,
        inset 0 1px 0 rgba(255,255,255,.12),
        0 0 28px rgba(255,102,0,.24)!important;
}

.tmpro-left-pos{
    color:#fff!important;
    font-size:1.38rem!important;
    font-weight:1000!important;
    text-align:center!important;
    font-family:Saira Condensed,Arial,sans-serif!important;
    grid-column:1!important;
    grid-row:1!important;
    justify-self:center!important;
    align-self:center!important;
    width:34px!important;
    min-width:0!important;
    max-width:34px!important;
    line-height:1!important;
    text-shadow:0 2px 8px rgba(0,0,0,.35)!important;
}

.tmpro-left-car{
    color:#cdd6e5;
    font-size:.62rem!important;
    font-weight:900;
    text-align:center;
    white-space:nowrap;
    letter-spacing:.01em!important;
}

.tmpro-left-driver-main{
    min-width:0!important;
    gap:9px!important;
    display:grid!important;
    grid-template-columns:30px minmax(0,1fr)!important;
    align-items:center!important;
    overflow:hidden!important;
    grid-column:3!important;
    grid-row:1!important;
    width:100%!important;
    max-width:100%!important;
}

.tmpro-left .tmpro-driver-brand{
    width:30px!important;
    height:30px!important;
    flex-basis:22px!important;
    border-radius:9px!important;
    grid-row:1!important;
    align-self:center!important;
    grid-column:1!important;
    min-width:30px!important;
    max-width:30px!important;
    flex:0 0 30px!important;
    justify-self:center!important;
    background:radial-gradient(circle at 30% 20%,rgba(255,255,255,.16),transparent 56%),
        linear-gradient(180deg,rgba(28,37,52,.96),rgba(8,12,19,.99))!important;
    border:1px solid rgba(255,255,255,.14)!important;
    box-shadow:0 0 12px rgba(255,255,255,.05),inset 0 1px 0 rgba(255,255,255,.08)!important;
    display:none!important;
}

.tmpro-left .tmpro-driver-brand img{
    width:21px!important;
    height:21px!important;
}

.tmpro-left .tmpro-driver-name{
    font-size:1.05rem!important;
    line-height:1!important;
    display:block!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    width:100%!important;
    min-width:0!important;
    font-weight:1000!important;
    color:#fff!important;
    letter-spacing:.005em!important;
    text-shadow:0 2px 8px rgba(0,0,0,.30)!important;
    font-family:Saira Condensed,Arial,sans-serif!important;
}

.tmpro-left .tmpro-driver-team{
    font-size:.55rem!important;
    line-height:.95!important;
    margin-top:2px!important;
    display:none!important;
    max-width:260px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}

.tmpro-left .tmpro-cat-badge{
    justify-self:center!important;
    min-width:44px!important;
    height:21px!important;
    padding:0 6px!important;
    font-size:.60rem!important;
    max-width:50px!important;
    overflow:hidden!important;
    grid-column:2!important;
    grid-row:1!important;
    align-self:center!important;
    border-radius:5px!important;
    line-height:1!important;
    font-weight:1000!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}

.tmpro-left .tmpro-driver-gap{
    justify-self:end!important;
    font-size:1.04rem!important;
    color:#fff!important;
    font-weight:1000!important;
    font-variant-numeric:tabular-nums!important;
    white-space:nowrap!important;
    max-width:84px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    grid-column:4!important;
    grid-row:1!important;
    align-self:center!important;
    width:84px!important;
    min-width:84px!important;
    text-align:right!important;
    line-height:1!important;
    font-family:Saira Condensed,Arial,sans-serif!important;
    letter-spacing:.01em!important;
    text-shadow:0 2px 8px rgba(0,0,0,.32)!important;
}

.tmpro-left-sectors{
    display:grid!important;
    grid-template-columns:repeat(3, minmax(0,1fr))!important;
    gap:2px!important;
    margin-top:4px!important;
    grid-column:1 / -1!important;
    max-width:100%!important;
    width:100%!important;
}

.tmpro-left-sectors span{
    min-width:0!important;
    height:14px!important;
    display:grid!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:6px!important;
    border-radius:3px!important;
    background:linear-gradient(180deg,rgba(20,28,41,.98),rgba(7,11,18,.99))!important;
    color:#f8fafc!important;
    font-size:.46rem!important;
    font-weight:1000!important;
    overflow:hidden!important;
    white-space:nowrap;
    padding:0 9px!important;
    border:1px solid rgba(255,255,255,.14)!important;
    letter-spacing:.01em!important;
    text-overflow:ellipsis!important;
    font-variant-numeric:tabular-nums!important;
    grid-template-columns:26px minmax(0,1fr)!important;
}

.tmpro-left-sectors span b{
    font-size:.42rem!important;
    font-family:Saira Condensed,Arial,sans-serif!important;
    opacity:1!important;
    flex:none!important;
    width:26px!important;
    line-height:1!important;
    text-align:left!important;
}

.tmpro-left-sectors .s1{
    box-shadow:inset 4px 0 0 #1e88ff,0 0 12px rgba(30,136,255,.12)!important;
}

.tmpro-left-sectors .s2{
    box-shadow:inset 4px 0 0 #22c55e,0 0 12px rgba(34,197,94,.12)!important;
}

.tmpro-left-sectors .s3{
    box-shadow:inset 4px 0 0 #ff2f1f,0 0 12px rgba(255,47,31,.12)!important;
}

.tmpro-left-legend{
    flex:0 0 auto!important;
    display:flex!important;
    justify-content:center!important;
    gap:8px!important;
    padding-top:10px!important;
    margin-top:10px!important;
    border-top:1px solid rgba(255,255,255,.07)!important;
    color:#aab4c3!important;
    font-size:.62rem!important;
    font-weight:900!important;
    text-transform:uppercase!important;
}

.tmpro-left-legend span{
    display:inline-flex!important;
    align-items:center!important;
    gap:4px!important;
    min-width:0!important;
}

.tmpro-left-legend i{
    width:9px!important;
    height:9px!important;
    border-radius:2px!important;
    display:inline-block!important;
}

.tmpro-left-legend .p1{
    background:#ff3b30;
}

.tmpro-left-legend .p2{
    background:#2f9bff;
}

.tmpro-left-legend .gt3{
    background:#22c55e;
}

.tmpro-left-legend .gte{
    background:#f5bc30;
}

.tmpro-left-table-head span:nth-child(2){
    display:none!important;
    text-align:center!important;
}

.tmpro-left .tmpro-left-car{
    display:none!important;
}

.tmpro-left .tmpro-driver-text{
    min-width:0!important;
    overflow:hidden!important;
    justify-content:center!important;
    gap:0!important;
    min-height:22px;
    grid-column:2!important;
    grid-row:1!important;
    display:block!important;
    max-width:100%!important;
    width:100%!important;
}

.tmpro-left-sectors .s1 b{
    color:#69baff!important;
}

.tmpro-left-sectors .s2 b{
    color:#62f29a!important;
}

.tmpro-left-sectors .s3 b{
    color:#ff7d72!important;
}

.tmpro-left .tmpro-driver-row.tmpro-pro-row.is-selected .tmpro-left-sectors span{
    background:linear-gradient(180deg,rgba(13,17,25,.96),rgba(5,8,13,.98))!important;
    border-color:rgba(255,255,255,.18)!important;
}

.tmpro-left-sectors span.is-empty{
    opacity:.38!important;
}

.tmpro-left .tmpro-driver-row.tmpro-pro-row, .tmpro-left-table-head{
    grid-template-columns:34px minmax(0,1fr) 42px 78px!important;
}

.tmpro-left-sectors span em{
    min-width:0!important;
    flex:1 1 auto!important;
    text-align:right!important;
    font-style:normal!important;
    overflow:visible!important;
    text-overflow:unset!important;
    white-space:nowrap!important;
    display:block!important;
    color:#ffffff!important;
    font-size:.82rem!important;
}

.tmpro-left-sectors span.is-empty em{
    color:#98a3b7!important;
}

.tmpro-row-sectors{
    grid-column:2 / 5!important;
    grid-row:2!important;
    width:100%!important;
    display:grid!important;
    grid-template-columns:repeat(3, minmax(0,1fr))!important;
    gap:8px!important;
    margin-top:0!important;
}

.tmpro-row-sectors span{
    height:30px!important;
    padding:0 10px!important;
    display:grid!important;
    grid-template-columns:24px minmax(0,1fr)!important;
    align-items:center!important;
    gap:8px!important;
    border-radius:8px!important;
    font-size:.84rem!important;
}

.tmpro-row-sectors span b{
    font-size:.74rem!important;
    width:24px!important;
}

.tmpro-row-sectors span em{
    font-size:.84rem!important;
    overflow:visible!important;
    text-overflow:unset!important;
    white-space:nowrap!important;
    text-align:right!important;
}

.tmpro-left-sectors, .tmpro-row-sectors{
    display:none!important;
}

.tmpro-left, .tmpro-left.tmpro-panel{
    width:300px!important;
    min-width:300px!important;
    max-width:300px!important;
    padding:13px!important;
}

.tmpro-left .tmpro-driver-row{
    align-items:center!important;
}

.tmpro-left-table-head span{
    display:block!important;
    min-width:0!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    color:#7f8ba0!important;
    font-size:.66rem!important;
    line-height:1!important;
    font-weight:1000!important;
    letter-spacing:.10em!important;
    text-transform:uppercase!important;
}

.tmpro-left-table-head span:nth-child(1){
    text-align:center!important;
}

.tmpro-left-table-head span:nth-child(3){
    text-align:left!important;
}

.tmpro-left-table-head span:nth-child(4){
    text-align:right!important;
}

.tmpro-left, .tmpro-left.tmpro-panel, .tmpro-left-pro{
    width:400px!important;
    min-width:400px!important;
    max-width:400px!important;
    padding:14px!important;
    overflow:hidden!important;
}

.tmpro-left-list, .tmpro-driver-list{
    gap:8px!important;
    padding-right:7px!important;
}

.tmpro-left .tmpro-driver-team, .tmpro-left-sectors, .tmpro-row-sectors, .tmpro-left .tmpro-left-car{
    display:none!important;
}

.tmpro-left .tmpro-driver-gap:empty::after{
    content:'—';
    color:#7f8ba0;
}

.tmpro-left-driver-main, .tmpro-left .tmpro-driver-main{
    grid-column:3!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    display:block!important;
    overflow:hidden!important;
}

.tmpro-track-legend, .tmpro-zoom-controls{
    z-index:60;
}

.tmpro-zoom-controls button, .tmpro-zoom-controls span{
    position:relative!important;
    z-index:100001!important;
}

.tmpro-left-header-pro{
    height:78px;
    padding:16px 18px 12px;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    border-bottom:1px solid rgba(255,255,255,.055);
    flex:0 0 auto;
}

.tmpro-left-title{
    margin:0;
    color:#fff;
    font-size:1.45rem;
    line-height:1;
    font-weight:1000;
    font-family:Saira Condensed,Arial,sans-serif;
    letter-spacing:.01em;
}

.tmpro-left-sub{
    margin-top:5px;
    color:#9ca7b8;
    font-size:.74rem;
    font-weight:800;
    letter-spacing:.035em;
}

.tmpro-left-status{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    position:relative;
    padding-right:17px;
}

.tmpro-left-status strong{
    color:#fff;
    font-size:1.45rem;
    line-height:1;
    font-weight:1000;
    font-family:Saira Condensed,Arial,sans-serif;
}

.tmpro-left-status span{
    position:absolute;
    top:6px;
    right:0;
    width:9px;
    height:9px;
    border-radius:999px;
    background:#31ff61;
    box-shadow:0 0 12px #31ff61;
}

.tmpro-left-status small{
    margin-top:4px;
    color:#d5dde8;
    font-size:.62rem;
    line-height:1;
    font-weight:1000;
    letter-spacing:.075em;
}

.tmpro-left-head-row{
    height:32px;
    padding:0 14px;
    display:grid;
    grid-template-columns:34px 54px minmax(0,1fr) 78px;
    align-items:center;
    gap:0;
    color:#9aa6b8;
    font-size:.62rem;
    font-weight:1000;
    letter-spacing:.095em;
    text-transform:uppercase;
    border-bottom:1px solid rgba(255,255,255,.055);
    background:rgba(0,0,0,.12);
    flex:0 0 auto;
}

.tmpro-driver-list-pro{
    display:flex;
    flex-direction:column;
    gap:0!important;
    flex:1 1 auto;
    min-height:0;
    height:auto;
    padding:0!important;
    overflow-y:auto;
    overflow-x:hidden;
    background:#08111d;
    scrollbar-width:thin;
    scrollbar-color:#ff6600 rgba(255,255,255,.04);
}

.tmpro-driver-list-pro::-webkit-scrollbar{
    width:8px;
}

.tmpro-driver-list-pro::-webkit-scrollbar-track{
    background:rgba(255,255,255,.035);
}

.tmpro-driver-list-pro::-webkit-scrollbar-thumb{
    background:linear-gradient(180deg,#ff8a1f,#ff6600);
    border-radius:999px;
    border:2px solid #08111d;
}

.tmpro-driver-list-pro .tmpro-driver-row, .tmpro-left-pro .tmpro-driver-row{
    position:relative;
    min-height:47px!important;
    height:47px;
    padding:0 14px!important;
    border:none!important;
    border-radius:0!important;
    background:transparent!important;
    display:grid!important;
    grid-template-columns:34px 54px minmax(0,1fr) 78px!important;
    align-items:center!important;
    gap:0!important;
    border-bottom:1px solid rgba(255,255,255,.04)!important;
    box-shadow:none!important;
    flex:0 0 auto;
}

.tmpro-left-pro .tmpro-driver-row:hover{
    background:rgba(255,255,255,.035)!important;
}

.tmpro-left-pro .tmpro-driver-row.is-selected{
    background:linear-gradient(90deg,rgba(255,102,0,.22),rgba(255,102,0,.08) 46%,rgba(255,102,0,.00) 82%)!important;
}

.tmpro-left-pro .tmpro-driver-row.is-selected::after{
    content:"";
    position:absolute;
    top:0;
    right:0;
    width:4px;
    height:100%;
    background:#ff6600;
    box-shadow:0 0 14px rgba(255,102,0,.72);
}

.tmpro-left-pro .tmpro-driver-pos, .tmpro-left-pro .tmpro-driver-row>b:first-child{
    width:32px;
    height:32px;
    border-radius:8px;
    display:flex!important;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-family:Saira Condensed,Arial,sans-serif;
    font-size:1rem!important;
    line-height:1;
    font-weight:1000!important;
    background:transparent;
}

.tmpro-left-pro .tmpro-driver-row.is-selected .tmpro-driver-pos, .tmpro-left-pro .tmpro-driver-row.is-selected>b:first-child{
    background:linear-gradient(180deg,#ff8f1f,#bd4d00);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 0 18px rgba(255,102,0,.28);
}

.tmpro-left-pro .tmpro-cat-badge{
    width:40px!important;
    min-width:40px!important;
    height:20px!important;
    padding:0 5px!important;
    border-radius:5px!important;
    font-size:.62rem!important;
    font-weight:1000!important;
    line-height:1!important;
    justify-self:start;
}

.tmpro-left-pro .tmpro-driver-main{
    display:grid!important;
    align-items:center!important;
    gap:9px!important;
    min-width:0!important;
    overflow:hidden!important;
    grid-template-columns:25px minmax(0,1fr)!important;
}

.tmpro-left-pro .tmpro-driver-brand{
    width:25px!important;
    height:25px!important;
    flex:0 0 25px!important;
    border-radius:999px!important;
    background:radial-gradient(circle at 35% 25%,rgba(255,255,255,.18),transparent 58%),
        linear-gradient(180deg,#182235,#090f18)!important;
    border:1px solid rgba(255,255,255,.18)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.09),
        0 5px 12px rgba(0,0,0,.34)!important;
    display:inline-flex!important;
    overflow:hidden!important;
}

.tmpro-left-pro .tmpro-driver-brand img{
    width:18px!important;
    height:18px!important;
    object-fit:contain!important;
    display:block!important;
    opacity:1!important;
    visibility:visible!important;
    filter:drop-shadow(0 0 5px rgba(255,255,255,.18))!important;
}

.tmpro-left-pro .tmpro-driver-name{
    color:#fff!important;
    font-size:.78rem!important;
    font-weight:950!important;
    letter-spacing:-.01em;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}

.tmpro-left-pro .tmpro-driver-team{
    display:none!important;
}

.tmpro-left-pro .tmpro-driver-gap{
    justify-self:end!important;
    text-align:right!important;
    color:#fff!important;
    font-size:.88rem!important;
    font-weight:950!important;
    font-variant-numeric:tabular-nums!important;
    font-family:Saira Condensed,Arial,sans-serif!important;
    white-space:nowrap!important;
}

.tmpro-left-bottom-legend{
    height:42px;
    flex:0 0 42px;
    display:flex;
    align-items:center;
    gap:6px!important;
    padding:0 10px!important;
    border-top:1px solid rgba(255,255,255,.055);
    background:#060d17;
    color:#c7d0dd;
    font-size:.52rem!important;
    line-height:1;
    font-weight:950;
    text-transform:uppercase;
    overflow:hidden;
}

.tmpro-left-bottom-legend span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    white-space:nowrap;
}

.tmpro-left-bottom-legend .hy, .tmpro-left-bottom-legend .lmp2, .tmpro-left-bottom-legend .gt3, .tmpro-left-bottom-legend .gte{
    min-width:27px;
    height:16px;
    padding:0 5px;
    border-radius:4px;
    color:#fff;
    font-size:.52rem;
    font-weight:1000;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.18);
}

.tmpro-left-bottom-legend .hy{
    background:linear-gradient(180deg,#ff3b30,#8f0909);
}

.tmpro-left-bottom-legend .lmp2{
    background:linear-gradient(180deg,#2f9bff,#0b5fbd);
}

.tmpro-left-bottom-legend .gt3{
    background:linear-gradient(180deg,#22c55e,#0b7a32);
}

.tmpro-left-bottom-legend .gte{
    background:linear-gradient(180deg,#ff9a2f,#c45100);
}

.tmpro-left-bottom-legend .lmp3{
    min-width:27px;
    height:16px;
    padding:0 5px;
    border-radius:4px;
    color:#fff;
    font-size:.52rem;
    font-weight:1000;
    background:linear-gradient(180deg,#a855f7,#6b21a8);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.18);
}

.tmpro-left-pro .tmpro-driver-row{
    grid-template-columns:34px 54px minmax(0,1fr) 78px!important;
}

.tmpro-left-pro .tmpro-driver-brand.is-text img{
    display:none!important;
}

.tmpro-left-pro .tmpro-driver-brand.is-text span{
    display:block!important;
    color:#dbe5f4!important;
    font-family:Saira Condensed,Arial,sans-serif!important;
    font-size:.48rem!important;
    font-weight:1000!important;
    line-height:1!important;
    letter-spacing:.02em!important;
}

.tmpro-left-pro .tmpro-driver-brand.is-empty{
    display:inline-flex!important;
}

.tmpro-left-pro .tmpro-driver-brand.is-empty::before{
    content:"";
    width:14px;
    height:14px;
    border-radius:50%;
    background:rgba(255,255,255,.12);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.12);
}

.tmpro-left-pro .tmpro-cat-lmp3, .tmpro-cat-lmp3{
    background:linear-gradient(180deg,#a855f7,#6b21a8)!important;
    border-color:rgba(168,85,247,.58)!important;
}

.tmpro-zone-label{
    position:absolute;
    z-index:90;
    transform:translate(-50%,-50%);
    width:24px;
    height:24px;
    border-radius:999px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(8,12,18,.96);
    border:1px solid #ffd400;
    color:#ffd400;
    font-size:10px;
    font-family:Arial,sans-serif;
    font-weight:900;
    box-shadow:0 0 12px rgba(255,212,0,.45),
        inset 0 0 12px rgba(255,212,0,.08);
    pointer-events:none;
}

.tmpro-zone-label.is-active{
    background:#ffd400;
    color:#120d00;
    box-shadow:0 0 22px rgba(255,212,0,.85),
        0 0 42px rgba(255,212,0,.45);
}

.tmpro-zone-line{
    position:absolute;
    z-index:80;
    height:2px;
    transform-origin:center;
    background:linear-gradient(90deg,
        rgba(255,212,0,0),
        rgba(255,212,0,.98),
        rgba(255,212,0,0)
    );
    box-shadow:0 0 12px rgba(255,212,0,.8),
        0 0 24px rgba(255,212,0,.4);
    pointer-events:none;
}

.tmpro-sz-gate{
    stroke:#ffd400;
    stroke-width:3;
    stroke-linecap:round;
    filter:drop-shadow(0 0 8px rgba(255,212,0,.95));
}

.tmpro-sz-label-bg{
    fill:rgba(7,10,16,.96);
    stroke:#ffd400;
    stroke-width:2;
    filter:drop-shadow(0 0 9px rgba(255,212,0,.75));
}

.tmpro-sz-label-txt{
    fill:#ffd400;
    font-family:Saira Condensed,Arial,sans-serif;
    font-size:10px;
    font-weight:1000;
    text-anchor:middle;
    dominant-baseline:central;
}

.tmpro-sz-active .tmpro-sz-label-bg{
    fill:#ffd400;
    stroke:#111827;
}

.tmpro-sz-active .tmpro-sz-label-txt{
    fill:#111827;
}

.tmpro-sz-range-glow{
    fill:none;
    stroke:#ffd400;
    stroke-width:34;
    stroke-linecap:round;
    stroke-linejoin:round;
    opacity:.22;
    filter:drop-shadow(0 0 18px rgba(255,212,0,.95));
}

.tmpro-sz-range-main{
    fill:none;
    stroke:#ffd400;
    stroke-width:15;
    stroke-linecap:round;
    stroke-linejoin:round;
    opacity:.92;
    filter:drop-shadow(0 0 10px rgba(255,212,0,.90));
}

.tmpro-sz-range-stripe{
    fill:none;
    stroke:#111827;
    stroke-width:4;
    stroke-linecap:round;
    stroke-linejoin:round;
    stroke-dasharray:18 12;
    opacity:.78;
}

.tmpro-sz-board-bg{
    fill:#ffd400;
    stroke:#111827;
    stroke-width:2;
    filter:drop-shadow(0 0 13px rgba(255,212,0,.85));
}

.tmpro-sz-board-txt{
    fill:#111827;
    font-family:Saira Condensed,Arial,sans-serif;
    font-size:12px;
    font-weight:1000;
    text-anchor:middle;
    dominant-baseline:central;
}

.tmpro-map-card.is-slow-zone-active .tmpro-live-pill{
    border-color:rgba(255,212,0,.42);
    background:rgba(255,212,0,.11);
    color:#ffe986;
}

.tmpro-map-card.is-slow-zone-active .tmpro-live-pill span{
    background:#ffd400;
    box-shadow:0 0 12px #ffd400;
}

.tmpro-map-stage{
    position:relative!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    overflow:hidden!important;
    border-radius:4px!important;
    z-index:1!important;
}

.tmpro-right, .tmpro-right.tmpro-panel{
    position:relative!important;
    overflow:hidden!important;
    display:flex!important;
    flex-direction:column!important;
}

.tmpro-right #tmproEventFilters, .tmpro-right .tmpro-event-filters{
    order:0!important;
    flex:0 0 auto!important;
}

.tmpro-right #tmproRaceEvents, .tmpro-right .tmpro-race-events{
    order:1!important;
    flex:1 1 auto!important;
    min-height:0!important;
    max-height:none!important;
}

.tmpro-right #tmproEventsMore, .tmpro-right .tmpro-events-more{
    order:2!important;
    flex:0 0 auto!important;
}

@keyframes tmproEventIn{
from{opacity:0;transform:translateY(-6px)}
    to{opacity:1;transform:translateY(0)}
}

@keyframes tmproPitIconPulse{
0%,100%{transform:scale(1)}
    50%{transform:scale(1.045)}
}

@keyframes tmproYellowBlink{
0%,100%{opacity:1;filter:brightness(1)}
    50%{opacity:.22;filter:brightness(1.9)}
}

@keyframes tmproSlowPulse{
0%,100%{opacity:1;transform:scale(1)}50%{opacity:.45;transform:scale(.78)}
}

@media(max-width:1500px) and (min-width:1281px){
    .tmpro-layout{
        grid-template-columns:340px minmax(0,1fr) 400px;
        gap:14px!important;
    }
    .tmpro-event-filters{
        gap:6px;
    }
    .tmpro-event-filters button{
        font-size:.64rem;
    }
    .tmpro-left .tmpro-driver-row.tmpro-pro-row, .tmpro-left-table-head{
        grid-template-columns:32px minmax(0,1fr) 40px 74px!important;
        gap:5px!important;
    }
    .tmpro-left-tab strong{
        font-size:.80rem;
    }
    .tmpro-left .tmpro-driver-name{
        font-size:.98rem!important;
    }
    .tmpro-left .tmpro-driver-gap{
        font-size:.98rem!important;
        max-width:78px!important;
        width:78px!important;
        min-width:78px!important;
    }
    .tmpro-left .tmpro-driver-team{
        font-size:.54rem!important;
    }
    .tmpro-left-sectors span{
        font-size:.72rem!important;
        height:25px!important;
        padding:0 7px!important;
    }
    .tmpro-left .tmpro-driver-name, .tmpro-left .tmpro-driver-team{
        max-width:205px!important;
    }
    .tmpro-left, .tmpro-left.tmpro-panel{
        width:290px!important;
        min-width:290px!important;
        max-width:290px!important;
    }
    .tmpro-left-table-head, .tmpro-left .tmpro-driver-row.tmpro-pro-row{
        grid-template-columns:38px 50px minmax(0,1fr) 78px!important;
        gap:8px!important;
    }
    .tmpro-left, .tmpro-left.tmpro-panel, .tmpro-left-pro{
        width:380px!important;
        min-width:380px!important;
        max-width:380px!important;
    }
    .tmpro-left .tmpro-cat-badge{
        min-width:44px!important;
        max-width:52px!important;
        font-size:.58rem!important;
    }
    .tmpro-left-driver-main{
        grid-template-columns:28px minmax(0,1fr)!important;
        gap:8px!important;
    }
    .tmpro-left .tmpro-driver-brand{
        width:28px!important;
        min-width:28px!important;
        max-width:28px!important;
        height:28px!important;
    }
    .tmpro-left .tmpro-driver-brand img{
        width:20px!important;
        height:20px!important;
    }
    .tmpro-left-head-row, .tmpro-left-pro .tmpro-driver-row{
        grid-template-columns:32px 50px minmax(0,1fr) 72px!important;
        padding-left:12px!important;
        padding-right:12px!important;
    }
}

@media(max-width:1280px){
    .tmpro-layout{
        --tmpro-card-height:auto;
        grid-template-columns:1fr!important;
    }
    .tmpro-left{
        height:520px;
        min-height:520px;
        max-height:520px;
    }
    .tmpro-panel, .tmpro-map-card{
        height:auto;
        min-height:auto;
        max-height:none;
    }
    .tmpro-map-card{
        display:flex;
        flex-direction:column;
    }
    #tmproCanvas{
        height:680px;
        min-height:680px;
    }
    .tmpro-map-footer{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .tmpro-right.tmpro-panel{
        height:auto;
        min-height:auto;
        max-height:none;
        overflow:visible;
    }
    .tmpro-right #tmproRaceEvents.tmpro-race-events{
        max-height:420px;
        flex:none;
    }
    .tmpro-track-legend{
        top:72px!important;
        left:18px!important;
    }
    .tmpro-zoom-controls{
        top:72px!important;
        right:18px!important;
    }
    .tmpro-zoom-follow{
        display:none;
    }
    .tmpro-race-stats-bar{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .tmpro-race-weather{
        grid-column:1 / -1;
    }
    .tmpro-race-stats-bar.tmpro-race-stats-bar-bottom{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .tmpro-race-stats-bar-bottom .tmpro-race-weather{
        grid-column:1 / -1;
    }
    .tmpro-left, .tmpro-left.tmpro-panel{
        width:100%!important;
        min-width:0!important;
        max-width:none!important;
    }
    .tmpro-left, .tmpro-left.tmpro-panel, .tmpro-left-pro{
        width:100%!important;
        min-width:0!important;
        max-width:none!important;
    }
}

@media(max-width:1500px){
    .tmpro-report-flags{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .tmpro-report-driver{
        grid-template-columns:18px 20px minmax(0,1fr) auto;
    }
    .tmpro-report-driver small{
        display:none;
    }
}

@media(max-width:1600px){
    .tmpro-race-stats-bar{
        grid-template-columns:repeat(4,minmax(0,1fr));
    }
    .tmpro-race-weather{
        grid-column:1 / -1;
        min-height:66px;
    }
    .tmpro-race-stats-bar.tmpro-race-stats-bar-bottom{
        grid-template-columns:repeat(4,minmax(0,1fr));
    }
    .tmpro-race-stats-bar-bottom .tmpro-race-weather{
        grid-column:1 / -1;
    }
}

@media(max-width:720px){
    .tmpro-race-stats-bar{
        grid-template-columns:1fr;
    }
    .tmpro-race-weather{
        grid-template-columns:1fr;
    }
    .tmpro-race-weather-item:not(:last-child)::after{
        right:13px;
        left:13px;
        top:auto;
        bottom:0;
        width:auto;
        height:1px;
    }
    .tmpro-race-stats-bar.tmpro-race-stats-bar-bottom{
        grid-template-columns:1fr;
    }
    .tmpro-race-stats-bar-bottom .tmpro-race-weather{
        grid-template-columns:1fr;
    }
}

@media(max-width:1360px) and (min-width:1281px){
    .tmpro-layout{
        grid-template-columns:360px minmax(0,1fr) 380px!important;
    }
    .tmpro-left-sectors span{
        grid-template-columns:16px minmax(0,1fr)!important;
        gap:4px!important;
        font-size:.68rem!important;
    }
    .tmpro-left-sectors span b{
        width:16px!important;
        font-size:.62rem!important;
    }
    .tmpro-left, .tmpro-left.tmpro-panel, .tmpro-left-pro{
        width:360px!important;
        min-width:360px!important;
        max-width:360px!important;
    }
    .tmpro-left-table-head, .tmpro-left .tmpro-driver-row.tmpro-pro-row{
        grid-template-columns:36px 48px minmax(0,1fr) 74px!important;
        gap:7px!important;
        padding-left:10px!important;
        padding-right:10px!important;
    }
    .tmpro-left .tmpro-driver-name{
        font-size:.92rem!important;
    }
    .tmpro-left .tmpro-driver-gap{
        width:74px!important;
        min-width:74px!important;
        max-width:74px!important;
        font-size:.92rem!important;
    }
}


/* ===================================================== */
/* ================= SLOW ZONE FINAL =================== */
/* ===================================================== */
.tmpro-map-card{
    position:relative;
}
.tmpro-slowzone-panel{
    position:absolute;
    top:106px;
    right:22px;
    z-index:50;
    width:430px;
    max-width:calc(100% - 44px);
    display:flex;
    flex-direction:column;
    gap:12px;
    padding:14px 16px;
    border-radius:18px;
    background:radial-gradient(circle at top left,rgba(255,212,0,.18),transparent 45%),linear-gradient(180deg,rgba(10,14,22,.96),rgba(4,7,12,.98));
    border:1px solid rgba(255,212,0,.22);
    box-shadow:0 18px 42px rgba(0,0,0,.42),0 0 24px rgba(255,212,0,.08);
    backdrop-filter:blur(14px);
}
.tmpro-slowzone-head{
    display:flex;
    align-items:center;
    gap:10px;
}
.tmpro-slowzone-dot{
    width:11px;
    height:11px;
    border-radius:999px;
    background:#ffd400;
    box-shadow:0 0 10px #ffd400,0 0 18px #ffd400;
}
.tmpro-slowzone-head strong{
    color:#ffd400;
    font-family:Saira Condensed,Arial,sans-serif;
    font-size:1rem;
    font-weight:1000;
    letter-spacing:.08em;
}
#tmproSlowZoneStatus{
    margin-left:auto;
    color:#cfd6e3;
    font-size:.70rem;
    font-weight:800;
    white-space:nowrap;
}
.tmpro-slowzone-body{
    display:flex;
    align-items:flex-end;
    gap:10px;
    flex-wrap:nowrap;
}
.tmpro-slowzone-body label{
    display:flex;
    flex-direction:column;
    gap:6px;
    min-width:62px;
}
.tmpro-slowzone-body label span{
    color:#ffd400;
    font-size:.62rem;
    font-weight:1000;
    text-transform:uppercase;
}
.tmpro-slowzone-body select{
    width:62px;
    height:42px;
    border:none;
    border-radius:12px;
    background:#101827;
    color:#fff;
    font-weight:1000;
    text-align:center;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 6px 14px rgba(0,0,0,.22);
}
.tmpro-slowzone-btn{
    width:42px;
    height:42px;
    flex:0 0 42px;
    border:none;
    border-radius:12px;
    background:#111c2e;
    color:#fff;
    font-size:1.2rem;
    font-weight:1000;
    cursor:pointer;
}
.tmpro-slowzone-activate{
    height:42px;
    padding:0 18px;
    border:none;
    border-radius:12px;
    background:linear-gradient(180deg,#ffd400,#d8a800);
    color:#170f00;
    font-family:Saira Condensed,Arial,sans-serif;
    font-weight:1000;
    cursor:pointer;
    box-shadow:0 0 18px rgba(255,212,0,.18);
}
.tmpro-slowzone-clear{
    height:42px;
    padding:0 16px;
    border:none;
    border-radius:12px;
    background:linear-gradient(180deg,#7a1111,#4d0808);
    color:#fff;
    font-family:Saira Condensed,Arial,sans-serif;
    font-weight:1000;
    cursor:pointer;
}
.tmpro-slowzone-btn:hover,.tmpro-slowzone-activate:hover,.tmpro-slowzone-clear:hover{
    transform:translateY(-1px);
    filter:brightness(1.08);
}
@media(max-width:1280px){
    .tmpro-slowzone-panel{
        top:78px;
        left:20px;
        right:20px;
        width:auto;
        max-width:none;
    }
    .tmpro-slowzone-body{
        flex-wrap:wrap;
    }
}

/* =========================================================
   SIMRACE HUB - TRACKMAP PRO EMERGENCY FIX
   Correctif intégré au module modules/trackmap/static/trackmap/css/trackmap_pro.css
   Objectif : remettre la carte, les contrôles, la légende et Slow Zone
   en place sans toucher au JS ni au HTML.
   ========================================================= */

/* --- Layout général --- */
.tmpro-shell{
    width:100%;
    max-width:100%;
    padding:20px 26px 44px !important;
    overflow-x:hidden;
}

.tmpro-layout{
    --tmpro-card-height:900px;
    display:grid !important;
    grid-template-columns:380px minmax(720px,1fr) 420px !important;
    gap:18px !important;
    align-items:start !important;
}

/* --- Cartes latérales --- */
.tmpro-panel,
.tmpro-left,
.tmpro-right{
    height:var(--tmpro-card-height) !important;
    min-height:var(--tmpro-card-height) !important;
    max-height:var(--tmpro-card-height) !important;
    overflow:hidden !important;
}

.tmpro-left,
.tmpro-right{
    display:flex !important;
    flex-direction:column !important;
}

/* --- Carte centrale : remet un vrai repère propre --- */
.tmpro-map-card{
    position:relative !important;
    height:var(--tmpro-card-height) !important;
    min-height:var(--tmpro-card-height) !important;
    max-height:var(--tmpro-card-height) !important;
    padding:14px !important;
    overflow:hidden !important;

    display:flex !important;
    flex-direction:column !important;

    background:linear-gradient(180deg,rgba(8,14,24,.98),rgba(3,7,13,.99)) !important;
    border:1px solid rgba(255,255,255,.08) !important;
    border-radius:8px !important;
}

/* Header de la carte */
.tmpro-map-head{
    position:relative !important;
    z-index:80 !important;

    display:flex !important;
    align-items:flex-start !important;
    justify-content:space-between !important;
    gap:16px !important;

    min-height:64px !important;
    margin:0 0 10px !important;
    padding:0 !important;
}

.tmpro-map-head > div:first-child{
    max-width:42% !important;
    min-width:0 !important;
}

.tmpro-map-head strong{
    display:block !important;
    max-width:100% !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;

    margin-top:4px !important;
    color:#fff !important;
    font-size:1.05rem !important;
    line-height:1.05 !important;
}

/* Status RaceLive : plus de chevauchement avec zoom */
.tmpro-live-pill{
    position:absolute !important;
    top:0 !important;
    right:0 !important;
    z-index:90 !important;

    max-width:255px !important;
    height:38px !important;
    padding:0 14px !important;

    display:flex !important;
    align-items:center !important;
    gap:8px !important;

    overflow:hidden !important;
    white-space:nowrap !important;
    text-overflow:ellipsis !important;
}

/* Zoom : sous le status, à droite */
.tmpro-zoom-controls{
    position:absolute !important;
    top:58px !important;
    right:14px !important;
    z-index:75 !important;

    display:flex !important;
    align-items:center !important;
    gap:8px !important;

    height:48px !important;
    padding:8px !important;

    background:rgba(3,7,13,.72) !important;
    border:1px solid rgba(255,255,255,.09) !important;
    border-radius:14px !important;
    backdrop-filter:blur(12px) !important;
}

.tmpro-zoom-btn,
.tmpro-zoom-reset,
.tmpro-zoom-follow{
    height:34px !important;
    min-height:34px !important;
    border-radius:10px !important;
    flex:0 0 auto !important;
}

.tmpro-zoom-btn{
    width:36px !important;
}

.tmpro-zoom-reset{
    min-width:58px !important;
    padding:0 10px !important;
}

.tmpro-zoom-follow{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-width:118px !important;
    padding:0 12px !important;
}

/* Canvas : reprend toute la zone sans être mangé par les overlays */
#tmproCanvas{
    position:relative !important;
    z-index:1 !important;

    display:block !important;
    width:100% !important;
    height:100% !important;
    flex:1 1 auto !important;
    min-height:0 !important;

    margin:0 !important;

    background:
        linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px),
        radial-gradient(circle at 50% 30%,rgba(17,30,48,.72),rgba(3,7,13,.99) 72%) !important;
    background-size:64px 64px,64px 64px,auto !important;

    border:1px solid rgba(255,255,255,.06) !important;
    border-radius:4px !important;
}

/* SVG slow zones au-dessus du canvas mais derrière UI */
#tmproSlowZoneSvg{
    position:absolute !important;
    inset:92px 14px 112px 14px !important;
    z-index:8 !important;
    width:auto !important;
    height:auto !important;
    pointer-events:none !important;
    overflow:visible !important;
}

/* Légende secteurs : ne chevauche plus le titre */
.tmpro-track-legend{
    position:absolute !important;
    top:86px !important;
    left:28px !important;
    z-index:60 !important;

    width:95px !important;
    padding:13px 14px !important;

    display:flex !important;
    flex-direction:column !important;
    gap:9px !important;

    pointer-events:none !important;
}

/* Slow Zone : placée sous le zoom, à droite, sans casser la carte */
.tmpro-slowzone-panel{
    position:absolute !important;
    top:126px !important;
    right:22px !important;
    left:auto !important;
    z-index:70 !important;

    width:430px !important;
    max-width:calc(100% - 250px) !important;

    display:flex !important;
    flex-direction:column !important;
    gap:12px !important;

    padding:14px 16px !important;
    border-radius:18px !important;

    background:
        radial-gradient(circle at top left,rgba(255,212,0,.20),transparent 45%),
        linear-gradient(180deg,rgba(10,14,22,.94),rgba(4,7,12,.98)) !important;

    border:1px solid rgba(255,212,0,.28) !important;
    box-shadow:0 18px 42px rgba(0,0,0,.42),0 0 24px rgba(255,212,0,.08) !important;
    backdrop-filter:blur(14px) !important;
}

.tmpro-slowzone-head{
    display:flex !important;
    align-items:center !important;
    gap:10px !important;
    width:100% !important;
}

.tmpro-slowzone-dot{
    width:11px !important;
    height:11px !important;
    flex:0 0 11px !important;
    border-radius:999px !important;
    background:#ffd400 !important;
    box-shadow:0 0 10px #ffd400,0 0 18px #ffd400 !important;
}

.tmpro-slowzone-head strong{
    color:#ffd400 !important;
    font-family:Saira Condensed,Arial,sans-serif !important;
    font-size:1rem !important;
    font-weight:1000 !important;
    letter-spacing:.08em !important;
}

#tmproSlowZoneStatus{
    margin-left:auto !important;
    color:#cfd6e3 !important;
    font-size:.70rem !important;
    font-weight:900 !important;
    white-space:nowrap !important;
}

.tmpro-slowzone-body{
    display:flex !important;
    align-items:flex-end !important;
    gap:10px !important;
    flex-wrap:nowrap !important;
}

.tmpro-slowzone-body label{
    display:flex !important;
    flex-direction:column !important;
    gap:6px !important;
    min-width:62px !important;
    flex:0 0 62px !important;
}

.tmpro-slowzone-body label span{
    color:#ffd400 !important;
    font-size:.62rem !important;
    font-weight:1000 !important;
    text-transform:uppercase !important;
    letter-spacing:.04em !important;
}

.tmpro-slowzone-body select{
    width:62px !important;
    height:42px !important;

    border:1px solid rgba(255,255,255,.08) !important;
    border-radius:12px !important;

    background:#101827 !important;
    color:#fff !important;

    font-weight:1000 !important;
    text-align:center !important;
}

.tmpro-slowzone-btn{
    width:42px !important;
    height:42px !important;
    flex:0 0 42px !important;

    border:0 !important;
    border-radius:12px !important;

    background:#111c2e !important;
    color:#fff !important;

    font-size:1.2rem !important;
    font-weight:1000 !important;
    cursor:pointer !important;
}

.tmpro-slowzone-activate,
.tmpro-slowzone-clear{
    height:42px !important;
    flex:0 0 auto !important;

    border:0 !important;
    border-radius:12px !important;

    font-family:Saira Condensed,Arial,sans-serif !important;
    font-weight:1000 !important;
    cursor:pointer !important;
}

.tmpro-slowzone-activate{
    padding:0 18px !important;
    background:linear-gradient(180deg,#ffd400,#d8a800) !important;
    color:#170f00 !important;
}

.tmpro-slowzone-clear{
    padding:0 16px !important;
    background:linear-gradient(180deg,#7a1111,#4d0808) !important;
    color:#fff !important;
}

/* Footer stats : fixé en bas de la carte */
.tmpro-map-footer{
    position:relative !important;
    z-index:30 !important;
    flex:0 0 auto !important;
    margin-top:14px !important;
}

/* Race events : ne touche pas à la map */
.tmpro-right #tmproRaceEvents.tmpro-race-events{
    flex:1 1 auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow-y:auto !important;
}

/* Responsive */
@media(max-width:1500px) and (min-width:1281px){
    .tmpro-layout{
        grid-template-columns:360px minmax(640px,1fr) 420px !important;
        gap:16px !important;
    }

    .tmpro-slowzone-panel{
        width:410px !important;
        max-width:calc(100% - 230px) !important;
    }
}

@media(max-width:1280px){
    .tmpro-layout{
        --tmpro-card-height:auto;
        grid-template-columns:1fr !important;
    }

    .tmpro-panel,
    .tmpro-left,
    .tmpro-right,
    .tmpro-map-card{
        height:auto !important;
        min-height:auto !important;
        max-height:none !important;
    }

    .tmpro-map-card{
        min-height:760px !important;
    }

    #tmproCanvas{
        min-height:620px !important;
    }

    .tmpro-live-pill,
    .tmpro-zoom-controls,
    .tmpro-track-legend,
    .tmpro-slowzone-panel{
        position:relative !important;
        top:auto !important;
        right:auto !important;
        left:auto !important;
        max-width:100% !important;
        width:100% !important;
        margin:10px 0 !important;
    }

    .tmpro-slowzone-body{
        flex-wrap:wrap !important;
    }

    #tmproSlowZoneSvg{
        inset:230px 14px 112px 14px !important;
    }
}


/* FIX NOM PILOTE COLONNE GAUCHE */
.tmpro-left-head-row{
    grid-template-columns:44px 64px minmax(0,1fr) 92px !important;
}

.tmpro-driver-list-pro .tmpro-driver-row,
.tmpro-driver-list .tmpro-driver-row{
    display:grid !important;
    grid-template-columns:44px 64px minmax(0,1fr) 92px !important;
    align-items:center !important;
    gap:8px !important;
}

.tmpro-driver-row > *{
    min-width:0 !important;
}

.tmpro-driver-main,
.tmpro-driver-text{
    min-width:0 !important;
    width:100% !important;
    overflow:visible !important;
}

.tmpro-driver-name{
    display:block !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;

    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;

    font-size:.88rem !important;
    font-weight:1000 !important;
    color:#fff !important;
}

.tmpro-driver-brand{
    width:26px !important;
    height:26px !important;
    flex:0 0 26px !important;
}

.tmpro-driver-gap,
.tmpro-driver-best,
.tmpro-driver-lap,
.tmpro-driver-time{
    text-align:right !important;
    white-space:nowrap !important;
}



/* ========================================================= */
/* =============== SIMRACE HUB TRACKMAP FINAL FIX ========== */
/* ========================================================= */
/* Correction finale colonne gauche + Slow Zone + overlays.
   A garder en bas du fichier pour écraser proprement les anciennes règles. */

/* ---------- LEFT LIVE TIMING : noms pilotes visibles ---------- */

.tmpro-left,
.tmpro-left.tmpro-panel,
.tmpro-left-pro{
    min-width:0 !important;
    overflow:hidden !important;
}

/* En-tête colonne gauche aligné avec les lignes */
.tmpro-left-head-row,
.tmpro-left-table-head{
    display:grid !important;
    grid-template-columns:42px 52px minmax(0,1fr) 86px !important;
    align-items:center !important;
    gap:10px !important;
    padding:0 12px 8px !important;
    min-width:0 !important;
}

/* Lignes pilotes, structure stable : POS / CAT / PILOTE / BEST */
.tmpro-driver-list-pro .tmpro-driver-row,
.tmpro-driver-list .tmpro-driver-row,
.tmpro-left .tmpro-driver-row,
.tmpro-left .tmpro-driver-row.tmpro-pro-row{
    display:grid !important;
    grid-template-columns:42px 52px minmax(0,1fr) 86px !important;
    grid-template-rows:auto !important;
    align-items:center !important;
    gap:10px !important;
    width:100% !important;
    min-width:0 !important;
    min-height:56px !important;
    max-height:none !important;
    padding:9px 12px !important;
    overflow:hidden !important;
}

/* Sécurité : aucun enfant ne doit forcer la largeur */
.tmpro-left .tmpro-driver-row *,
.tmpro-driver-list-pro .tmpro-driver-row *,
.tmpro-driver-list .tmpro-driver-row *{
    min-width:0 !important;
}

/* POS */
.tmpro-left-pos,
.tmpro-driver-row > b:first-child{
    grid-column:1 !important;
    justify-self:center !important;
    width:42px !important;
    max-width:42px !important;
    min-width:0 !important;
    text-align:center !important;
    white-space:nowrap !important;
}

/* CAT */
.tmpro-left .tmpro-cat-badge,
.tmpro-driver-row .tmpro-cat-badge{
    grid-column:2 !important;
    justify-self:center !important;
    width:auto !important;
    min-width:42px !important;
    max-width:50px !important;
    height:21px !important;
    padding:0 6px !important;
    font-size:.60rem !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
}

/* Zone PILOTE */
.tmpro-left-driver-main,
.tmpro-driver-main{
    grid-column:3 !important;
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    overflow:hidden !important;
}

/* En colonne gauche on masque le logo si la largeur est limite,
   sinon le nom pilote se fait écraser. */
.tmpro-left .tmpro-driver-brand,
.tmpro-left-driver-main .tmpro-driver-brand{
    display:none !important;
}

/* Texte pilote */
.tmpro-left .tmpro-driver-text,
.tmpro-driver-text{
    display:flex !important;
    flex-direction:column !important;
    min-width:0 !important;
    width:100% !important;
    max-width:100% !important;
    overflow:hidden !important;
}

/* NOM PILOTE : règle la plus importante */
.tmpro-left .tmpro-driver-name,
.tmpro-driver-list-pro .tmpro-driver-name,
.tmpro-driver-list .tmpro-driver-name,
.tmpro-driver-name{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
    color:#fff !important;
    font-family:Saira Condensed,Arial,sans-serif !important;
    font-size:1.02rem !important;
    line-height:1.05 !important;
    font-weight:1000 !important;
    letter-spacing:.01em !important;
}

/* Team masquée dans la ligne pour ne pas compresser le nom */
.tmpro-left .tmpro-driver-team,
.tmpro-driver-list-pro .tmpro-driver-team{
    display:none !important;
}

/* BEST / LAST */
.tmpro-left .tmpro-driver-gap,
.tmpro-driver-gap,
.tmpro-driver-best,
.tmpro-driver-time,
.tmpro-driver-lap{
    grid-column:4 !important;
    justify-self:end !important;
    width:86px !important;
    min-width:86px !important;
    max-width:86px !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
    text-align:right !important;
    color:#fff !important;
    font-family:Saira Condensed,Arial,sans-serif !important;
    font-size:1rem !important;
    font-weight:1000 !important;
}

/* Secteurs dans la colonne gauche : ne doivent pas remplacer la ligne pilote */
.tmpro-left-sectors,
.tmpro-row-sectors{
    grid-column:1 / -1 !important;
    width:100% !important;
    max-width:100% !important;
    margin-top:5px !important;
}

/* Variante si le JS sort une ligne sans tmpro-pro-row */
.tmpro-driver-row:not(.tmpro-pro-row){
    grid-template-columns:42px minmax(0,1fr) 86px !important;
}

.tmpro-driver-row:not(.tmpro-pro-row) .tmpro-driver-main{
    grid-column:2 !important;
}

.tmpro-driver-row:not(.tmpro-pro-row) .tmpro-driver-gap{
    grid-column:3 !important;
}

/* ---------- SLOW ZONE : bloc stable visible ---------- */

.tmpro-map-card{
    position:relative !important;
    overflow:hidden !important;
}

.tmpro-slowzone-panel{
    position:absolute !important;
    top:106px !important;
    right:22px !important;
    z-index:260 !important;
    width:430px !important;
    max-width:calc(100% - 44px) !important;
    display:flex !important;
    flex-direction:column !important;
    gap:12px !important;
    padding:14px 16px !important;
    border-radius:18px !important;
    background:
        radial-gradient(circle at top left,rgba(255,212,0,.18),transparent 45%),
        linear-gradient(180deg,rgba(10,14,22,.96),rgba(4,7,12,.98)) !important;
    border:1px solid rgba(255,212,0,.24) !important;
    box-shadow:
        0 18px 42px rgba(0,0,0,.42),
        0 0 24px rgba(255,212,0,.08) !important;
    backdrop-filter:blur(14px);
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
}

.tmpro-slowzone-head{
    display:flex !important;
    align-items:center !important;
    gap:10px !important;
    min-width:0 !important;
}

.tmpro-slowzone-dot{
    width:11px !important;
    height:11px !important;
    border-radius:999px !important;
    background:#ffd400 !important;
    box-shadow:0 0 10px #ffd400,0 0 18px #ffd400 !important;
    flex:0 0 11px !important;
}

.tmpro-slowzone-head strong{
    color:#ffd400 !important;
    font-family:Saira Condensed,Arial,sans-serif !important;
    font-size:1rem !important;
    font-weight:1000 !important;
    letter-spacing:.08em !important;
    white-space:nowrap !important;
}

#tmproSlowZoneStatus{
    margin-left:auto !important;
    color:#cfd6e3 !important;
    font-size:.70rem !important;
    font-weight:800 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
}

.tmpro-slowzone-body{
    display:flex !important;
    align-items:flex-end !important;
    gap:10px !important;
    flex-wrap:nowrap !important;
    min-width:0 !important;
}

.tmpro-slowzone-body label{
    display:flex !important;
    flex-direction:column !important;
    gap:6px !important;
    min-width:62px !important;
}

.tmpro-slowzone-body label span{
    color:#ffd400 !important;
    font-size:.62rem !important;
    font-weight:1000 !important;
    text-transform:uppercase !important;
}

.tmpro-slowzone-body select{
    width:62px !important;
    height:42px !important;
    border:none !important;
    border-radius:12px !important;
    background:#101827 !important;
    color:#fff !important;
    font-weight:1000 !important;
    text-align:center !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.05),
        0 6px 14px rgba(0,0,0,.22) !important;
}

.tmpro-slowzone-btn,
.tmpro-slowzone-activate,
.tmpro-slowzone-clear{
    height:42px !important;
    border:none !important;
    border-radius:12px !important;
    cursor:pointer !important;
    font-family:Saira Condensed,Arial,sans-serif !important;
    font-weight:1000 !important;
}

.tmpro-slowzone-btn{
    width:42px !important;
    flex:0 0 42px !important;
    background:#111c2e !important;
    color:#fff !important;
    font-size:1.2rem !important;
}

.tmpro-slowzone-activate{
    padding:0 18px !important;
    background:linear-gradient(180deg,#ffd400,#d8a800) !important;
    color:#170f00 !important;
    box-shadow:0 0 18px rgba(255,212,0,.18) !important;
}

.tmpro-slowzone-clear{
    padding:0 16px !important;
    background:linear-gradient(180deg,#7a1111,#4d0808) !important;
    color:#fff !important;
}

/* SVG slow zone au-dessus du canvas, sans bloquer les clics */
#tmproSlowZoneSvg{
    position:absolute !important;
    inset:14px !important;
    width:calc(100% - 28px) !important;
    height:calc(100% - 28px) !important;
    z-index:180 !important;
    pointer-events:none !important;
    overflow:visible !important;
}

/* Animation jaune façon secteur */
.tmpro-slowzone-blink,
.tmpro-slowzone-active,
.tmpro-slowzone-path{
    animation:tmproSlowZoneBlink .72s infinite !important;
}

@keyframes tmproSlowZoneBlink{
    0%,100%{
        opacity:1;
        filter:drop-shadow(0 0 7px #ffd400) drop-shadow(0 0 18px #ffd400);
    }
    50%{
        opacity:.28;
        filter:drop-shadow(0 0 3px #ffd400) drop-shadow(0 0 8px #ffd400);
    }
}

/* ---------- OVERLAYS haut carte ---------- */

.tmpro-track-legend{
    top:95px !important;
    left:18px !important;
    z-index:220 !important;
}

.tmpro-zoom-controls{
    top:95px !important;
    right:18px !important;
    z-index:230 !important;
}

/* ---------- Responsive ---------- */

@media(max-width:1500px) and (min-width:1281px){
    .tmpro-layout{
        grid-template-columns:350px minmax(0,1fr) 400px !important;
        gap:14px !important;
    }

    .tmpro-left-head-row,
    .tmpro-left-table-head,
    .tmpro-left .tmpro-driver-row.tmpro-pro-row,
    .tmpro-driver-list-pro .tmpro-driver-row{
        grid-template-columns:38px 48px minmax(0,1fr) 78px !important;
        gap:8px !important;
    }

    .tmpro-left .tmpro-driver-gap,
    .tmpro-driver-gap{
        width:78px !important;
        min-width:78px !important;
        max-width:78px !important;
    }

    .tmpro-left .tmpro-driver-name{
        font-size:.96rem !important;
    }
}

@media(max-width:1280px){
    .tmpro-slowzone-panel{
        top:74px !important;
        left:20px !important;
        right:20px !important;
        width:auto !important;
        max-width:none !important;
    }

    .tmpro-slowzone-body{
        flex-wrap:wrap !important;
    }

    .tmpro-left .tmpro-driver-row.tmpro-pro-row,
    .tmpro-driver-list-pro .tmpro-driver-row{
        grid-template-columns:42px 52px minmax(0,1fr) 86px !important;
    }
}



/* ========================================================= */
/* ===== LEFT PANEL COMPACT + LOGOS MARQUES VOITURES ======= */
/* ========================================================= */
/* À garder tout en bas : restaure les logos constructeur
   sans écraser le nom pilote. */

/* Colonne gauche plus compacte */
.tmpro-left-head-row,
.tmpro-left-table-head{
    grid-template-columns:34px 46px minmax(0,1fr) 74px !important;
    gap:7px !important;
    padding:0 10px 7px !important;
    font-size:.68rem !important;
}

.tmpro-driver-list{
    gap:6px !important;
    padding-right:6px !important;
}

.tmpro-driver-list-pro .tmpro-driver-row,
.tmpro-driver-list .tmpro-driver-row,
.tmpro-left .tmpro-driver-row,
.tmpro-left .tmpro-driver-row.tmpro-pro-row{
    grid-template-columns:34px 46px minmax(0,1fr) 74px !important;
    gap:7px !important;
    min-height:48px !important;
    padding:7px 9px !important;
    border-radius:9px !important;
}

/* POS compacte */
.tmpro-left-pos,
.tmpro-driver-row > b:first-child{
    width:34px !important;
    max-width:34px !important;
    font-size:.98rem !important;
}

/* Badge catégorie compact */
.tmpro-left .tmpro-cat-badge,
.tmpro-driver-row .tmpro-cat-badge{
    min-width:38px !important;
    max-width:44px !important;
    height:19px !important;
    padding:0 5px !important;
    font-size:.56rem !important;
    border-radius:3px !important;
}

/* Zone pilote avec logo + nom */
.tmpro-left-driver-main,
.tmpro-driver-main{
    gap:6px !important;
    overflow:hidden !important;
}

/* Logo constructeur restauré */
.tmpro-left .tmpro-driver-brand,
.tmpro-left-driver-main .tmpro-driver-brand,
.tmpro-driver-main .tmpro-driver-brand{
    display:inline-flex !important;
    width:23px !important;
    height:23px !important;
    flex:0 0 23px !important;
    border-radius:7px !important;
    padding:3px !important;
}

.tmpro-left .tmpro-driver-brand img,
.tmpro-driver-main .tmpro-driver-brand img{
    width:17px !important;
    height:17px !important;
    object-fit:contain !important;
}

.tmpro-left .tmpro-driver-brand span,
.tmpro-driver-main .tmpro-driver-brand span{
    font-size:.46rem !important;
}

/* Nom pilote lisible mais compact */
.tmpro-left .tmpro-driver-name,
.tmpro-driver-list-pro .tmpro-driver-name,
.tmpro-driver-list .tmpro-driver-name,
.tmpro-driver-name{
    font-size:.92rem !important;
    line-height:1 !important;
    letter-spacing:.005em !important;
}

/* Team masquée pour rester compact */
.tmpro-left .tmpro-driver-team,
.tmpro-driver-list-pro .tmpro-driver-team{
    display:none !important;
}

/* Temps compact */
.tmpro-left .tmpro-driver-gap,
.tmpro-driver-gap,
.tmpro-driver-best,
.tmpro-driver-time,
.tmpro-driver-lap{
    width:74px !important;
    min-width:74px !important;
    max-width:74px !important;
    font-size:.92rem !important;
}

/* Si ligne sans catégorie séparée */
.tmpro-driver-row:not(.tmpro-pro-row){
    grid-template-columns:34px minmax(0,1fr) 74px !important;
}

.tmpro-driver-row:not(.tmpro-pro-row) .tmpro-driver-main{
    grid-column:2 !important;
}

.tmpro-driver-row:not(.tmpro-pro-row) .tmpro-driver-gap{
    grid-column:3 !important;
}

/* Légende bas colonne gauche plus compacte */
.tmpro-left-bottom-legend{
    gap:5px 7px !important;
    padding:9px 10px !important;
    font-size:.62rem !important;
}

.tmpro-left-bottom-legend span:nth-child(odd){
    min-width:34px !important;
    height:17px !important;
    padding:0 5px !important;
    font-size:.56rem !important;
}

/* Responsive 1500px */
@media(max-width:1500px) and (min-width:1281px){
    .tmpro-layout{
        grid-template-columns:342px minmax(0,1fr) 400px !important;
        gap:14px !important;
    }

    .tmpro-left-head-row,
    .tmpro-left-table-head,
    .tmpro-left .tmpro-driver-row.tmpro-pro-row,
    .tmpro-driver-list-pro .tmpro-driver-row{
        grid-template-columns:32px 44px minmax(0,1fr) 70px !important;
        gap:6px !important;
    }

    .tmpro-left .tmpro-driver-brand,
    .tmpro-left-driver-main .tmpro-driver-brand,
    .tmpro-driver-main .tmpro-driver-brand{
        width:21px !important;
        height:21px !important;
        flex-basis:21px !important;
    }

    .tmpro-left .tmpro-driver-brand img,
    .tmpro-driver-main .tmpro-driver-brand img{
        width:15px !important;
        height:15px !important;
    }

    .tmpro-left .tmpro-driver-name{
        font-size:.86rem !important;
    }

    .tmpro-left .tmpro-driver-gap,
    .tmpro-driver-gap{
        width:70px !important;
        min-width:70px !important;
        max-width:70px !important;
        font-size:.86rem !important;
    }
}



/* TrackMap Race Control announcements overlay
   Style esport bas-gauche : persistant, n'impacte pas RaceLive ni les endpoints bridge. */
.tmpro-trackmap-announcement{
    position:absolute!important;
    left:18px!important;
    bottom:92px!important;
    top:auto!important;
    width:min(520px,calc(100% - 36px))!important;
    min-height:132px!important;
    transform:translateX(-18px) translateY(14px) scale(.985)!important;
    z-index:260!important;
    display:grid!important;
    grid-template-columns:24px minmax(0,1fr) 138px!important;
    gap:0!important;
    align-items:stretch!important;
    padding:0!important;
    border-radius:18px!important;
    pointer-events:none!important;
    opacity:0!important;
    overflow:hidden!important;
    background:
        radial-gradient(circle at 8% 10%,rgba(255,255,255,.13),transparent 26%),
        linear-gradient(100deg,rgba(6,22,17,.96),rgba(3,8,13,.98) 58%,rgba(8,12,18,.98))!important;
    border:1px solid rgba(35,255,135,.34)!important;
    box-shadow:0 20px 48px rgba(0,0,0,.62), inset 0 0 28px rgba(35,255,135,.08), inset 0 1px 0 rgba(255,255,255,.08)!important;
    transition:opacity .22s ease, transform .22s ease!important;
}

.tmpro-trackmap-announcement.is-visible{
    opacity:1!important;
    transform:translateX(0) translateY(0) scale(1)!important;
    animation:tmproAnnouncementPop .26s ease-out both!important;
}

.tmpro-trackmap-announcement-glow{
    position:absolute!important;
    inset:-36% -18%!important;
    opacity:.22!important;
    background:radial-gradient(circle at 15% 0,rgba(35,255,135,.9),transparent 38%)!important;
    filter:blur(12px)!important;
}

.tmpro-trackmap-announcement-stripes{
    position:relative!important;
    z-index:2!important;
    min-height:100%!important;
    background:
        repeating-linear-gradient(135deg,
            rgba(35,255,135,.95) 0 12px,
            rgba(35,255,135,.95) 12px 20px,
            rgba(0,0,0,.55) 20px 32px,
            rgba(0,0,0,.55) 32px 40px)!important;
    box-shadow:inset -1px 0 0 rgba(255,255,255,.14)!important;
}

.tmpro-trackmap-announcement-main{
    position:relative!important;
    z-index:3!important;
    min-width:0!important;
    padding:18px 22px 18px!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
}

.tmpro-trackmap-announcement-kicker{
    color:#36ff8f!important;
    font-size:.78rem!important;
    line-height:1!important;
    font-weight:1000!important;
    letter-spacing:.18em!important;
    text-transform:uppercase!important;
    margin-bottom:9px!important;
    text-shadow:0 0 14px rgba(35,255,135,.36)!important;
}

.tmpro-trackmap-announcement-title{
    color:#2cff7a!important;
    font-family:Impact, Haettenschweiler, 'Arial Narrow Bold', system-ui, sans-serif!important;
    font-size:3.45rem!important;
    line-height:.9!important;
    font-weight:1000!important;
    text-transform:uppercase!important;
    letter-spacing:.045em!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    text-shadow:0 0 18px rgba(35,255,135,.22)!important;
}

.tmpro-trackmap-announcement-text{
    margin-top:12px!important;
    color:#f2f4f1!important;
    font-size:.92rem!important;
    line-height:1.18!important;
    font-weight:1000!important;
    letter-spacing:.055em!important;
    text-transform:uppercase!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    opacity:.94!important;
}

.tmpro-trackmap-announcement-status{
    position:relative!important;
    z-index:3!important;
    border-left:1px solid rgba(255,255,255,.10)!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    padding:12px 14px!important;
    background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.01))!important;
}

.tmpro-trackmap-announcement-status-value{
    color:#2cff7a!important;
    font-family:Impact, Haettenschweiler, 'Arial Narrow Bold', system-ui, sans-serif!important;
    font-size:2.35rem!important;
    line-height:1!important;
    font-weight:1000!important;
    letter-spacing:.06em!important;
    text-transform:uppercase!important;
    white-space:nowrap!important;
}

.tmpro-trackmap-announcement-status-label{
    margin-top:10px!important;
    color:#e7e7e7!important;
    font-size:.76rem!important;
    font-weight:1000!important;
    letter-spacing:.16em!important;
    text-transform:uppercase!important;
    opacity:.78!important;
}

.tmpro-trackmap-announcement-timer{
    position:absolute!important;
    left:24px!important;
    right:0!important;
    bottom:0!important;
    height:3px!important;
    transform-origin:left center!important;
    background:linear-gradient(90deg,#24ff82,#9cffbe)!important;
    opacity:.65!important;
}

.tmpro-trackmap-announcement.is-yellow,
.tmpro-trackmap-announcement.is-vsc,
.tmpro-trackmap-announcement.is-safety{
    border-color:rgba(255,213,40,.38)!important;
    background:
        radial-gradient(circle at 8% 10%,rgba(255,213,40,.15),transparent 26%),
        linear-gradient(100deg,rgba(31,28,5,.96),rgba(8,8,8,.98) 58%,rgba(16,14,6,.98))!important;
    box-shadow:0 20px 48px rgba(0,0,0,.62), inset 0 0 30px rgba(255,213,40,.08), inset 0 1px 0 rgba(255,255,255,.08)!important;
}
.tmpro-trackmap-announcement.is-yellow .tmpro-trackmap-announcement-glow,
.tmpro-trackmap-announcement.is-vsc .tmpro-trackmap-announcement-glow,
.tmpro-trackmap-announcement.is-safety .tmpro-trackmap-announcement-glow{
    background:radial-gradient(circle at 15% 0,rgba(255,213,40,.9),transparent 38%)!important;
}
.tmpro-trackmap-announcement.is-yellow .tmpro-trackmap-announcement-stripes,
.tmpro-trackmap-announcement.is-vsc .tmpro-trackmap-announcement-stripes,
.tmpro-trackmap-announcement.is-safety .tmpro-trackmap-announcement-stripes{
    background:repeating-linear-gradient(135deg,rgba(209,177,0,.98) 0 12px,rgba(209,177,0,.98) 12px 20px,rgba(0,0,0,.62) 20px 32px,rgba(0,0,0,.62) 32px 40px)!important;
}
.tmpro-trackmap-announcement.is-yellow .tmpro-trackmap-announcement-kicker,
.tmpro-trackmap-announcement.is-yellow .tmpro-trackmap-announcement-title,
.tmpro-trackmap-announcement.is-yellow .tmpro-trackmap-announcement-status-value,
.tmpro-trackmap-announcement.is-vsc .tmpro-trackmap-announcement-kicker,
.tmpro-trackmap-announcement.is-vsc .tmpro-trackmap-announcement-title,
.tmpro-trackmap-announcement.is-vsc .tmpro-trackmap-announcement-status-value,
.tmpro-trackmap-announcement.is-safety .tmpro-trackmap-announcement-kicker,
.tmpro-trackmap-announcement.is-safety .tmpro-trackmap-announcement-title,
.tmpro-trackmap-announcement.is-safety .tmpro-trackmap-announcement-status-value{
    color:#d1b100!important;
    text-shadow:0 0 18px rgba(255,213,40,.20)!important;
}
.tmpro-trackmap-announcement.is-yellow .tmpro-trackmap-announcement-timer,
.tmpro-trackmap-announcement.is-vsc .tmpro-trackmap-announcement-timer,
.tmpro-trackmap-announcement.is-safety .tmpro-trackmap-announcement-timer{
    background:linear-gradient(90deg,#d1b100,#ffdc37)!important;
}

.tmpro-trackmap-announcement.is-penalty,
.tmpro-trackmap-announcement.is-warning{
    border-color:rgba(255,91,54,.38)!important;
}
.tmpro-trackmap-announcement.is-penalty .tmpro-trackmap-announcement-stripes,
.tmpro-trackmap-announcement.is-warning .tmpro-trackmap-announcement-stripes{
    background:repeating-linear-gradient(135deg,rgba(255,91,54,.95) 0 12px,rgba(255,91,54,.95) 12px 20px,rgba(0,0,0,.62) 20px 32px,rgba(0,0,0,.62) 32px 40px)!important;
}
.tmpro-trackmap-announcement.is-penalty .tmpro-trackmap-announcement-kicker,
.tmpro-trackmap-announcement.is-penalty .tmpro-trackmap-announcement-title,
.tmpro-trackmap-announcement.is-penalty .tmpro-trackmap-announcement-status-value,
.tmpro-trackmap-announcement.is-warning .tmpro-trackmap-announcement-kicker,
.tmpro-trackmap-announcement.is-warning .tmpro-trackmap-announcement-title,
.tmpro-trackmap-announcement.is-warning .tmpro-trackmap-announcement-status-value{
    color:#ff5b36!important;
}

@keyframes tmproAnnouncementTimer{
    from{transform:scaleX(1)}
    to{transform:scaleX(1)}
}

@keyframes tmproAnnouncementPop{
    0%{filter:brightness(1.32)}
    100%{filter:brightness(1)}
}

@media (max-width:900px){
    .tmpro-trackmap-announcement{
        left:12px!important;
        bottom:78px!important;
        width:calc(100% - 24px)!important;
        min-height:104px!important;
        grid-template-columns:18px minmax(0,1fr) 102px!important;
        border-radius:15px!important;
    }
    .tmpro-trackmap-announcement-main{
        padding:13px 14px!important;
    }
    .tmpro-trackmap-announcement-kicker{
        font-size:.62rem!important;
        margin-bottom:7px!important;
    }
    .tmpro-trackmap-announcement-title{
        font-size:2.25rem!important;
    }
    .tmpro-trackmap-announcement-text{
        font-size:.7rem!important;
        margin-top:8px!important;
    }
    .tmpro-trackmap-announcement-status-value{
        font-size:1.55rem!important;
    }
    .tmpro-trackmap-announcement-status-label{
        font-size:.58rem!important;
    }
}


/* === FIX FINAL ANNONCES RACE CONTROL TRACKMAP ===
   Le bloc reste en bas-gauche, typé broadcast esport, avec une vraie graisse.
   Le countdown VSC est dans le statut, jamais dans le texte principal. */
.tmpro-map-card{position:relative!important;}
.tmpro-trackmap-announcement,
.tmpro-trackmap-announcement *{box-sizing:border-box!important;}
.tmpro-trackmap-announcement{
    position:absolute!important;
    left:18px!important;
    bottom:86px!important;
    top:auto!important;
    width:min(520px,calc(100% - 36px))!important;
    min-height:132px!important;
    display:grid!important;
    grid-template-columns:24px minmax(0,1fr) 138px!important;
    opacity:0!important;
    transform:translateY(12px) scale(.985)!important;
    z-index:999!important;
    overflow:hidden!important;
    pointer-events:none!important;
    border-radius:18px!important;
    border:1px solid rgba(35,255,135,.45)!important;
    background:linear-gradient(100deg,rgba(4,20,15,.98),rgba(2,7,11,.99) 58%,rgba(7,11,16,.99))!important;
    box-shadow:0 20px 48px rgba(0,0,0,.70), inset 0 0 28px rgba(35,255,135,.10)!important;
    color:#fff!important;
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
.tmpro-trackmap-announcement.is-visible{opacity:1!important;transform:translateY(0) scale(1)!important;}
.tmpro-trackmap-announcement-glow{position:absolute!important;inset:-35% -15%!important;opacity:.26!important;background:radial-gradient(circle at 16% 0,rgba(35,255,135,.95),transparent 38%)!important;filter:blur(13px)!important;}
.tmpro-trackmap-announcement-stripes{position:relative!important;z-index:2!important;background:repeating-linear-gradient(135deg,rgba(35,255,135,.98) 0 12px,rgba(35,255,135,.98) 12px 20px,rgba(0,0,0,.62) 20px 32px,rgba(0,0,0,.62) 32px 40px)!important;}
.tmpro-trackmap-announcement-main{position:relative!important;z-index:3!important;min-width:0!important;padding:18px 22px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;}
.tmpro-trackmap-announcement-kicker{display:block!important;margin:0 0 9px!important;color:#35ff8b!important;font-size:.78rem!important;line-height:1!important;font-weight:1000!important;letter-spacing:.18em!important;text-transform:uppercase!important;text-shadow:0 0 14px rgba(35,255,135,.34)!important;}
.tmpro-trackmap-announcement-title{display:block!important;margin:0!important;color:#2cff7a!important;font-family:Impact,Haettenschweiler,"Arial Black","Arial Narrow Bold",system-ui,sans-serif!important;font-size:3.6rem!important;line-height:.88!important;font-weight:1000!important;letter-spacing:.045em!important;text-transform:uppercase!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-shadow:0 0 18px rgba(35,255,135,.24)!important;}
.tmpro-trackmap-announcement-text{display:block!important;margin:12px 0 0!important;color:#f4f5f2!important;font-size:.94rem!important;line-height:1.15!important;font-weight:1000!important;letter-spacing:.055em!important;text-transform:uppercase!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;opacity:.96!important;}
.tmpro-trackmap-announcement-status{position:relative!important;z-index:3!important;border-left:1px solid rgba(255,255,255,.12)!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;padding:12px 14px!important;background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.01))!important;}
.tmpro-trackmap-announcement-status-value{display:block!important;color:#2cff7a!important;font-family:Impact,Haettenschweiler,"Arial Black","Arial Narrow Bold",system-ui,sans-serif!important;font-size:2.55rem!important;line-height:1!important;font-weight:1000!important;letter-spacing:.06em!important;text-transform:uppercase!important;white-space:nowrap!important;}
.tmpro-trackmap-announcement-status-label{display:block!important;margin-top:10px!important;color:#f1f1f1!important;font-size:.76rem!important;font-weight:1000!important;letter-spacing:.16em!important;text-transform:uppercase!important;opacity:.80!important;}
.tmpro-trackmap-announcement.is-countdown .tmpro-trackmap-announcement-status-value{font-size:4rem!important;animation:tmproAnnouncementCountdownPop .42s ease-out both!important;}
.tmpro-trackmap-announcement.is-yellow,
.tmpro-trackmap-announcement.is-vsc,
.tmpro-trackmap-announcement.is-safety,
.tmpro-trackmap-announcement.is-slowzone{border-color:rgba(255,213,40,.46)!important;background:linear-gradient(100deg,rgba(31,28,5,.98),rgba(7,7,8,.99) 58%,rgba(16,14,6,.99))!important;box-shadow:0 20px 48px rgba(0,0,0,.70), inset 0 0 30px rgba(255,213,40,.10)!important;}
.tmpro-trackmap-announcement.is-yellow .tmpro-trackmap-announcement-glow,
.tmpro-trackmap-announcement.is-vsc .tmpro-trackmap-announcement-glow,
.tmpro-trackmap-announcement.is-safety .tmpro-trackmap-announcement-glow,
.tmpro-trackmap-announcement.is-slowzone .tmpro-trackmap-announcement-glow{background:radial-gradient(circle at 16% 0,rgba(255,213,40,.95),transparent 38%)!important;}
.tmpro-trackmap-announcement.is-yellow .tmpro-trackmap-announcement-stripes,
.tmpro-trackmap-announcement.is-vsc .tmpro-trackmap-announcement-stripes,
.tmpro-trackmap-announcement.is-safety .tmpro-trackmap-announcement-stripes,
.tmpro-trackmap-announcement.is-slowzone .tmpro-trackmap-announcement-stripes{background:repeating-linear-gradient(135deg,rgba(209,177,0,.98) 0 12px,rgba(209,177,0,.98) 12px 20px,rgba(0,0,0,.64) 20px 32px,rgba(0,0,0,.64) 32px 40px)!important;}
.tmpro-trackmap-announcement.is-yellow .tmpro-trackmap-announcement-kicker,
.tmpro-trackmap-announcement.is-yellow .tmpro-trackmap-announcement-title,
.tmpro-trackmap-announcement.is-yellow .tmpro-trackmap-announcement-status-value,
.tmpro-trackmap-announcement.is-vsc .tmpro-trackmap-announcement-kicker,
.tmpro-trackmap-announcement.is-vsc .tmpro-trackmap-announcement-title,
.tmpro-trackmap-announcement.is-vsc .tmpro-trackmap-announcement-status-value,
.tmpro-trackmap-announcement.is-safety .tmpro-trackmap-announcement-kicker,
.tmpro-trackmap-announcement.is-safety .tmpro-trackmap-announcement-title,
.tmpro-trackmap-announcement.is-safety .tmpro-trackmap-announcement-status-value,
.tmpro-trackmap-announcement.is-slowzone .tmpro-trackmap-announcement-kicker,
.tmpro-trackmap-announcement.is-slowzone .tmpro-trackmap-announcement-title,
.tmpro-trackmap-announcement.is-slowzone .tmpro-trackmap-announcement-status-value{color:#d1b100!important;text-shadow:0 0 18px rgba(255,213,40,.22)!important;}
.tmpro-trackmap-announcement.is-penalty{border-color:rgba(255,59,48,.52)!important;background:linear-gradient(100deg,rgba(36,5,5,.98),rgba(8,6,7,.99) 58%,rgba(18,7,7,.99))!important;}
.tmpro-trackmap-announcement.is-penalty .tmpro-trackmap-announcement-stripes{background:repeating-linear-gradient(135deg,rgba(255,59,48,.98) 0 12px,rgba(255,59,48,.98) 12px 20px,rgba(0,0,0,.64) 20px 32px,rgba(0,0,0,.64) 32px 40px)!important;}
.tmpro-trackmap-announcement.is-penalty .tmpro-trackmap-announcement-kicker,
.tmpro-trackmap-announcement.is-penalty .tmpro-trackmap-announcement-title,
.tmpro-trackmap-announcement.is-penalty .tmpro-trackmap-announcement-status-value{color:#ff3b30!important;}
@keyframes tmproAnnouncementCountdownPop{0%{transform:scale(.72);filter:brightness(1.7)}100%{transform:scale(1);filter:brightness(1)}}


/* FIX TrackMap Race Control overlay
   Le vrai bloc est #tmproTrackMapAnnouncement.
   Il reste dans la zone canvas, plus petit, au-dessus du footer, sans chevaucher les stats. */
.tmpro-map-card{
    position:relative!important;
    overflow:hidden!important;
}

#tmproTrackMapAnnouncement.tmpro-trackmap-announcement{
    position:absolute!important;
    left:18px!important;
    bottom:126px!important;
    top:auto!important;

    width:min(430px,calc(100% - 36px))!important;
    min-height:104px!important;
    max-height:118px!important;

    display:grid!important;
    grid-template-columns:18px minmax(0,1fr) 104px!important;

    transform:translateY(10px) scale(.86)!important;
    transform-origin:bottom left!important;

    z-index:360!important;
    pointer-events:none!important;
    overflow:hidden!important;
}

#tmproTrackMapAnnouncement.tmpro-trackmap-announcement.is-visible{
    opacity:1!important;
    transform:translateY(0) scale(.86)!important;
}

#tmproTrackMapAnnouncement .tmpro-trackmap-announcement-main{
    padding:12px 16px!important;
}

#tmproTrackMapAnnouncement .tmpro-trackmap-announcement-kicker{
    font-size:.62rem!important;
    margin-bottom:6px!important;
    letter-spacing:.16em!important;
}

#tmproTrackMapAnnouncement .tmpro-trackmap-announcement-title{
    font-size:2.55rem!important;
    line-height:.92!important;
}

#tmproTrackMapAnnouncement .tmpro-trackmap-announcement-text{
    margin-top:8px!important;
    font-size:.74rem!important;
    line-height:1.05!important;
}

#tmproTrackMapAnnouncement .tmpro-trackmap-announcement-status{
    padding:10px 10px!important;
}

#tmproTrackMapAnnouncement .tmpro-trackmap-announcement-status-value{
    font-size:1.75rem!important;
}

#tmproTrackMapAnnouncement .tmpro-trackmap-announcement-status-label{
    margin-top:7px!important;
    font-size:.62rem!important;
}

#tmproTrackMapAnnouncement .tmpro-trackmap-announcement-timer{
    left:18px!important;
}



/* TrackMap footer session/time cards */
.tmpro-stat-icon.session{
    color:#ffd400;
    background:rgba(255,212,0,.10);
    box-shadow:0 0 18px rgba(255,212,0,.18);
}

.tmpro-stat-icon.time{
    color:#2f9bff;
    background:rgba(47,155,255,.10);
    box-shadow:0 0 18px rgba(47,155,255,.18);
}

/* Le bloc Slow Zone de test est retiré du TrackMap : la gestion reste côté Race Control. */
.tmpro-slowzone-panel{
    display:none!important;
}

/* Annonce Race Control dans le canvas, plus petite et visible au-dessus du tracé. */
#tmproTrackMapAnnouncement,
.tmpro-trackmap-announcement,
.trackmap-race-control-overlay{
    position:absolute!important;
    left:18px!important;
    bottom:112px!important;
    width:min(500px,42vw)!important;
    max-width:calc(100% - 36px)!important;
    transform:scale(.78)!important;
    transform-origin:bottom left!important;
    z-index:260!important;
    pointer-events:none!important;
}


/* FIX 2026-05 - Race events badges plus compacts (TOP10 / tags) */
.tmpro-event-tag{
    height:14px!important;
    min-height:14px!important;
    padding:0 5px!important;
    font-size:.50rem!important;
    line-height:14px!important;
    border-radius:4px!important;
}

.tmpro-event-mainline{
    align-items:center!important;
}

.tmpro-event-row.is-report .tmpro-event-tag,
.tmpro-event-tag.is-report{
    min-width:42px!important;
    max-width:58px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
}


/* HOTFIX Slow Zone Race Control -> TrackMap */
.tmpro-slowzone-panel{display:none!important;}
#tmproTrackMapAnnouncement.tmpro-trackmap-announcement{
    display:grid!important;
    opacity:0;
    visibility:hidden;
    position:absolute!important;
    left:18px!important;
    bottom:116px!important;
    top:auto!important;
    width:min(430px,calc(100% - 36px))!important;
    min-height:104px!important;
    max-height:118px!important;
    grid-template-columns:18px minmax(0,1fr) 104px!important;
    transform:translateY(8px) scale(.86)!important;
    transform-origin:bottom left!important;
    z-index:999!important;
    pointer-events:none!important;
}
#tmproTrackMapAnnouncement.tmpro-trackmap-announcement.is-visible{
    opacity:1!important;
    visibility:visible!important;
    transform:translateY(0) scale(.86)!important;
}
#tmproTrackMapAnnouncement .tmpro-trackmap-announcement-title{font-size:2.5rem!important;line-height:.92!important;}
#tmproTrackMapAnnouncement .tmpro-trackmap-announcement-text{font-size:.74rem!important;line-height:1.05!important;}


/* FIX Slow Zone 60 km/h + TOP10 compact */
.tmpro-driver-row.is-slowzone-speeding{
    border-color:rgba(255,47,31,.72)!important;
    background:radial-gradient(circle at 0 50%,rgba(255,47,31,.24),transparent 45%),rgba(255,47,31,.08)!important;
    box-shadow:inset 4px 0 0 #ff2f1f,0 0 24px rgba(255,47,31,.22)!important;
    animation:tmproSlowZoneSpeedPulse .75s ease-in-out infinite!important;
}
.tmpro-driver-row.is-slowzone-speeding .tmpro-driver-name{
    color:#fff!important;
    text-shadow:0 0 8px rgba(255,47,31,.95),0 0 18px rgba(255,47,31,.62)!important;
}
.tmpro-driver-row.is-slowzone-speeding .tmpro-left-pos{
    color:#ffb4ae!important;
}
@keyframes tmproSlowZoneSpeedPulse{
    0%,100%{filter:brightness(1);}
    50%{filter:brightness(1.38);}
}
.tmpro-report-row{
    min-height:auto!important;
    grid-template-columns:46px minmax(0,1fr) 14px!important;
    padding:9px 10px!important;
    gap:8px!important;
}
.tmpro-report-row .tmpro-event-type{
    width:40px!important;
    height:40px!important;
    min-height:40px!important;
    margin-top:6px!important;
    border-radius:12px!important;
}
.tmpro-report-row .tmpro-event-type svg,
.tmpro-report-row .tmpro-event-type .srh-event-icon{
    width:22px!important;
    height:22px!important;
}
.tmpro-report-row .tmpro-event-body{
    gap:5px!important;
}
.tmpro-report-row .tmpro-event-mainline{
    gap:6px!important;
    min-height:18px!important;
}
.tmpro-report-row .tmpro-event-tag.is-report{
    height:13px!important;
    min-height:13px!important;
    max-width:48px!important;
    padding:0 4px!important;
    font-size:.45rem!important;
    line-height:13px!important;
    letter-spacing:.025em!important;
}
.tmpro-report-title{
    padding:6px 8px!important;
    border-radius:8px!important;
    gap:6px!important;
}
.tmpro-report-title span{
    font-size:.84rem!important;
    line-height:1!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}
.tmpro-report-title strong{
    min-height:18px!important;
    padding:0 7px!important;
    font-size:.64rem!important;
    white-space:nowrap!important;
}
.tmpro-report-flags{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:4px!important;
}
.tmpro-report-flag{
    padding:5px 4px!important;
    border-radius:7px!important;
    font-size:.56rem!important;
}
.tmpro-report-flag b{
    font-size:.48rem!important;
}
.tmpro-report-groups{
    gap:5px!important;
    margin-top:5px!important;
}
.tmpro-report-category{
    padding:6px!important;
    border-radius:9px!important;
}
.tmpro-report-category-head{
    margin-bottom:5px!important;
}
.tmpro-report-category-head small{
    font-size:.52rem!important;
}
.tmpro-report-driver{
    grid-template-columns:18px 18px minmax(0,1fr) 32px 28px!important;
    gap:4px!important;
    min-height:18px!important;
    font-size:.61rem!important;
}
.tmpro-report-driver .tmpro-event-flag{
    width:18px!important;
    height:12px!important;
}
.tmpro-report-driver em,
.tmpro-report-driver small{
    font-size:.54rem!important;
}
.tmpro-report-driver small{
    min-width:26px!important;
    height:15px!important;
    padding:0 3px!important;
}


/* HOTFIX Investigation + Slow Zone public + triangles pilote */
.tmpro-event-tag.is-slowzone,
.tmpro-event-row.is-slowzone .tmpro-event-tag{background:#ffb000!important;color:#180b00!important;box-shadow:0 0 14px rgba(255,176,0,.25)!important;}
.tmpro-event-row.is-slowzone{border-color:rgba(255,176,0,.58)!important;background:radial-gradient(circle at 0 0,rgba(255,176,0,.20),transparent 45%),linear-gradient(180deg,rgba(34,22,5,.98),rgba(12,8,3,.98))!important;}
.tmpro-event-row.is-investigation{border-color:rgba(255,138,31,.76)!important;background:radial-gradient(circle at 0 0,rgba(255,138,31,.22),transparent 46%),linear-gradient(180deg,rgba(35,18,5,.99),rgba(12,7,3,.99))!important;box-shadow:inset 4px 0 0 #ff8a1f,0 0 24px rgba(255,138,31,.16)!important;}
.tmpro-event-tag.is-investigation{background:#ff9d18!important;color:#1a0b00!important;box-shadow:0 0 14px rgba(255,157,24,.25)!important;}
.tmpro-event-row.is-investigation .tmpro-event-type{color:#ff9d18!important;background:linear-gradient(180deg,rgba(108,55,8,.98),rgba(45,21,4,.99))!important;border-color:rgba(255,157,24,.38)!important;}
.tmpro-invest-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-top:8px;}
.tmpro-invest-btn{height:22px;min-width:34px;padding:0 8px;border-radius:7px;border:1px solid rgba(255,138,31,.45);background:rgba(255,138,31,.13);color:#ffd3a1;font-family:Saira Condensed,Arial,sans-serif;font-weight:1000;font-size:.68rem;letter-spacing:.05em;cursor:pointer;}
.tmpro-invest-btn:hover{background:#ff8a1f;color:#160800;box-shadow:0 0 14px rgba(255,138,31,.28);}
.tmpro-invest-btn.is-clear{border-color:rgba(34,197,94,.42);background:rgba(34,197,94,.12);color:#b9ffd0;}
.tmpro-invest-btn.is-clear:hover{background:#22c55e;color:#03140a;}
.tmpro-invest-decision{margin-top:7px;display:inline-flex;align-items:center;width:max-content;max-width:100%;min-height:22px;padding:0 9px;border-radius:999px;font-family:Saira Condensed,Arial,sans-serif;font-size:.68rem;font-weight:1000;text-transform:uppercase;letter-spacing:.055em;}
.tmpro-invest-decision.penalty{background:rgba(255,47,31,.16);border:1px solid rgba(255,47,31,.44);color:#ffb4ae;}
.tmpro-invest-decision.cleared{background:rgba(34,197,94,.14);border:1px solid rgba(34,197,94,.42);color:#b9ffd0;}
.tmpro-driver-invest-triangle{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;margin-right:5px;border-radius:4px;font-size:.68rem;line-height:1;font-weight:1000;font-family:Saira Condensed,Arial,sans-serif;animation:tmproInvestBlink .85s ease-in-out infinite;flex:0 0 16px;}
.tmpro-driver-invest-triangle.is-pending{background:#ff9d18;color:#1a0b00;box-shadow:0 0 12px rgba(255,157,24,.6);}
.tmpro-driver-invest-triangle.is-penalty{background:#ff2f1f;color:#fff;box-shadow:0 0 12px rgba(255,47,31,.65);}
.tmpro-driver-row.is-slowzone-investigation-pending{border-color:rgba(255,157,24,.62)!important;box-shadow:inset 4px 0 0 #ff9d18,0 0 22px rgba(255,157,24,.18)!important;}
.tmpro-driver-row.is-slowzone-investigation-penalty{border-color:rgba(255,47,31,.78)!important;box-shadow:inset 4px 0 0 #ff2f1f,0 0 24px rgba(255,47,31,.24)!important;}
@keyframes tmproInvestBlink{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.55;transform:scale(.92)}}
.tmpro-event-filters button[data-filter="slowzone"].is-active,
.tmpro-event-filters button[data-filter="slowzone"]:hover{border-color:rgba(255,212,0,.45)!important;color:#ffe16b!important;box-shadow:0 0 18px rgba(255,212,0,.13)!important;}
.tmpro-event-filters button[data-filter="investigation"].is-active,
.tmpro-event-filters button[data-filter="investigation"]:hover{border-color:rgba(255,138,31,.55)!important;color:#ffb05d!important;box-shadow:0 0 20px rgba(255,138,31,.18)!important;}

/* HOTFIX investigation cards: boutons visibles + hauteur augmentée */
.tmpro-event-row.is-investigation{
    min-height:275px!important;
    padding:15px 14px!important;
    grid-template-columns:54px minmax(0,1fr) 18px!important;
    align-items:flex-start!important;
}
.tmpro-event-row.is-investigation .tmpro-event-type{
    width:50px!important;
    height:50px!important;
    min-height:50px!important;
    margin-top:8px!important;
    border-radius:15px!important;
}
.tmpro-event-row.is-investigation .tmpro-event-body{
    gap:8px!important;
    overflow:visible!important;
}
.tmpro-event-row.is-investigation .tmpro-event-mainline{
    align-items:center!important;
    gap:8px!important;
    flex-wrap:wrap!important;
}
.tmpro-event-row.is-investigation .tmpro-event-tag.is-investigation{
    min-height:18px!important;
    height:auto!important;
    padding:2px 7px!important;
    font-size:.56rem!important;
    line-height:1.05!important;
    white-space:normal!important;
    max-width:150px!important;
}
.tmpro-event-row.is-investigation .tmpro-event-detail{
    margin-top:2px!important;
}
.tmpro-event-row.is-investigation .tmpro-event-subtext{
    display:block!important;
    overflow:visible!important;
    white-space:normal!important;
    text-overflow:clip!important;
    max-height:none!important;
    line-height:1.28!important;
    color:#c8cfdd!important;
}
.tmpro-invest-actions{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(40px,1fr))!important;
    gap:7px!important;
    margin:6px 0 2px!important;
    width:100%!important;
}
.tmpro-invest-btn{
    height:28px!important;
    min-width:0!important;
    padding:0 7px!important;
    border-radius:8px!important;
    font-size:.72rem!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
}
.tmpro-event-row.is-investigation .tmpro-event-chevron{
    margin-top:18px!important;
}

/* Patch marques RaceLive + écart concurrents */
.tmpro-driver-metric{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-end!important;
    justify-content:center!important;
    gap:1px!important;
    line-height:1!important;
}
.tmpro-driver-metric .tmpro-driver-best{
    color:#fff!important;
    font-size:.90rem!important;
    font-weight:1000!important;
    font-variant-numeric:tabular-nums!important;
}
.tmpro-driver-metric .tmpro-driver-interval{
    color:#ffb05d!important;
    font-size:.62rem!important;
    font-weight:900!important;
    letter-spacing:.035em!important;
    text-transform:uppercase!important;
    font-variant-numeric:tabular-nums!important;
}
.tmpro-left .tmpro-driver-gap.tmpro-driver-metric,
.tmpro-driver-gap.tmpro-driver-metric{
    width:88px!important;
    min-width:88px!important;
    max-width:88px!important;
}
.tmpro-driver-brand.is-text span{font-size:.50rem!important;}

/* SRH FIX session reset / pilote warning layout */
.tmpro-left .tmpro-driver-text{
    display:flex!important;
    flex-direction:column!important;
    min-width:0!important;
    overflow:hidden!important;
    gap:2px!important;
}
.tmpro-driver-name-line{
    display:flex!important;
    align-items:center!important;
    gap:5px!important;
    min-width:0!important;
    width:100%!important;
}
.tmpro-driver-name-line .tmpro-driver-name{
    flex:1 1 auto!important;
    min-width:0!important;
}
.tmpro-driver-name-line .tmpro-driver-invest-triangle{
    margin-left:4px!important;
    margin-right:0!important;
    flex:0 0 16px!important;
}
.tmpro-left .tmpro-driver-team{
    display:block!important;
    max-width:100%!important;
    color:#8f98aa!important;
    font-size:.56rem!important;
    line-height:1.05!important;
    margin-top:1px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-family:Saira Condensed,Arial,sans-serif!important;
    font-weight:900!important;
    letter-spacing:.035em!important;
    text-transform:uppercase!important;
}


/* HOTFIX dynamique / lisibilité / états RC */
.tmpro-event-row.is-cleared{
    border-color:rgba(34,197,94,.58)!important;
    background:radial-gradient(circle at 0 0,rgba(34,197,94,.20),transparent 45%),linear-gradient(180deg,rgba(7,28,17,.98),rgba(3,11,7,.99))!important;
    box-shadow:inset 4px 0 0 #22c55e,0 0 22px rgba(34,197,94,.16)!important;
}
.tmpro-event-row.is-cleared .tmpro-event-type{
    color:#33ff88!important;
    background:linear-gradient(180deg,rgba(8,90,42,.98),rgba(3,32,17,.99))!important;
    border-color:rgba(51,255,136,.34)!important;
}
.tmpro-event-tag.is-cleared,
.tmpro-event-row.is-cleared .tmpro-event-tag{
    background:#22c55e!important;
    color:#03140a!important;
    box-shadow:0 0 14px rgba(34,197,94,.25)!important;
}
.tmpro-event-row.is-greenflag{
    border-color:rgba(34,197,94,.52)!important;
    background:radial-gradient(circle at 0 0,rgba(34,197,94,.18),transparent 45%),linear-gradient(180deg,rgba(7,26,17,.98),rgba(4,12,8,.98))!important;
}
.tmpro-event-row.is-greenflag .tmpro-event-type{
    color:#33ff88!important;
    background:linear-gradient(180deg,rgba(8,90,42,.98),rgba(3,32,17,.99))!important;
    border-color:rgba(51,255,136,.34)!important;
}
.tmpro-event-tag.is-greenflag,
.tmpro-event-row.is-greenflag .tmpro-event-tag{
    background:#22c55e!important;
    color:#03140a!important;
}
.tmpro-report-row{
    min-height:520px!important;
    padding:12px!important;
}
.tmpro-report-row .tmpro-event-body{
    gap:7px!important;
}
.tmpro-report-title span{
    font-size:.95rem!important;
    max-width:210px!important;
}
.tmpro-report-groups{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    max-height:420px!important;
    overflow-y:auto!important;
    padding-right:4px!important;
}
.tmpro-report-category{
    padding:8px!important;
    background:rgba(5,9,15,.72)!important;
}
.tmpro-report-driver{
    grid-template-columns:20px minmax(0,1fr) 42px 36px!important;
    min-height:22px!important;
    font-size:.70rem!important;
}
.tmpro-report-driver .tmpro-event-flag{display:none!important;}
.tmpro-report-driver strong{
    font-size:.72rem!important;
    max-width:155px!important;
}
.tmpro-report-driver em{font-size:.60rem!important;}
.tmpro-report-driver small{font-size:.58rem!important;}


/* SRH PATCH Race Events : raisons investigation / pénalité / NOINV / NOPENA */
.tmpro-event-rc-note{
    margin-top:4px;
    display:grid;
    grid-template-columns:minmax(92px,auto) minmax(0,1fr);
    gap:8px;
    align-items:start;
    padding:8px 10px;
    border-radius:11px;
    border:1px solid rgba(255,255,255,.08);
    background:rgba(0,0,0,.20);
    color:#dbe4f2;
    font-size:.78rem;
    line-height:1.25;
}
.tmpro-event-rc-note b{
    font-family:Saira Condensed,Arial,sans-serif;
    font-size:.72rem;
    line-height:1.05;
    font-weight:1000;
    letter-spacing:.06em;
    text-transform:uppercase;
    white-space:nowrap;
}
.tmpro-event-rc-note span{
    min-width:0;
    white-space:normal;
    overflow-wrap:anywhere;
}
.tmpro-event-rc-note.is-investigation{border-color:rgba(255,157,24,.38);background:rgba(255,157,24,.08);}
.tmpro-event-rc-note.is-investigation b{color:#ffb347;}
.tmpro-event-rc-note.is-penalty{border-color:rgba(255,47,31,.42);background:rgba(255,47,31,.09);}
.tmpro-event-rc-note.is-penalty b{color:#ff5b4a;}
.tmpro-event-rc-note.is-noinv,
.tmpro-event-rc-note.is-nopena{border-color:rgba(34,197,94,.42);background:rgba(34,197,94,.10);}
.tmpro-event-rc-note.is-noinv b,
.tmpro-event-rc-note.is-nopena b{color:#35f58a;}
.tmpro-event-row.is-cleared .tmpro-event-subtext{color:#bdf8d0!important;}
@media (max-width:640px){
    .tmpro-event-rc-note{grid-template-columns:1fr;gap:4px;}
}


.race-event-reason,
.event-reason-text {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    line-height: 1.4;
}

.race-event-details {
    min-height: 64px;
    display: flex;
    align-items: center;
}

/* SRH FIX : NOINV / NOPENA ne doivent pas dupliquer le titre dans le bloc détail */
.tmpro-event-rc-note.is-cleared-note{
    grid-template-columns:1fr!important;
    min-height:44px;
    align-items:center;
}
.tmpro-event-rc-note.is-cleared-note span{
    display:block;
    width:100%;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:unset!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
}

.tmpro-map-title-line{
    display:flex !important;
    align-items:center !important;
    gap:10px !important;
    min-width:0 !important;
}

.tmpro-canvas-track-flag{
    flex:0 0 auto !important;
    width:24px !important;
    height:17px !important;
}


/* === SRH PATCH: RaceLive + TrackMap même bloc, colonnes complètes et drapeau circuit === */
.tmpro-layout{
    grid-template-columns:minmax(390px,430px) minmax(820px,1fr)!important;
    gap:14px!important;
    align-items:stretch!important;
    overflow:visible!important;
}

.tmpro-left,
.tmpro-map-card,
.tmpro-panel{
    height:var(--tmpro-card-height)!important;
    min-height:var(--tmpro-card-height)!important;
    max-height:var(--tmpro-card-height)!important;
}

.tmpro-right{
    grid-column:1 / -1!important;
    height:auto!important;
    min-height:220px!important;
    max-height:none!important;
    margin-top:0!important;
}

.tmpro-map-title-line{
    display:flex!important;
    align-items:center!important;
    gap:9px!important;
    min-width:0!important;
}

.tmpro-canvas-track-flag,
.tmpro-track-flag{
    width:26px!important;
    height:18px!important;
    flex:0 0 auto!important;
    display:inline-block;
}

.tmpro-map-title-line strong{
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}

.tmpro-left-head-row-pro,
.tmpro-left-head-row{
    display:grid!important;
    grid-template-columns:34px 46px minmax(118px,1fr) 62px 62px 72px 54px!important;
    gap:6px!important;
    align-items:center!important;
    padding:0 9px 7px!important;
    color:#8f98aa!important;
    font-family:Saira Condensed,Arial,sans-serif!important;
    font-weight:900!important;
    font-size:.66rem!important;
    letter-spacing:.08em!important;
    text-transform:uppercase!important;
    border-bottom:1px solid rgba(255,255,255,.06)!important;
    margin-bottom:8px!important;
}

.tmpro-driver-row.tmpro-pro-row{
    grid-template-columns:34px 46px minmax(118px,1fr) 62px 62px 72px 54px!important;
    gap:6px!important;
    min-height:48px!important;
    padding:7px 8px!important;
}

.tmpro-driver-row .tmpro-left-pos,
.tmpro-left-head-row span:nth-child(1){text-align:center;}
.tmpro-driver-row .tmpro-cat-badge{justify-self:center;}
.tmpro-driver-main{min-width:0!important;}
.tmpro-driver-name{font-size:.86rem!important;}
.tmpro-driver-team{font-size:.58rem!important;}

.tmpro-driver-gap,
.tmpro-driver-lasttime,
.tmpro-driver-interval-only,
.tmpro-driver-gap-leader{
    font-family:Saira Condensed,Arial,sans-serif!important;
    font-weight:900!important;
    font-size:.82rem!important;
    line-height:1!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    text-align:right!important;
    color:#f2f5fb!important;
}

.tmpro-driver-interval-only{color:#ffb25c!important;}
.tmpro-driver-gap-leader{color:#dfe6f1!important;}
.tmpro-driver-lasttime{color:#ffffff!important;}

.tmpro-driver-status{
    justify-self:end!important;
    min-width:42px!important;
    height:22px!important;
    padding:0 6px!important;
    border-radius:6px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-family:Saira Condensed,Arial,sans-serif!important;
    font-size:.68rem!important;
    font-weight:1000!important;
    letter-spacing:.04em!important;
    background:rgba(255,255,255,.06)!important;
    border:1px solid rgba(255,255,255,.10)!important;
    color:#dfe6f1!important;
}

.tmpro-status-run{color:#a7f3d0!important;border-color:rgba(34,197,94,.26)!important;background:rgba(34,197,94,.10)!important;}
.tmpro-status-pit,.tmpro-status-box{color:#ffd199!important;border-color:rgba(255,102,0,.35)!important;background:rgba(255,102,0,.13)!important;}
.tmpro-status-pen{color:#fecaca!important;border-color:rgba(239,68,68,.35)!important;background:rgba(239,68,68,.12)!important;}
.tmpro-status-dnf,.tmpro-status-dq{color:#cbd5e1!important;border-color:rgba(148,163,184,.25)!important;background:rgba(148,163,184,.11)!important;}
.tmpro-status-sc{color:#fde68a!important;border-color:rgba(234,179,8,.35)!important;background:rgba(234,179,8,.12)!important;}

@media (min-width:1780px){
    .tmpro-layout{
        grid-template-columns:minmax(410px,450px) minmax(900px,1fr) minmax(330px,390px)!important;
    }
    .tmpro-right{
        grid-column:auto!important;
        height:var(--tmpro-card-height)!important;
        min-height:var(--tmpro-card-height)!important;
        max-height:var(--tmpro-card-height)!important;
    }
}

@media (max-width:1320px){
    .tmpro-layout{
        grid-template-columns:1fr!important;
    }
    .tmpro-left,
    .tmpro-map-card,
    .tmpro-panel{
        height:auto!important;
        min-height:0!important;
        max-height:none!important;
    }
    .tmpro-map-card{min-height:760px!important;}
}



/* ======================================================================
   SRH FINAL BROADCAST LAYOUT FIX - 2026-05-25
   Objectif :
   - Live Timing en vrai tableau 7 colonnes lisible
   - TrackMap au centre
   - Race Events à droite
   - Plus aucun chevauchement des colonnes
   ====================================================================== */

.tmpro-shell{
    width:100%!important;
    max-width:none!important;
    padding-left:24px!important;
    padding-right:24px!important;
    box-sizing:border-box!important;
}

.tmpro-topbar{
    max-width:none!important;
    width:100%!important;
}

/* Layout proche de l'image : gauche large, map centre, events droite */
.tmpro-layout{
    display:grid!important;
    grid-template-columns:560px minmax(720px,1fr) 390px!important;
    gap:10px!important;
    align-items:stretch!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    overflow:visible!important;
}

.tmpro-left,
.tmpro-left.tmpro-panel,
.tmpro-left-pro{
    grid-column:auto!important;
    width:560px!important;
    min-width:560px!important;
    max-width:560px!important;
    height:var(--tmpro-card-height)!important;
    min-height:var(--tmpro-card-height)!important;
    max-height:var(--tmpro-card-height)!important;
    border-radius:18px!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
}

.tmpro-map-card{
    grid-column:auto!important;
    min-width:720px!important;
    width:auto!important;
    height:var(--tmpro-card-height)!important;
    min-height:var(--tmpro-card-height)!important;
    max-height:var(--tmpro-card-height)!important;
    border-radius:18px!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
}

.tmpro-right,
.tmpro-right.tmpro-panel{
    grid-column:auto!important;
    width:390px!important;
    min-width:390px!important;
    max-width:390px!important;
    height:var(--tmpro-card-height)!important;
    min-height:var(--tmpro-card-height)!important;
    max-height:var(--tmpro-card-height)!important;
    margin:0!important;
    border-radius:18px!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
}

/* Header gauche */
.tmpro-left-header-pro{
    padding:18px 18px 14px!important;
}

/* Tableau header : 7 colonnes fixes */
#tmproLeftTableHead,
.tmpro-left-head-row,
.tmpro-left-head-row-pro{
    display:grid!important;
    grid-template-columns:7px 50px minmax(165px,1fr) 45px 45px 70px 58px!important;
    column-gap:8px!important;
    align-items:center!important;
    width:100%!important;
    height:34px!important;
    min-height:34px!important;
    max-height:34px!important;
    padding:0 14px!important;
    margin:0 0 8px 0!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    border-top:1px solid rgba(255,255,255,.04)!important;
    border-bottom:1px solid rgba(255,255,255,.07)!important;
    background:rgba(0,0,0,.10)!important;
}

#tmproLeftTableHead span,
.tmpro-left-head-row span,
.tmpro-left-head-row-pro span{
    display:block!important;
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-family:"Saira Condensed",Arial,sans-serif!important;
    font-size:.62rem!important;
    line-height:1!important;
    font-weight:1000!important;
    letter-spacing:.07em!important;
    text-transform:uppercase!important;
    color:#a0aabd!important;
    opacity:1!important;
}

#tmproLeftTableHead span:nth-child(1),
#tmproLeftTableHead span:nth-child(2),
#tmproLeftTableHead span:nth-child(7){
    text-align:center!important;
}
#tmproLeftTableHead span:nth-child(4),
#tmproLeftTableHead span:nth-child(5),
#tmproLeftTableHead span:nth-child(6){
    text-align:right!important;
}

/* Liste */
#tmproDriverList,
.tmpro-driver-list,
.tmpro-driver-list-pro{
    width:100%!important;
    min-width:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    padding:0 12px 12px!important;
    box-sizing:border-box!important;
}

/* Chaque ligne devient un vrai tableau 7 colonnes */
#tmproDriverList > .tmpro-driver-row,
.tmpro-driver-list-pro > .tmpro-driver-row,
.tmpro-left .tmpro-driver-row.tmpro-pro-row{
    display:grid!important;
    grid-template-columns:7px 50px minmax(165px,1fr) 45px 45px 70px 58px!important;
    column-gap:8px!important;
    align-items:center!important;
    width:100%!important;
    min-width:0!important;
    height:52px!important;
    min-height:52px!important;
    max-height:52px!important;
    padding:0 12px!important;
    margin:0 0 7px 0!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    border-radius:10px!important;
}

/* Force absolue par ordre des enfants : impossible que ça retombe en colonne unique */
#tmproDriverList > .tmpro-driver-row > *{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    position:relative!important;
    float:none!important;
}

#tmproDriverList > .tmpro-driver-row > *:nth-child(1){
    grid-column:1!important;
    justify-self:center!important;
}
#tmproDriverList > .tmpro-driver-row > *:nth-child(2){
    grid-column:2!important;
    justify-self:center!important;
}
#tmproDriverList > .tmpro-driver-row > *:nth-child(3){
    grid-column:3!important;
    justify-self:stretch!important;
}
#tmproDriverList > .tmpro-driver-row > *:nth-child(4){
    grid-column:4!important;
    justify-self:end!important;
}
#tmproDriverList > .tmpro-driver-row > *:nth-child(5){
    grid-column:5!important;
    justify-self:end!important;
}
#tmproDriverList > .tmpro-driver-row > *:nth-child(6){
    grid-column:6!important;
    justify-self:end!important;
}
#tmproDriverList > .tmpro-driver-row > *:nth-child(7){
    grid-column:7!important;
    justify-self:center!important;
}

/* POS */
#tmproDriverList .tmpro-left-pos,
#tmproDriverList .tmpro-driver-row > b:first-child{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:32px!important;
    min-width:32px!important;
    max-width:32px!important;
    height:32px!important;
    margin:0!important;
    padding:0!important;
    font-size:1rem!important;
    line-height:1!important;
    text-align:center!important;
}

/* CAT */
#tmproDriverList .tmpro-cat-badge{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:44px!important;
    min-width:44px!important;
    max-width:44px!important;
    height:22px!important;
    padding:0 5px!important;
    margin:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:.58rem!important;
    line-height:1!important;
}

/* Driver/team */
#tmproDriverList .tmpro-driver-main,
#tmproDriverList .tmpro-left-driver-main{
    display:grid!important;
    grid-template-columns:26px minmax(0,1fr)!important;
    gap:8px!important;
    align-items:center!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
}

#tmproDriverList .tmpro-driver-brand{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:26px!important;
    min-width:26px!important;
    max-width:26px!important;
    height:26px!important;
    flex:0 0 26px!important;
}

#tmproDriverList .tmpro-driver-brand img{
    width:18px!important;
    height:18px!important;
    object-fit:contain!important;
}

#tmproDriverList .tmpro-driver-text{
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
    line-height:1.05!important;
}

#tmproDriverList .tmpro-driver-name-line{
    display:flex!important;
    align-items:center!important;
    gap:4px!important;
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
}

#tmproDriverList .tmpro-driver-name{
    display:block!important;
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-family:"Saira Condensed",Arial,sans-serif!important;
    font-size:.86rem!important;
    line-height:1!important;
    font-weight:1000!important;
    color:#fff!important;
}

#tmproDriverList .tmpro-driver-team{
    display:block!important;
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-family:"Saira Condensed",Arial,sans-serif!important;
    font-size:.72rem!important;
    line-height:1!important;
    font-weight:900!important;
    color:#8d98aa!important;
    text-transform:uppercase!important;
    margin-top:3px!important;
}

/* Gap / Écart / LastTime */
#tmproDriverList .tmpro-driver-gap,
#tmproDriverList .tmpro-driver-gap-leader,
#tmproDriverList .tmpro-driver-interval-only,
#tmproDriverList .tmpro-driver-lasttime{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    text-align:right!important;
    font-family:"Saira Condensed",Arial,sans-serif!important;
    font-size:.82rem!important;
    line-height:1!important;
    font-weight:1000!important;
    font-variant-numeric:tabular-nums!important;
    color:#f4f7fb!important;
    padding:0!important;
    margin:0!important;
}

#tmproDriverList .tmpro-driver-gap-leader{
    color:#dce5f3!important;
}
#tmproDriverList .tmpro-driver-interval-only{
    color:#ffbd7b!important;
}
#tmproDriverList .tmpro-driver-lasttime{
    color:#d8b4fe!important;
    text-shadow:0 0 10px rgba(168,85,247,.28)!important;
}

/* Statut */
#tmproDriverList .tmpro-driver-status{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:40px!important;
    min-width:40px!important;
    max-width:64px!important;
    height:24px!important;
    padding:0 5px!important;
    margin:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    border-radius:7px!important;
    font-family:"Saira Condensed",Arial,sans-serif!important;
    font-size:.60rem!important;
    line-height:1!important;
    font-weight:1000!important;
    letter-spacing:.03em!important;
    text-align:center!important;
    background:rgba(255,255,255,.06)!important;
    border:1px solid rgba(255,255,255,.12)!important;
    color:#dfe6f1!important;
}

/* Couleurs statut */
#tmproDriverList .tmpro-status-run{color:#86efac!important;border-color:rgba(34,197,94,.35)!important;background:rgba(34,197,94,.12)!important;}
#tmproDriverList .tmpro-status-pit,
#tmproDriverList .tmpro-status-box{color:#ffb86b!important;border-color:rgba(255,102,0,.42)!important;background:rgba(255,102,0,.13)!important;}
#tmproDriverList .tmpro-status-pen{color:#fecaca!important;border-color:rgba(239,68,68,.42)!important;background:rgba(239,68,68,.13)!important;}
#tmproDriverList .tmpro-status-dnf,
#tmproDriverList .tmpro-status-dq{color:#cbd5e1!important;border-color:rgba(148,163,184,.33)!important;background:rgba(148,163,184,.13)!important;}
#tmproDriverList .tmpro-status-sc{color:#fde68a!important;border-color:rgba(234,179,8,.42)!important;background:rgba(234,179,8,.13)!important;}

/* Footer légende compact */
.tmpro-left-bottom-legend{
    padding:8px 16px 12px!important;
    overflow:hidden!important;
}

/* Canvas */
#tmproCanvas{
    width:100%!important;
    max-width:100%!important;
}

/* Nom circuit + drapeau */
.tmpro-map-title-line{
    display:flex!important;
    align-items:center!important;
    gap:9px!important;
    min-width:0!important;
}
.tmpro-track-flag,
.tmpro-canvas-track-flag{
    display:inline-block!important;
    width:26px!important;
    height:18px!important;
    object-fit:cover!important;
    border-radius:2px!important;
    flex:0 0 auto!important;
    box-shadow:0 0 0 1px rgba(255,255,255,.20)!important;
}
#tmproTrackName{
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}

/* Responsive : si écran trop petit on garde tableau en 1 colonne, pas de chevauchement */
@media (max-width:1700px){
    .tmpro-layout{
        grid-template-columns:540px minmax(680px,1fr) 360px!important;
        gap:8px!important;
    }
    .tmpro-left,
    .tmpro-left.tmpro-panel,
    .tmpro-left-pro{
        width:540px!important;
        min-width:540px!important;
        max-width:540px!important;
    }
    .tmpro-right,
    .tmpro-right.tmpro-panel{
        width:360px!important;
        min-width:360px!important;
        max-width:360px!important;
    }
    #tmproLeftTableHead,
    .tmpro-left-head-row,
    .tmpro-left-head-row-pro,
    #tmproDriverList > .tmpro-driver-row,
    .tmpro-driver-list-pro > .tmpro-driver-row,
    .tmpro-left .tmpro-driver-row.tmpro-pro-row{
        grid-template-columns:38px 50px minmax(150px,1fr) 58px 58px 76px 62px!important;
        column-gap:7px!important;
    }
}

@media (max-width:1500px){
    .tmpro-layout{
        grid-template-columns:1fr!important;
        gap:14px!important;
    }
    .tmpro-left,
    .tmpro-left.tmpro-panel,
    .tmpro-left-pro,
    .tmpro-map-card,
    .tmpro-right,
    .tmpro-right.tmpro-panel{
        width:100%!important;
        min-width:0!important;
        max-width:none!important;
        height:auto!important;
        min-height:0!important;
        max-height:none!important;
    }
    .tmpro-map-card{
        min-height:760px!important;
    }
}




/* =========================================================
   SRH DELTA STYLE FIX
   ========================================================= */

.tmpro-sector-delta,
.trackmap-sector-delta{
    font-weight:900 !important;
    font-size:.82rem !important;
}

.tmpro-sector-delta.delta-gain,
.trackmap-sector-delta.delta-gain{
    color:#3dff8f !important;
}

.tmpro-sector-delta.delta-loss,
.trackmap-sector-delta.delta-loss{
    color:#ff5c5c !important;
}

.tmpro-sector-delta::before,
.tmpro-sector-delta::after,
.trackmap-sector-delta::before,
.trackmap-sector-delta::after{
    content:none !important;
}


/* =========================================================
   COMMENTATEUR IA TRACKMAP LIVE
   ========================================================= */
.tmpro-event-filters button[data-filter="ai"]{
  border-color:rgba(255,102,0,.45);
}
.tmpro-event-filters button[data-filter="ai"].is-active{
  background:linear-gradient(180deg,rgba(255,102,0,.24),rgba(255,102,0,.10));
  box-shadow:0 0 0 1px rgba(255,102,0,.24),0 14px 28px rgba(255,102,0,.12);
}
.tmpro-ai-commentator{
  display:grid;
  gap:14px;
  padding:2px;
}
.tmpro-ai-commentator-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:14px;
  border:1px solid rgba(255,102,0,.22);
  border-radius:18px;
  background:
    radial-gradient(circle at 0% 0%,rgba(255,102,0,.16),transparent 42%),
    linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025));
}
.tmpro-ai-kicker{
  display:inline-flex;
  color:#ff9a2f;
  font-size:.72rem;
  font-weight:950;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.tmpro-ai-commentator h3{
  margin:5px 0 5px;
  font-size:1.02rem;
  color:#fff;
  letter-spacing:-.02em;
}
.tmpro-ai-commentator p{
  margin:0;
  color:#c9cad4;
  line-height:1.45;
  font-size:.88rem;
}
.tmpro-ai-live-pill{
  display:inline-flex;
  align-items:center;
  gap:7px;
  flex:0 0 auto;
  padding:7px 10px;
  border-radius:999px;
  color:#111;
  background:linear-gradient(135deg,#ff6600,#ff9a2f);
  font-size:.72rem;
  font-weight:950;
  box-shadow:0 10px 24px rgba(255,102,0,.22);
}
.tmpro-ai-live-pill i{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 0 12px #fff;
}
.tmpro-ai-top3{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.tmpro-ai-top-card{
  min-width:0;
  padding:11px;
  border-radius:15px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025));
}
.tmpro-ai-top-card.is-p1{
  border-color:rgba(255,184,77,.42);
  background:linear-gradient(180deg,rgba(255,154,47,.16),rgba(255,255,255,.025));
}
.tmpro-ai-top-card .tmpro-ai-rank{
  display:inline-flex;
  margin-bottom:5px;
  color:#ff9a2f;
  font-weight:950;
  font-size:.78rem;
}
.tmpro-ai-top-card strong,
.tmpro-ai-top-card small,
.tmpro-ai-top-card em{
  display:block;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.tmpro-ai-top-card strong{color:#fff;font-size:.88rem;}
.tmpro-ai-top-card small{color:#9fa2b2;font-size:.72rem;margin-top:3px;}
.tmpro-ai-top-card em{color:#ffb36a;font-size:.72rem;margin-top:4px;font-style:normal;font-weight:850;}
.tmpro-ai-metrics{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}
.tmpro-ai-metric{
  padding:10px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.07);
  background:rgba(0,0,0,.22);
  text-align:center;
}
.tmpro-ai-metric b{display:block;color:#ff9a2f;font-size:1.05rem;line-height:1;}
.tmpro-ai-metric span{display:block;color:#aeb0bf;font-size:.68rem;margin-top:5px;text-transform:uppercase;letter-spacing:.06em;}
.tmpro-ai-feed{
  display:grid;
  gap:9px;
}
.tmpro-ai-comment{
  padding:12px 13px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.025));
}
.tmpro-ai-comment.is-high{
  border-color:rgba(255,102,0,.32);
  background:linear-gradient(180deg,rgba(255,102,0,.12),rgba(255,255,255,.025));
}
.tmpro-ai-comment.is-incident{
  border-color:rgba(255,69,58,.32);
  background:linear-gradient(180deg,rgba(255,69,58,.10),rgba(255,255,255,.025));
}
.tmpro-ai-comment-head{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
  margin-bottom:7px;
}
.tmpro-ai-comment-head span{color:#8e92a5;font-size:.72rem;font-weight:800;}
.tmpro-ai-comment-head b{color:#fff;font-size:.86rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.tmpro-ai-comment-head em{
  color:#111;
  background:#ff9a2f;
  padding:3px 7px;
  border-radius:999px;
  font-size:.62rem;
  font-style:normal;
  font-weight:950;
  text-transform:uppercase;
}
.tmpro-ai-comment p{font-size:.86rem;color:#e9e9ef;}
.tmpro-ai-comment small{display:block;margin-top:7px;color:#9fa2b2;font-size:.72rem;}
.tmpro-ai-empty{
  padding:14px;
  border-radius:16px;
  border:1px dashed rgba(255,255,255,.14);
  color:#aeb0bf;
  text-align:center;
}
@media(max-width:760px){
  .tmpro-ai-top3,.tmpro-ai-metrics{grid-template-columns:1fr;}
  .tmpro-ai-commentator-head{flex-direction:column;}
}


/* =========================================================
   COMMENTATEUR IA V6 - STYLE TCHAT LIVE HUMAIN
   ========================================================= */
.tmpro-ai-feed{
  display:flex !important;
  flex-direction:column;
  gap:10px;
  max-height:360px;
  overflow-y:auto;
  padding:10px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.07);
  background:linear-gradient(180deg,rgba(0,0,0,.30),rgba(0,0,0,.16));
  scroll-behavior:smooth;
}
.tmpro-ai-comment{
  position:relative;
  animation:tmproAiChatIn .28s ease both;
  border-radius:18px 18px 18px 7px;
  background:
    linear-gradient(180deg,rgba(22,24,34,.96),rgba(12,13,20,.98));
  box-shadow:0 10px 24px rgba(0,0,0,.20);
}
.tmpro-ai-comment.is-high{
  border-color:rgba(255,102,0,.36);
  background:
    radial-gradient(circle at 0% 0%,rgba(255,102,0,.18),transparent 44%),
    linear-gradient(180deg,rgba(28,24,18,.98),rgba(12,13,20,.98));
}
.tmpro-ai-comment.is-battle,
.tmpro-ai-comment.is-position{
  border-color:rgba(255,154,47,.30);
}
.tmpro-ai-comment.is-pit{
  border-color:rgba(86,180,255,.28);
}
.tmpro-ai-comment-head{
  grid-template-columns:auto minmax(0,1fr) !important;
}
.tmpro-ai-comment-head em{
  display:none !important;
}
.tmpro-ai-comment p{
  font-size:.92rem !important;
  line-height:1.48;
}
.tmpro-position-route{
  display:none !important;
}
@keyframes tmproAiChatIn{
  from{opacity:0;transform:translateY(10px) scale(.985)}
  to{opacity:1;transform:translateY(0) scale(1)}
}


/* === Commentateur IA V8 : mode tchat naturel, moins de spam === */
.tmpro-ai-feed{
  max-height: min(42vh, 430px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}
.tmpro-ai-comment{
  animation: tmproAiChatIn .28s ease both;
}
.tmpro-ai-comment p{
  line-height: 1.45;
}
.tmpro-ai-comment-head em{
  opacity:.72;
}
@keyframes tmproAiChatIn{
  from{opacity:0; transform:translateY(10px)}
  to{opacity:1; transform:translateY(0)}
}


/* === Commentateur IA V10 : dernier message en haut + chronos colorés + anti-clignotement === */
.tmpro-ai-feed{
  display:flex !important;
  flex-direction:column !important;
  gap:10px;
  max-height:min(42vh, 430px);
  overflow-y:auto;
  scroll-behavior:auto !important;
  padding:10px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.07);
  background:linear-gradient(180deg,rgba(0,0,0,.30),rgba(0,0,0,.16));
}
.tmpro-ai-comment{
  animation:none !important;
  transition:border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.tmpro-ai-comment:first-child{
  border-color:rgba(255,154,47,.42);
  box-shadow:0 0 0 1px rgba(255,102,0,.08), 0 10px 26px rgba(0,0,0,.22);
}
.tmpro-ai-comment-head{
  grid-template-columns:auto minmax(0,1fr) !important;
}
.tmpro-ai-comment-head em{display:none !important;}
.tmpro-ai-clock{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:44px;
  padding:3px 7px;
  border-radius:999px;
  color:#111 !important;
  background:linear-gradient(135deg,#ff9a2f,#ffd08a);
  font-weight:950 !important;
  font-size:.68rem !important;
  box-shadow:0 0 18px rgba(255,154,47,.18);
}
.tmpro-ai-chrono{
  display:inline-flex;
  align-items:center;
  vertical-align:baseline;
  padding:1px 6px;
  margin:0 2px;
  border-radius:999px;
  font-weight:950;
  letter-spacing:.02em;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.07);
  color:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
.tmpro-ai-chrono.is-good{
  color:#b8ffcf;
  border-color:rgba(37,211,102,.35);
  background:rgba(37,211,102,.12);
}
.tmpro-ai-chrono.is-hot{
  color:#ffd08a;
  border-color:rgba(255,154,47,.38);
  background:rgba(255,154,47,.13);
}
.tmpro-ai-chrono.is-pit{
  color:#b9e2ff;
  border-color:rgba(86,180,255,.38);
  background:rgba(86,180,255,.12);
}
.tmpro-ai-chrono.is-danger{
  color:#ffb8b8;
  border-color:rgba(255,69,58,.38);
  background:rgba(255,69,58,.12);
}
.tmpro-ai-chrono.is-info{
  color:#d7d8ff;
  border-color:rgba(150,160,255,.28);
  background:rgba(120,130,255,.10);
}
.tmpro-ai-comment.is-pit{
  border-color:rgba(86,180,255,.30);
  background:radial-gradient(circle at 0% 0%,rgba(86,180,255,.12),transparent 44%),linear-gradient(180deg,rgba(20,24,34,.96),rgba(12,13,20,.98));
}
.tmpro-ai-comment.is-battle{
  border-color:rgba(255,154,47,.34);
}
.tmpro-ai-comment.is-incident{
  border-color:rgba(255,69,58,.35);
  background:radial-gradient(circle at 0% 0%,rgba(255,69,58,.12),transparent 44%),linear-gradient(180deg,rgba(24,18,18,.96),rgba(12,13,20,.98));
}
.tmpro-ai-comment p{
  font-size:.92rem !important;
  line-height:1.5;
}


/* === Commentateur IA V10+ : classements par catégorie === */
.tmpro-ai-categories{
  display:grid;
  gap:8px;
  padding:10px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.07);
  background:linear-gradient(180deg,rgba(0,0,0,.26),rgba(0,0,0,.14));
}
.tmpro-ai-categories-title{
  color:#ff9a2f;
  font-size:.72rem;
  font-weight:950;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.tmpro-ai-category-card{
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  background:rgba(255,255,255,.04);
  padding:9px;
}
.tmpro-ai-category-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:7px;
}
.tmpro-ai-category-head b{
  color:#fff;
  font-size:.78rem;
  font-weight:950;
}
.tmpro-ai-category-head span{
  color:#9fa2b2;
  font-size:.68rem;
  font-weight:800;
}
.tmpro-ai-category-row{
  display:grid;
  grid-template-columns:34px minmax(0,1fr) auto;
  gap:7px;
  align-items:center;
  padding:5px 0;
  border-top:1px solid rgba(255,255,255,.055);
}
.tmpro-ai-category-row strong{
  color:#ff9a2f;
  font-size:.72rem;
  font-weight:950;
}
.tmpro-ai-category-row span{
  color:#e9e9ef;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:.76rem;
}
.tmpro-ai-category-row em{
  color:#bfc2cf;
  font-size:.68rem;
  font-style:normal;
  font-weight:850;
  white-space:nowrap;
}
.tmpro-ai-comment.is-category{
  border-color:rgba(140,120,255,.30);
  background:radial-gradient(circle at 0% 0%,rgba(140,120,255,.12),transparent 44%),linear-gradient(180deg,rgba(20,20,34,.96),rgba(12,13,20,.98));
}
@media(max-width:760px){
  .tmpro-ai-category-row{grid-template-columns:30px minmax(0,1fr);}
  .tmpro-ai-category-row em{grid-column:2;}
}

/* === V10+ correction: plus de bloc classement par catégorie permanent dans IA Live.
   Les catégories restent annoncées ponctuellement par le commentateur. */
.tmpro-ai-categories{display:none !important;}


/* === Commentateur IA V13 : vrai duo Alex / Max + météo + tchat haut === */
.tmpro-ai-comment-head{
  grid-template-columns:auto auto minmax(0,1fr) !important;
  gap:8px !important;
}
.tmpro-ai-speaker{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:3px 8px 3px 4px;
  border-radius:999px;
  font-size:.70rem;
  font-weight:950;
  letter-spacing:.03em;
  text-transform:uppercase;
  white-space:nowrap;
  border:1px solid rgba(255,255,255,.10);
  color:#fff;
  background:rgba(255,255,255,.06);
}
.tmpro-ai-speaker i{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  border-radius:50%;
  font-style:normal;
  font-size:.68rem;
  color:#111;
  background:#ff9a2f;
}
.tmpro-ai-speaker.is-alex{
  border-color:rgba(255,154,47,.34);
  background:rgba(255,102,0,.10);
}
.tmpro-ai-speaker.is-alex i{
  background:linear-gradient(135deg,#ff6600,#ffbf73);
}
.tmpro-ai-speaker.is-max{
  border-color:rgba(86,180,255,.34);
  background:rgba(86,180,255,.10);
}
.tmpro-ai-speaker.is-max i{
  background:linear-gradient(135deg,#56b4ff,#b9e2ff);
}
.tmpro-ai-comment.is-alex{
  border-left:3px solid rgba(255,154,47,.72);
}
.tmpro-ai-comment.is-max{
  border-left:3px solid rgba(86,180,255,.70);
}
.tmpro-ai-comment.is-weather{
  border-color:rgba(90,190,255,.35);
  background:radial-gradient(circle at 0% 0%,rgba(90,190,255,.12),transparent 44%),linear-gradient(180deg,rgba(17,22,34,.96),rgba(12,13,20,.98));
}
.tmpro-ai-comment.is-weather .tmpro-ai-chrono,
.tmpro-ai-comment.is-weather .tmpro-ai-clock{
  background:linear-gradient(135deg,#56b4ff,#b9e2ff) !important;
}
.tmpro-ai-comment p{
  color:#f0f1f7 !important;
}
@media(max-width:520px){
  .tmpro-ai-comment-head{
    grid-template-columns:1fr auto !important;
  }
  .tmpro-ai-comment-head b{
    grid-column:1 / -1;
  }
}



/* ==========================================================================
   SRH TRACKMAP COMMENTATOR FINAL
   Intégré dans trackmap_pro.css pour être toujours pris en compte.
   ========================================================================== */
.ai-live-top3,
.srh-ai-live-top3,
.ai-top3-cards,
.ai-live-empty-state,
.srh-ai-live-empty-state,
.commentator-help-text,
.srh-ai-commentator-v12,
.srh-ai-commentator-v13,
.srh-ai-commentator-v14,
.srh-ai-commentator-v15,
.srh-ai-commentator-v16,
.srh-ai-commentator-v17,
.srh-ai-commentator-v18{
  display:none!important;
}

.srh-trackmap-commentator{
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  background:linear-gradient(180deg,rgba(12,12,18,.94),rgba(6,6,10,.98));
  padding:12px;
  margin-top:12px;
  box-shadow:0 12px 34px rgba(0,0,0,.28);
}

.srh-trackmap-commentator-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
  color:#fff;
  font-weight:900;
  letter-spacing:.03em;
}

.srh-trackmap-commentator-head small{
  color:#ff9a2f;
  font-weight:800;
}

.srh-trackmap-commentator-list{
  display:flex;
  flex-direction:column;
  gap:10px;
  max-height:430px;
  overflow:auto;
  padding-right:4px;
  scroll-behavior:auto!important;
  scrollbar-width:thin;
}

.srh-trackmap-commentator-msg{
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  padding:11px 13px;
  background:rgba(255,255,255,.045);
  animation:srhTrackmapCommentatorIn .20s ease-out both;
}

.srh-trackmap-commentator-msg.alex{
  border-left:3px solid #4ea1ff;
}

.srh-trackmap-commentator-msg.max{
  border-left:3px solid #ff9b31;
}

.srh-trackmap-commentator-meta{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:6px;
}

.srh-trackmap-commentator-meta .speaker{
  font-weight:950;
  color:#fff;
}

.srh-trackmap-commentator-msg .text{
  color:#f0f0f5;
  line-height:1.5;
  font-size:.94rem;
  word-break:normal!important;
  overflow-wrap:break-word!important;
}

.srh-ai-cat-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-right:7px;
  padding:2px 8px;
  border-radius:999px;
  font-weight:950;
  font-size:.70rem;
  letter-spacing:.05em;
  background:rgba(255,102,0,.18);
  border:1px solid rgba(255,102,0,.32);
  color:#ffb26a;
  vertical-align:middle;
}

.ai-gap-good{color:#49e67a;font-weight:950}
.ai-gap-warning{color:#ffb347;font-weight:950}
.ai-gap-danger{color:#ff5f5f;font-weight:950}

@keyframes srhTrackmapCommentatorIn{
  from{opacity:0;transform:translateY(-6px)}
  to{opacity:1;transform:translateY(0)}
}



/* === IA LIVE DISPLAY CLEAN FIX ===
   Garde uniquement le bloc officiel DUO IA LIVE de #tmproRaceEvents.
   Masque les anciens panels injectés par les versions précédentes. */
.srh-trackmap-commentator,
.srh-ai-live-panel,
.srh-ai-commentator-final,
.srh-ai-commentator-v17,
.srh-ai-commentator-v18{
  display:none!important;
}
#tmproRaceEvents .tmpro-ai-commentator{
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
  padding:0!important;
}
#tmproRaceEvents .tmpro-ai-commentator-head{
  padding:12px 14px!important;
  border-radius:16px!important;
  margin:0!important;
}
#tmproRaceEvents .tmpro-ai-commentator h3{
  margin:4px 0 0!important;
  font-size:.98rem!important;
  line-height:1.15!important;
}
#tmproRaceEvents .tmpro-ai-live-pill{
  transform:scale(.88)!important;
  transform-origin:right center!important;
}
#tmproRaceEvents .tmpro-ai-metrics{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;
  margin:0!important;
}
#tmproRaceEvents .tmpro-ai-metric{
  padding:9px 6px!important;
  border-radius:12px!important;
}
#tmproRaceEvents .tmpro-ai-metric b{
  font-size:1.05rem!important;
}
#tmproRaceEvents .tmpro-ai-metric span{
  font-size:.62rem!important;
  line-height:1.1!important;
}
#tmproRaceEvents .tmpro-ai-feed{
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
  max-height:430px!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding-right:4px!important;
  scroll-behavior:auto!important;
}
#tmproRaceEvents .tmpro-ai-comment{
  padding:9px 11px!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.045)!important;
  box-shadow:none!important;
}
#tmproRaceEvents .tmpro-ai-comment-head{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  margin-bottom:5px!important;
}
#tmproRaceEvents .tmpro-ai-comment-head b{
  font-size:.78rem!important;
  line-height:1.1!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
#tmproRaceEvents .tmpro-ai-comment-head em,
#tmproRaceEvents .tmpro-ai-comment small{
  display:none!important;
}
#tmproRaceEvents .tmpro-ai-clock{
  font-size:.70rem!important;
  color:#111!important;
  background:#ffb347!important;
  border-radius:999px!important;
  padding:2px 7px!important;
  font-weight:950!important;
}
#tmproRaceEvents .tmpro-ai-speaker{
  flex:0 0 auto!important;
  font-size:.72rem!important;
  padding:2px 7px!important;
  border-radius:999px!important;
}
#tmproRaceEvents .tmpro-ai-comment p{
  font-size:.90rem!important;
  line-height:1.42!important;
  margin:0!important;
  color:#f2f2f6!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
}
#tmproRaceEvents .tmpro-ai-empty{
  padding:14px!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.035)!important;
  border:1px dashed rgba(255,255,255,.12)!important;
  color:#9da3b6!important;
  text-align:center!important;
}
@media(max-width:680px){
  #tmproRaceEvents .tmpro-ai-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}


/* ==========================================================
   V26 - TrackMap weather real injection
   ========================================================== */
.tmpro-weather-card-plus{
    height:auto!important;
    min-height:78px!important;
    align-items:center!important;
    overflow:visible!important;
}

.tmpro-weather-card-plus .tmpro-weather-extra{
    flex-basis:100%!important;
    width:100%!important;
    display:grid!important;
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    gap:6px!important;
    margin-top:10px!important;
    padding-top:10px!important;
    border-top:1px solid rgba(255,255,255,.08)!important;
}

.tmpro-weather-card-plus .tmpro-weather-extra span{
    min-width:0!important;
    border-radius:9px!important;
    border:1px solid rgba(255,255,255,.08)!important;
    background:rgba(255,255,255,.04)!important;
    padding:6px 7px!important;
    display:flex!important;
    flex-direction:column!important;
    gap:3px!important;
}

.tmpro-weather-card-plus .tmpro-weather-extra b{
    color:#8f9ab0!important;
    font-size:.55rem!important;
    line-height:1!important;
    font-weight:950!important;
    letter-spacing:.08em!important;
}

.tmpro-weather-card-plus .tmpro-weather-extra strong{
    color:#fff!important;
    font-size:.72rem!important;
    line-height:1!important;
    font-weight:950!important;
}

@media(max-width:1100px){
    .tmpro-weather-card-plus .tmpro-weather-extra{
        grid-template-columns:repeat(3,minmax(0,1fr))!important;
    }
}


/* =========================================================
   SRH PATCH SAFE - météo RaceLive + gains de position
   ========================================================= */
.tmpro-race-weather{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    grid-template-rows:auto auto !important;
    align-items:stretch !important;
    overflow:hidden !important;
    min-width:0 !important;
}
.tmpro-race-weather > .tmpro-race-weather-item{
    grid-row:1 !important;
    min-height:72px !important;
    padding:12px 14px !important;
    overflow:hidden !important;
}
.tmpro-race-weather > .tmpro-weather-extra,
.tmpro-weather-extra-inline{
    grid-column:1 / -1 !important;
    grid-row:2 !important;
    position:static !important;
    display:grid !important;
    grid-template-columns:repeat(6,minmax(0,1fr)) !important;
    gap:6px !important;
    width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 12px 12px !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}
.tmpro-weather-extra-inline span,
.tmpro-weather-extra span{
    min-width:0 !important;
    min-height:42px !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    gap:3px !important;
    padding:7px 8px !important;
    border-radius:8px !important;
    background:rgba(5,10,17,.74) !important;
    border:1px solid rgba(255,255,255,.075) !important;
    overflow:hidden !important;
}
.tmpro-weather-extra-inline b,
.tmpro-weather-extra b{
    color:#9da8b8 !important;
    font-size:.58rem !important;
    line-height:1 !important;
    font-weight:1000 !important;
    letter-spacing:.045em !important;
    text-transform:uppercase !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
}
.tmpro-weather-extra-inline strong,
.tmpro-weather-extra strong{
    color:#fff !important;
    font-family:Saira Condensed,Arial,sans-serif !important;
    font-size:.92rem !important;
    line-height:1 !important;
    font-weight:1000 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
}

/* Classement gauche : on revient à POS / CAT / PILOTE / GAP / ECART / LASTTIME.
   Les gains/pertes restent dans la cellule POS, donc pas de colonne cassée. */
.tmpro-left-head-row,
.tmpro-left-table-head{
    display:grid !important;
    grid-template-columns:44px 58px minmax(110px,1fr) 74px 74px 84px !important;
    align-items:center !important;
    gap:8px !important;
    min-width:0 !important;
}
.tmpro-driver-list-pro .tmpro-driver-row,
.tmpro-driver-list .tmpro-driver-row,
.tmpro-left .tmpro-driver-row,
.tmpro-left .tmpro-driver-row.tmpro-pro-row{
    display:grid !important;
    grid-template-columns:44px 58px minmax(110px,1fr) 74px 74px 84px !important;
    align-items:center !important;
    gap:8px !important;
    min-height:56px !important;
    padding:9px 12px !important;
    overflow:hidden !important;
}
.tmpro-left-pos,
.tmpro-driver-row > b:first-child{
    grid-column:1 !important;
    width:44px !important;
    min-width:0 !important;
    max-width:44px !important;
    justify-self:center !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:3px !important;
    text-align:center !important;
    white-space:nowrap !important;
}
.tmpro-left .tmpro-cat-badge,
.tmpro-driver-row .tmpro-cat-badge{
    grid-column:2 !important;
    justify-self:center !important;
    max-width:58px !important;
}
.tmpro-left-driver-main,
.tmpro-driver-main{
    grid-column:3 !important;
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
    min-width:0 !important;
    overflow:hidden !important;
}
.tmpro-left .tmpro-driver-brand,
.tmpro-left-driver-main .tmpro-driver-brand{
    display:flex !important;
    width:26px !important;
    height:26px !important;
    flex:0 0 26px !important;
}
.tmpro-left .tmpro-driver-team,
.tmpro-driver-list-pro .tmpro-driver-team{
    display:block !important;
    max-width:100% !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
    color:#9ba6b8 !important;
    font-size:.62rem !important;
    line-height:1.05 !important;
}
.tmpro-driver-gap-leader{grid-column:4 !important;}
.tmpro-driver-interval-only{grid-column:5 !important;}
.tmpro-driver-lasttime{grid-column:6 !important;}
.tmpro-left .tmpro-driver-gap,
.tmpro-driver-gap{
    justify-self:end !important;
    width:auto !important;
    min-width:0 !important;
    max-width:100% !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
    text-align:right !important;
}
.tmpro-driver-status{display:none !important;}
.tmpro-place-delta{
    display:inline-flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    min-width:12px !important;
    width:12px !important;
    height:26px !important;
    padding:0 !important;
    margin-left:4px !important;
    gap:0 !important;
    border-radius:0 !important;
    font-family:Saira Condensed,Arial,sans-serif !important;
    line-height:.82 !important;
    font-weight:1000 !important;
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    text-shadow:0 0 8px currentColor !important;
    transform:translateY(1px) !important;
}
.tmpro-place-delta-arrow{
    display:block !important;
    font-size:.76rem !important;
    line-height:.78 !important;
}
.tmpro-place-delta-value{
    display:block !important;
    font-size:.66rem !important;
    line-height:.78 !important;
}
.tmpro-place-delta.is-loss .tmpro-place-delta-value{
    order:1 !important;
}
.tmpro-place-delta.is-loss .tmpro-place-delta-arrow{
    order:2 !important;
}
.tmpro-place-delta.is-gain .tmpro-place-delta-arrow{
    order:1 !important;
}
.tmpro-place-delta.is-gain .tmpro-place-delta-value{
    order:2 !important;
}
.tmpro-place-delta.is-gain{
    color:#20f07a !important;
}
.tmpro-place-delta.is-loss{
    color:#ff4f4f !important;
}
.tmpro-place-delta.is-same{display:none !important;}
@media (max-width:1500px){
    .tmpro-left-head-row,
    .tmpro-left-table-head,
    .tmpro-driver-list-pro .tmpro-driver-row,
    .tmpro-driver-list .tmpro-driver-row,
    .tmpro-left .tmpro-driver-row,
    .tmpro-left .tmpro-driver-row.tmpro-pro-row{
        grid-template-columns:42px 54px minmax(90px,1fr) 66px 66px 78px !important;
        gap:7px !important;
    }
}
@media (max-width:1100px){
    .tmpro-race-weather > .tmpro-weather-extra,
    .tmpro-weather-extra-inline{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}
    .tmpro-left-head-row,
    .tmpro-left-table-head,
    .tmpro-driver-list-pro .tmpro-driver-row,
    .tmpro-driver-list .tmpro-driver-row,
    .tmpro-left .tmpro-driver-row,
    .tmpro-left .tmpro-driver-row.tmpro-pro-row{
        grid-template-columns:40px 52px minmax(0,1fr) 76px !important;
    }
    .tmpro-driver-gap-leader,.tmpro-driver-interval-only{display:none !important;}
    .tmpro-driver-lasttime{grid-column:4 !important;}
}


/* Patch lisibilité TrackMap : distance et temps session complets */
.tmpro-mini-stat-time .tmpro-stat-content strong,
.tmpro-mini-stat .tmpro-stat-content strong#tmproFooterDistance{
    font-size:clamp(1.05rem,1.15vw,1.38rem);
    letter-spacing:.01em;
}

.tmpro-mini-stat .tmpro-stat-content{
    overflow:visible;
}

@media (max-width:1500px){
    .tmpro-map-footer{
        grid-template-columns:repeat(2,minmax(180px,1fr));
    }
}

/* SRH v0.78 - Bloc météo LMU Drive style (remplace gains/pertes globales) */
.tmpro-lmudrive-weather{
    grid-column:span 2;
    min-height:76px;
    display:grid;
    grid-template-columns:84px minmax(0,1fr);
    gap:10px;
    align-items:center;
    padding:8px 12px;
    border-radius:8px;
    background:radial-gradient(circle at 0 0,rgba(47,155,255,.12),transparent 42%),
        linear-gradient(180deg,rgba(11,17,26,.96),rgba(4,8,13,.98));
    border:1px solid rgba(255,255,255,.075);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 12px 28px rgba(0,0,0,.32);
    overflow:hidden;
}
.tmpro-lmudrive-left{
    display:grid;
    grid-template-rows:1fr 1fr 1fr;
    gap:2px;
    min-width:0;
    color:#f7f8fb;
    font-family:Saira Condensed,Arial,sans-serif;
    font-weight:1000;
    font-variant-numeric:tabular-nums;
}
.tmpro-lmudrive-left > div{
    display:flex;
    align-items:center;
    gap:5px;
    min-width:0;
    line-height:1;
}
.tmpro-lmudrive-left strong{
    font-size:1.02rem;
    white-space:nowrap;
}
.tmpro-weather-mini-icon{
    width:17px;
    display:inline-flex;
    justify-content:center;
    font-size:.82rem;
    filter:drop-shadow(0 0 8px rgba(47,155,255,.65));
}
.tmpro-wind-arrow{
    width:17px;
    display:inline-flex;
    justify-content:center;
    color:#9bd0ff;
    font-size:1rem;
    font-weight:1000;
    filter:drop-shadow(0 0 8px rgba(47,155,255,.55));
    transform-origin:center;
}
.tmpro-lmudrive-forecast{
    display:grid;
    grid-template-columns:repeat(6,minmax(38px,1fr));
    gap:5px;
    min-width:0;
    align-items:center;
}
.tmpro-lmudrive-slot{
    min-width:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:2px;
    line-height:1;
    font-family:Saira Condensed,Arial,sans-serif;
    font-weight:1000;
    color:#f7f8fb;
}
.tmpro-lmudrive-slot b{
    font-size:.78rem;
    color:#e5ebf6;
    font-variant-numeric:tabular-nums;
    white-space:nowrap;
}
.tmpro-lmudrive-slot span{
    font-size:1.28rem;
    line-height:1;
    filter:drop-shadow(0 0 8px rgba(255,212,0,.28));
}
.tmpro-lmudrive-slot strong{
    font-size:.9rem;
    color:#fff;
    white-space:nowrap;
    font-variant-numeric:tabular-nums;
}
.tmpro-lmudrive-slot.is-rain span{filter:drop-shadow(0 0 9px rgba(47,155,255,.55));}
.tmpro-lmudrive-slot.is-cloud span{filter:drop-shadow(0 0 9px rgba(210,220,235,.25));}
.tmpro-lmudrive-slot.is-sun span{filter:drop-shadow(0 0 10px rgba(255,212,0,.65));}

@media (max-width:1500px){
    .tmpro-lmudrive-forecast{grid-template-columns:repeat(5,minmax(36px,1fr));}
    .tmpro-lmudrive-slot:nth-child(n+6){display:none;}
}
@media (max-width:1180px){
    .tmpro-lmudrive-weather{grid-column:1 / -1;}
}



/* SRH météo SVG pack - bloc météo gauche façon LMU Drive */
.tmpro-lmudrive-weather{
    grid-template-columns:98px minmax(0,1fr)!important;
    min-height:92px!important;
    padding:12px 14px!important;
    border-radius:18px!important;
    background:
        radial-gradient(circle at 9% 20%,rgba(29,161,255,.18),transparent 34%),
        linear-gradient(180deg,rgba(11,24,39,.98),rgba(3,9,18,.99))!important;
    border:1px solid rgba(145,190,230,.13)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.055),0 14px 34px rgba(0,0,0,.38)!important;
}
.tmpro-lmudrive-left{
    gap:7px!important;
    padding-right:13px!important;
    border-right:1px solid rgba(125,180,230,.26)!important;
}
.tmpro-lmudrive-left > div{
    gap:9px!important;
}
.tmpro-lmudrive-left strong{
    font-size:1.28rem!important;
    color:#fff!important;
    text-shadow:0 0 14px rgba(255,255,255,.18)!important;
}
.tmpro-weather-mini-icon,
.tmpro-wind-arrow{
    width:28px!important;
    height:28px!important;
    flex:0 0 28px!important;
    align-items:center!important;
    justify-content:center!important;
}
.tmpro-weather-mini-icon img,
.tmpro-wind-arrow img,
.tmpro-weather-svg{
    display:block!important;
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    filter:drop-shadow(0 0 10px rgba(29,171,255,.55))!important;
}
.tmpro-wind-arrow{
    transition:transform .25s ease!important;
}
.tmpro-lmudrive-forecast{
    grid-template-columns:repeat(5,minmax(58px,1fr))!important;
    gap:0!important;
    height:100%;
}
.tmpro-lmudrive-slot{
    min-height:72px!important;
    padding:0 10px!important;
    gap:5px!important;
    border-left:1px solid rgba(125,180,230,.18)!important;
}
.tmpro-lmudrive-slot:first-child{
    border-left:0!important;
}
.tmpro-lmudrive-slot b{
    font-size:1.08rem!important;
    color:#f7fbff!important;
    text-shadow:0 0 14px rgba(255,255,255,.14)!important;
}
.tmpro-lmudrive-slot span{
    width:44px!important;
    height:34px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:0!important;
    filter:none!important;
}
.tmpro-lmudrive-slot strong{
    font-size:1.24rem!important;
    line-height:1!important;
    color:#fff!important;
    text-shadow:0 0 14px rgba(255,255,255,.16)!important;
}
.tmpro-lmudrive-slot.is-rain .tmpro-weather-svg{filter:drop-shadow(0 0 11px rgba(0,174,255,.70))!important;}
.tmpro-lmudrive-slot.is-cloud .tmpro-weather-svg{filter:drop-shadow(0 0 10px rgba(222,232,255,.28))!important;}
.tmpro-lmudrive-slot.is-sun .tmpro-weather-svg{filter:drop-shadow(0 0 12px rgba(255,196,0,.65))!important;}

@media (max-width:1500px){
    .tmpro-lmudrive-forecast{grid-template-columns:repeat(5,minmax(46px,1fr))!important;}
    .tmpro-lmudrive-slot:nth-child(n+6){display:none!important;}
    .tmpro-lmudrive-slot{padding:0 6px!important;}
    .tmpro-lmudrive-slot span{width:38px!important;height:30px!important;}
}


/* SRH v106 - Gain/Loss lisible sous la position + team TrackMap plus visible */
.tmpro-left-pos,
.tmpro-driver-row > b:first-child{
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:0 !important;
    line-height:.95 !important;
}
.tmpro-place-delta{
    display:inline-flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:center !important;
    min-width:24px !important;
    width:auto !important;
    height:12px !important;
    margin:1px 0 0 0 !important;
    gap:2px !important;
    transform:none !important;
    line-height:1 !important;
}
.tmpro-place-delta-arrow,
.tmpro-place-delta-value{
    display:inline-block !important;
    font-size:.68rem !important;
    line-height:1 !important;
    order:initial !important;
}
.tmpro-place-delta.is-loss .tmpro-place-delta-value,
.tmpro-place-delta.is-loss .tmpro-place-delta-arrow,
.tmpro-place-delta.is-gain .tmpro-place-delta-arrow,
.tmpro-place-delta.is-gain .tmpro-place-delta-value{
    order:initial !important;
}
.tmpro-left .tmpro-driver-team,
.tmpro-driver-list-pro .tmpro-driver-team{
    color:#ff8a1f !important;
    font-size:.72rem !important;
    font-weight:900 !important;
    line-height:1.08 !important;
}

/* SRH v0.94 - Météo TrackMap LMU REST complète */
.tmpro-lmudrive-weather{
    grid-template-columns:112px minmax(0,1fr)!important;
}
.tmpro-lmudrive-slot em{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:34px!important;
    padding:2px 6px!important;
    border-radius:999px!important;
    font-style:normal!important;
    font-size:.78rem!important;
    line-height:1!important;
    font-weight:1000!important;
    color:#8fd7ff!important;
    background:rgba(47,155,255,.13)!important;
    border:1px solid rgba(47,155,255,.22)!important;
    box-shadow:0 0 10px rgba(47,155,255,.10)!important;
}
.tmpro-lmudrive-slot.is-rain em{
    color:#d7f3ff!important;
    background:rgba(0,174,255,.24)!important;
    border-color:rgba(0,174,255,.42)!important;
}
.tmpro-lmudrive-slot b{
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
}
@media (max-width:1500px){
    .tmpro-lmudrive-weather{grid-template-columns:104px minmax(0,1fr)!important;}
    .tmpro-lmudrive-slot em{font-size:.72rem!important;padding:2px 5px!important;}
}


/* SRH v0.99 - TrackMap météo identique LMU REST Dashboard, sans fallback RaceLive */
.tmpro-lmu-rest-weather-card{
    grid-column:span 3;
    min-height:168px;
    padding:16px;
    border-radius:18px;
    background:linear-gradient(180deg,rgba(17,24,37,.96),rgba(8,13,21,.98));
    border:1px solid rgba(255,255,255,.085);
    box-shadow:0 18px 46px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.035);
    color:#eef3ff;
    overflow:hidden;
}
.tmpro-lmu-rest-weather-loading{color:#8f9bad;font-weight:900;padding:12px;border:1px dashed rgba(255,255,255,.12);border-radius:12px}
.tmpro-lmu-weather-main{display:grid;grid-template-columns:156px 1fr;gap:12px;margin-bottom:12px}.tmpro-lmu-weather-now{text-align:center;background:linear-gradient(180deg,rgba(38,48,65,.72),rgba(13,19,31,.92));border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:10px;min-height:138px;display:flex;flex-direction:column;justify-content:center;box-shadow:inset 0 0 28px rgba(255,255,255,.025)}.tmpro-lmu-weather-now.dry{border-color:rgba(96,165,250,.20);background:linear-gradient(180deg,rgba(35,52,78,.74),rgba(12,19,31,.94))}.tmpro-lmu-weather-now.wet{border-color:rgba(56,189,248,.26);background:linear-gradient(180deg,rgba(18,72,96,.62),rgba(10,24,37,.94))}.tmpro-lmu-weather-now.rain{border-color:rgba(59,130,246,.34);background:linear-gradient(180deg,rgba(20,64,125,.72),rgba(9,20,42,.96))}.tmpro-lmu-weather-now.storm{border-color:rgba(245,158,11,.38);background:linear-gradient(180deg,rgba(103,54,15,.74),rgba(28,17,16,.96))}.tmpro-lmu-weather-icon{font-size:40px;line-height:1;filter:drop-shadow(0 0 12px rgba(147,197,253,.22))}.tmpro-lmu-weather-temp{font-size:30px;font-weight:950;margin-top:7px}.tmpro-lmu-weather-desc{color:#d5deee;font-weight:950;line-height:1.18;font-size:12px;text-transform:uppercase}.tmpro-lmu-weather-desc b{display:block;color:#fff}.tmpro-lmu-weather-desc span{display:block;color:#9fb0c9;margin-top:2px;text-transform:none}.tmpro-lmu-mini-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:8px}.tmpro-lmu-mini-metrics div{border:1px solid rgba(255,255,255,.07);background:rgba(0,0,0,.14);border-radius:8px;padding:5px 4px;min-width:0}.tmpro-lmu-mini-metrics i{display:block;font-style:normal;font-size:13px;line-height:1}.tmpro-lmu-mini-metrics b{display:block;color:#f4f7ff;font-size:11px;line-height:1.15;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tmpro-lmu-mini-metrics span{display:block;color:#8d9bb0;font-size:9px;font-weight:900;line-height:1.1;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tmpro-lmu-kv{display:grid;gap:0}.tmpro-lmu-row{display:flex;justify-content:space-between;gap:14px;padding:8px 0;border-bottom:1px solid rgba(255,255,255,.065);align-items:center}.tmpro-lmu-row span:first-child{color:#8f9bad}.tmpro-lmu-row span:last-child{text-align:right;font-weight:950;color:#e8edf7}.tmpro-lmu-weather-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0 10px}.tmpro-lmu-weather-tabs span{border:1px solid rgba(255,255,255,.1);border-radius:999px;padding:4px 8px;font-size:11px;font-weight:950;color:#9aa5b8}.tmpro-lmu-weather-tabs span.active{background:rgba(255,102,0,.18);border-color:rgba(255,102,0,.35);color:#ffb16d}.tmpro-lmu-forecast-row{display:grid;grid-template-columns:repeat(5,minmax(70px,1fr));gap:8px}.tmpro-lmu-forecast-node{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.07);border-radius:10px;text-align:center;padding:9px;min-height:124px}.tmpro-lmu-forecast-node .time{font-size:12px;color:#aab4c5;font-weight:950}.tmpro-lmu-forecast-node .icon{font-size:23px;margin:4px 0;line-height:1}.tmpro-lmu-forecast-node .temp{font-weight:950}.tmpro-lmu-forecast-node .rain{font-size:12px;color:#72caff;font-weight:950}.tmpro-lmu-forecast-node .meta{font-size:11px;color:#8f9bad;font-weight:800;margin-top:3px;line-height:1.25}.tmpro-lmu-forecast-node.risk{border-color:rgba(59,130,246,.55);background:rgba(59,130,246,.12);box-shadow:0 0 18px rgba(59,130,246,.14)}.tmpro-lmu-weather-alert{margin-top:10px;border:1px solid rgba(255,193,7,.28);background:rgba(255,193,7,.10);border-radius:12px;padding:10px;color:#ffd166;font-weight:950}.tmpro-lmu-weather-alert.safe{border-color:rgba(34,197,94,.25);background:rgba(34,197,94,.10);color:#68ff9b}
@media(max-width:1500px){.tmpro-lmu-rest-weather-card{grid-column:1 / -1}.tmpro-lmu-forecast-row{grid-template-columns:repeat(5,minmax(64px,1fr))}}@media(max-width:760px){.tmpro-lmu-weather-main{grid-template-columns:1fr}.tmpro-lmu-forecast-row{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* SRH FIX SIMPLE 2026-06-02 - Layout bas TrackMap sans toucher JS/animation
   Objectif demandé : Weather à gauche, météo LMU REST à droite, incidents dessous, bloc Pit retiré. */
.tmpro-race-stats-bar.tmpro-race-stats-bar-bottom.tmpro-weather-layout-clean{
    display:grid!important;
    grid-template-columns:minmax(420px,0.92fr) minmax(560px,1.35fr)!important;
    grid-template-areas:
        "weather rest"
        "incidents rest";
    gap:10px!important;
    align-items:stretch!important;
}
.tmpro-weather-layout-clean .tmpro-weather-left{grid-area:weather;min-width:0;display:flex;}
.tmpro-weather-layout-clean .tmpro-weather-right{grid-area:rest;min-width:0;display:flex;}
.tmpro-weather-layout-clean .tmpro-incidents-row{grid-area:incidents;min-width:0;display:flex;}
.tmpro-weather-layout-clean .tmpro-race-weather,
.tmpro-weather-layout-clean .tmpro-race-stat.incident,
.tmpro-weather-layout-clean .tmpro-lmu-rest-weather-card{width:100%;}
.tmpro-weather-layout-clean .tmpro-race-weather{min-height:78px!important;}
.tmpro-weather-layout-clean .tmpro-race-stat.incident{min-height:70px!important;}
.tmpro-weather-layout-clean .tmpro-lmu-rest-weather-card{
    grid-column:auto!important;
    min-height:156px!important;
    padding:12px!important;
}
.tmpro-weather-layout-clean .tmpro-lmu-weather-main{grid-template-columns:96px minmax(0,1fr)!important;gap:10px!important;margin-bottom:8px!important;}
.tmpro-weather-layout-clean .tmpro-lmu-weather-now{min-height:112px!important;padding:10px!important;}
.tmpro-weather-layout-clean .tmpro-lmu-weather-icon{font-size:30px!important;}
.tmpro-weather-layout-clean .tmpro-lmu-weather-temp{font-size:25px!important;margin-top:5px!important;}
.tmpro-weather-layout-clean .tmpro-lmu-weather-desc{font-size:12px!important;}
.tmpro-weather-layout-clean .tmpro-lmu-row{padding:5px 0!important;font-size:12px!important;}
.tmpro-weather-layout-clean .tmpro-lmu-weather-tabs{margin:6px 0 8px!important;}
.tmpro-weather-layout-clean .tmpro-lmu-weather-tabs span{font-size:10px!important;padding:3px 7px!important;}
.tmpro-weather-layout-clean .tmpro-lmu-forecast-row{grid-template-columns:repeat(5,minmax(54px,1fr))!important;gap:6px!important;}
.tmpro-weather-layout-clean .tmpro-lmu-forecast-node{min-height:92px!important;padding:7px 5px!important;}
.tmpro-weather-layout-clean .tmpro-lmu-forecast-node .time{font-size:10px!important;}
.tmpro-weather-layout-clean .tmpro-lmu-forecast-node .icon{font-size:19px!important;margin:3px 0!important;}
.tmpro-weather-layout-clean .tmpro-lmu-forecast-node .temp{font-size:13px!important;}
.tmpro-weather-layout-clean .tmpro-lmu-forecast-node .rain{font-size:10px!important;}
.tmpro-weather-layout-clean .tmpro-lmu-forecast-node .meta{font-size:9px!important;}
.tmpro-weather-layout-clean .tmpro-lmu-weather-alert{margin-top:8px!important;padding:7px 9px!important;font-size:11px!important;}
@media(max-width:1500px){
    .tmpro-race-stats-bar.tmpro-race-stats-bar-bottom.tmpro-weather-layout-clean{
        grid-template-columns:1fr!important;
        grid-template-areas:"weather" "rest" "incidents"!important;
    }
}
@media(max-width:760px){
    .tmpro-weather-layout-clean .tmpro-lmu-weather-main{grid-template-columns:1fr!important;}
    .tmpro-weather-layout-clean .tmpro-race-weather{grid-template-columns:1fr!important;}
}

/* SRH FIX SIMPLE 2026-06-02 - Layout bas TrackMap sans toucher JS/animation
   Demande: retirer PIT, garder Weather à gauche, bloc météo LMU REST à droite, Incidents dessous. */
.tmpro-race-stats-bar.tmpro-race-stats-bar-bottom.tmpro-weather-layout-clean{
    display:grid!important;
    grid-template-columns:minmax(420px,.92fr) minmax(560px,1.35fr)!important;
    grid-template-areas:
        "weather rest"
        "incidents rest";
    gap:10px!important;
    align-items:stretch!important;
}
.tmpro-weather-layout-clean .tmpro-weather-left{grid-area:weather;min-width:0;display:flex;}
.tmpro-weather-layout-clean .tmpro-weather-right{grid-area:rest;min-width:0;display:flex;}
.tmpro-weather-layout-clean .tmpro-incidents-row{grid-area:incidents;min-width:0;display:flex;}
.tmpro-weather-layout-clean .tmpro-race-weather,
.tmpro-weather-layout-clean .tmpro-race-stat.incident,
.tmpro-weather-layout-clean .tmpro-lmu-rest-weather-card{width:100%;}
.tmpro-weather-layout-clean .tmpro-race-weather{min-height:78px!important;}
.tmpro-weather-layout-clean .tmpro-race-stat.incident{min-height:70px!important;}
.tmpro-weather-layout-clean .tmpro-lmu-rest-weather-card{
    grid-column:auto!important;
    min-height:156px!important;
    padding:12px!important;
}
.tmpro-weather-layout-clean .tmpro-lmu-weather-main{grid-template-columns:96px minmax(0,1fr)!important;gap:10px!important;margin-bottom:8px!important;}
.tmpro-weather-layout-clean .tmpro-lmu-weather-now{min-height:112px!important;padding:10px!important;}
.tmpro-weather-layout-clean .tmpro-lmu-weather-icon{font-size:30px!important;}
.tmpro-weather-layout-clean .tmpro-lmu-weather-temp{font-size:25px!important;margin-top:5px!important;}
.tmpro-weather-layout-clean .tmpro-lmu-weather-desc{font-size:12px!important;}
.tmpro-weather-layout-clean .tmpro-lmu-row{padding:5px 0!important;font-size:12px!important;}
.tmpro-weather-layout-clean .tmpro-lmu-weather-tabs{margin:6px 0 8px!important;}
.tmpro-weather-layout-clean .tmpro-lmu-weather-tabs span{font-size:10px!important;padding:3px 7px!important;}
.tmpro-weather-layout-clean .tmpro-lmu-forecast-row{grid-template-columns:repeat(5,minmax(54px,1fr))!important;gap:6px!important;}
.tmpro-weather-layout-clean .tmpro-lmu-forecast-node{min-height:92px!important;padding:7px 5px!important;}
.tmpro-weather-layout-clean .tmpro-lmu-forecast-node .time{font-size:10px!important;}
.tmpro-weather-layout-clean .tmpro-lmu-forecast-node .icon{font-size:19px!important;margin:3px 0!important;}
.tmpro-weather-layout-clean .tmpro-lmu-forecast-node .temp{font-size:13px!important;}
.tmpro-weather-layout-clean .tmpro-lmu-forecast-node .rain{font-size:10px!important;}
.tmpro-weather-layout-clean .tmpro-lmu-forecast-node .meta{font-size:9px!important;}
.tmpro-weather-layout-clean .tmpro-lmu-weather-alert{margin-top:8px!important;padding:7px 9px!important;font-size:11px!important;}
@media(max-width:1500px){
    .tmpro-race-stats-bar.tmpro-race-stats-bar-bottom.tmpro-weather-layout-clean{
        grid-template-columns:1fr!important;
        grid-template-areas:"weather" "rest" "incidents"!important;
    }
}
@media(max-width:760px){
    .tmpro-weather-layout-clean .tmpro-lmu-weather-main{grid-template-columns:1fr!important;}
    .tmpro-weather-layout-clean .tmpro-race-weather{grid-template-columns:1fr!important;}
}

/* SRH FIX 2026-06-02 - Météo LMU REST dynamique: le créneau actif suit la progression de session */
.tmpro-lmu-forecast-node.active-now{
    border-color:rgba(255,102,0,.72)!important;
    background:linear-gradient(180deg,rgba(255,102,0,.22),rgba(255,102,0,.08))!important;
    box-shadow:0 0 18px rgba(255,102,0,.18)!important;
}
.tmpro-lmu-forecast-node.active-now .time{color:#ffb16d!important;}

/* SRH LMU pseudo radar météo propre - ajouté sur base stable */
.tmpro-lmu-radar{
  position:relative;
  margin:8px 0 9px;
  padding:9px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:13px;
  background:radial-gradient(circle at 50% 46%,rgba(20,39,62,.95),rgba(5,9,17,.96) 72%);
  overflow:hidden;
  box-shadow:inset 0 0 28px rgba(59,130,246,.08);
}
.tmpro-lmu-radar.safe{border-color:rgba(34,197,94,.18)}
.tmpro-lmu-radar.warn{border-color:rgba(245,158,11,.26);box-shadow:inset 0 0 30px rgba(245,158,11,.08)}
.tmpro-lmu-radar.danger{border-color:rgba(239,68,68,.32);box-shadow:inset 0 0 34px rgba(239,68,68,.10)}
.tmpro-lmu-radar-head,.tmpro-lmu-radar-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;position:relative;z-index:2}
.tmpro-lmu-radar-head span{font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.08em;color:#d9e4f7}
.tmpro-lmu-radar-head b{font-size:10px;font-weight:950;color:#72caff;text-transform:uppercase}
.tmpro-lmu-radar-foot{margin-top:6px;color:#8fa0b8;font-size:10px;font-weight:900;text-transform:uppercase}
.tmpro-lmu-radar-screen{height:134px;margin-top:7px;border-radius:12px;position:relative;overflow:hidden;background:radial-gradient(circle at 50% 50%,rgba(24,50,72,.55),rgba(4,8,15,.94) 70%);border:1px solid rgba(255,255,255,.07)}
.tmpro-lmu-radar-grid{position:absolute;inset:0;background:linear-gradient(90deg,transparent 49.7%,rgba(255,255,255,.10) 50%,transparent 50.3%),linear-gradient(0deg,transparent 49.7%,rgba(255,255,255,.10) 50%,transparent 50.3%);opacity:.75}
.tmpro-lmu-radar-ring{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border:1px solid rgba(205,226,255,.22);border-radius:999px;pointer-events:none}.tmpro-lmu-radar-ring.r1{width:34%;height:34%}.tmpro-lmu-radar-ring.r2{width:62%;height:62%}.tmpro-lmu-radar-ring.r3{width:90%;height:90%}
.tmpro-lmu-radar-compass{position:absolute;z-index:3;color:#dbe8ff;font-size:10px;font-weight:950;text-shadow:0 0 8px rgba(0,0,0,.8)}.tmpro-lmu-radar-compass.n{left:50%;top:4px;transform:translateX(-50%)}.tmpro-lmu-radar-compass.s{left:50%;bottom:4px;transform:translateX(-50%)}.tmpro-lmu-radar-compass.e{right:6px;top:50%;transform:translateY(-50%)}.tmpro-lmu-radar-compass.w{left:6px;top:50%;transform:translateY(-50%)}
.tmpro-lmu-radar-sweep{position:absolute;left:50%;top:50%;width:120%;height:120%;transform-origin:0 0;background:conic-gradient(from 0deg,rgba(59,130,246,.24),rgba(59,130,246,.04) 32deg,transparent 58deg);animation:tmproRadarSweep 5.5s linear infinite;mix-blend-mode:screen;opacity:.9}.tmpro-lmu-radar-wind{position:absolute;left:50%;top:50%;z-index:4;width:42%;height:2px;transform-origin:0 50%;transform:rotate(var(--wind-deg));background:linear-gradient(90deg,rgba(255,255,255,.9),rgba(56,189,248,.85),transparent);filter:drop-shadow(0 0 6px rgba(56,189,248,.55))}.tmpro-lmu-radar-wind span{position:absolute;right:-3px;top:-4px;border-left:9px solid rgba(56,189,248,.95);border-top:5px solid transparent;border-bottom:5px solid transparent}
.tmpro-lmu-radar-track{position:absolute;left:50%;top:50%;z-index:5;width:42%;height:42%;transform:translate(-50%,-50%);filter:drop-shadow(0 0 8px rgba(255,102,0,.22))}.tmpro-lmu-radar-track path:first-child{fill:none;stroke:rgba(255,255,255,.86);stroke-width:5;stroke-linecap:round;stroke-linejoin:round}.tmpro-lmu-radar-track path:last-child{fill:none;stroke:rgba(255,102,0,.62);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tmpro-lmu-radar-cell{position:absolute;z-index:2;left:var(--x);top:var(--y);width:var(--s);height:calc(var(--s) * .72);border-radius:999px;transform:translate(-50%,-50%);filter:blur(1px) drop-shadow(0 0 7px currentColor);opacity:.84;animation:tmproRadarCellDrift 7.5s ease-in-out infinite;animation-delay:var(--d)}.tmpro-lmu-radar-cell.none{opacity:.18;background:rgba(59,130,246,.35);color:#38bdf8}.tmpro-lmu-radar-cell.light{background:rgba(34,211,238,.72);color:#22d3ee}.tmpro-lmu-radar-cell.moderate{background:rgba(74,222,128,.78);color:#4ade80}.tmpro-lmu-radar-cell.heavy{background:rgba(251,191,36,.82);color:#fbbf24}.tmpro-lmu-radar-cell.storm{background:rgba(248,113,113,.86);color:#f87171}.tmpro-lmu-radar-cell.active{outline:1px solid rgba(255,255,255,.82);outline-offset:2px}
@keyframes tmproRadarSweep{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@keyframes tmproRadarCellDrift{0%,100%{transform:translate(-50%,-50%) scale(1);opacity:.72}50%{transform:translate(calc(-50% + 7px),calc(-50% - 3px)) scale(1.08);opacity:.95}}
.tmpro-weather-layout-clean .tmpro-lmu-radar-screen{height:118px}.tmpro-weather-layout-clean .tmpro-lmu-radar{margin:7px 0 8px;padding:8px}.tmpro-weather-layout-clean .tmpro-lmu-radar-foot{font-size:9px}.tmpro-weather-layout-clean .tmpro-lmu-radar-head b{font-size:9px}
@media(max-width:760px){.tmpro-lmu-radar-screen{height:120px}.tmpro-lmu-radar-foot{flex-direction:column;align-items:flex-start;gap:2px}}

/* SRH Radar LMU : circuit réel + zoom + légende */
.tmpro-lmu-radar-screen{height:164px;}
.tmpro-weather-layout-clean .tmpro-lmu-radar-screen{height:152px;}
.tmpro-lmu-radar-range{position:absolute;left:50%;transform:translateX(-50%);z-index:3;color:rgba(219,232,255,.72);font-size:9px;font-weight:950;text-shadow:0 0 8px rgba(0,0,0,.9);pointer-events:none}.tmpro-lmu-radar-range.rg1{top:50%;margin-top:-17%}.tmpro-lmu-radar-range.rg2{top:50%;margin-top:-31%}.tmpro-lmu-radar-range.rg3{top:6px}
.tmpro-lmu-radar-track.real{width:46%;height:46%;overflow:visible;}
.tmpro-lmu-radar-track.real path:first-child{stroke:rgba(255,255,255,.90);stroke-width:3.4;filter:drop-shadow(0 0 5px rgba(255,255,255,.18));}
.tmpro-lmu-radar-track.real path:last-child{stroke:rgba(255,102,0,.92);stroke-width:1.25;stroke-dasharray:2.8 2.8;opacity:.95;}
.tmpro-lmu-radar-track.fallback{width:42%;height:42%;}
.tmpro-lmu-radar-tools{position:absolute;right:7px;bottom:7px;z-index:8;display:flex;align-items:center;gap:5px;background:rgba(2,6,15,.72);border:1px solid rgba(255,255,255,.11);border-radius:999px;padding:3px 5px;backdrop-filter:blur(5px)}.tmpro-lmu-radar-tools button{width:20px;height:20px;border:0;border-radius:999px;background:rgba(255,255,255,.10);color:#eaf3ff;font-weight:950;cursor:pointer;line-height:20px}.tmpro-lmu-radar-tools button:hover{background:rgba(255,102,0,.35)}.tmpro-lmu-radar-tools span{min-width:34px;text-align:center;color:#aebbd0;font-size:9px;font-weight:950}
.tmpro-lmu-radar-legend{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;margin-top:7px;position:relative;z-index:2}.tmpro-lmu-radar-legend span{display:flex;align-items:center;justify-content:center;gap:4px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04);border-radius:8px;padding:5px 4px;color:#aebbd0;font-size:9px;font-weight:950;text-transform:uppercase;white-space:nowrap}.tmpro-lmu-radar-legend i{width:10px;height:10px;border-radius:999px;display:inline-block;box-shadow:0 0 8px currentColor}.tmpro-lmu-radar-legend i.none{background:#2563eb;color:#38bdf8}.tmpro-lmu-radar-legend i.light{background:#22d3ee;color:#22d3ee}.tmpro-lmu-radar-legend i.moderate{background:#4ade80;color:#4ade80}.tmpro-lmu-radar-legend i.heavy{background:#fbbf24;color:#fbbf24}.tmpro-lmu-radar-legend i.storm{background:#f87171;color:#f87171}.tmpro-lmu-radar-legend .wind{color:#72caff}
@media(max-width:760px){.tmpro-lmu-radar-legend{grid-template-columns:repeat(3,1fr)}.tmpro-lmu-radar-screen,.tmpro-weather-layout-clean .tmpro-lmu-radar-screen{height:145px}}


/* SRH radar météo réaliste : circuit même sens que TrackMap, sans boutons */
.tmpro-lmu-radar-screen{
  background:
    radial-gradient(circle at 50% 50%,rgba(20,52,72,.70),rgba(5,10,18,.96) 62%,rgba(2,5,10,.98) 100%),
    linear-gradient(135deg,rgba(15,45,66,.22),rgba(0,0,0,0));
}
.tmpro-lmu-radar-screen::before{
  content:"";position:absolute;inset:-18%;z-index:0;pointer-events:none;
  background:
    radial-gradient(circle at 22% 30%,rgba(41,83,110,.30),transparent 18%),
    radial-gradient(circle at 78% 68%,rgba(41,83,110,.18),transparent 24%),
    repeating-linear-gradient(25deg,rgba(255,255,255,.025) 0 1px,transparent 1px 14px);
  opacity:.55;filter:blur(.4px);
}
.tmpro-lmu-radar-grid{z-index:1;opacity:.58;background:
  linear-gradient(90deg,transparent 49.85%,rgba(207,229,255,.18) 50%,transparent 50.15%),
  linear-gradient(0deg,transparent 49.85%,rgba(207,229,255,.18) 50%,transparent 50.15%);
}
.tmpro-lmu-radar-ring{z-index:1;border-color:rgba(210,230,255,.30)}
.tmpro-lmu-radar-sweep{z-index:3;opacity:.55;animation-duration:7.5s;background:conic-gradient(from -8deg,rgba(95,175,255,.22),rgba(95,175,255,.055) 24deg,transparent 49deg)}
.tmpro-lmu-radar-cell{z-index:2;width:var(--w);height:var(--h);border-radius:48% 52% 55% 45%;transform:translate(-50%,-50%) rotate(var(--rot));filter:blur(7px) saturate(1.18) drop-shadow(0 0 12px currentColor);opacity:.70;mix-blend-mode:screen;animation:tmproRadarRainMassDrift 16s ease-in-out infinite;animation-delay:var(--d)}
.tmpro-lmu-radar-cell::after{content:"";position:absolute;inset:28% 30%;border-radius:999px;background:rgba(255,255,255,.22);filter:blur(6px);opacity:.45}
.tmpro-lmu-radar-cell.none{opacity:.16;background:rgba(37,99,235,.40);color:#2563eb}.tmpro-lmu-radar-cell.light{background:rgba(34,211,238,.62);color:#22d3ee}.tmpro-lmu-radar-cell.moderate{background:rgba(74,222,128,.68);color:#4ade80}.tmpro-lmu-radar-cell.heavy{background:rgba(251,191,36,.76);color:#fbbf24}.tmpro-lmu-radar-cell.storm{background:rgba(248,113,113,.84);color:#f87171}.tmpro-lmu-radar-cell.active{outline:0;box-shadow:0 0 24px currentColor, inset 0 0 18px rgba(255,255,255,.20)}
.tmpro-lmu-radar-track{z-index:6}.tmpro-lmu-radar-track.real{width:50%;height:50%;}.tmpro-lmu-radar-track.real path:first-child{stroke:rgba(255,255,255,.92);stroke-width:3.2;filter:drop-shadow(0 0 5px rgba(255,255,255,.24))}.tmpro-lmu-radar-track.real path:last-child{stroke:rgba(255,102,0,.96);stroke-width:1.15;stroke-dasharray:2.8 2.4;opacity:.98}
.tmpro-lmu-radar-wind{z-index:5;opacity:.95}
.tmpro-lmu-radar-compass.n{top:7px}.tmpro-lmu-radar-compass.s{bottom:7px}.tmpro-lmu-radar-compass.e{right:9px}.tmpro-lmu-radar-compass.w{left:9px}
.tmpro-lmu-radar-tools{display:none!important}
@keyframes tmproRadarRainMassDrift{0%,100%{translate:0 0;scale:1}35%{translate:10px -4px;scale:1.06}70%{translate:-7px 5px;scale:.98}}
/* Radar pluie dynamique: nappes = forecast, traits diagonaux = pluie réelle/probable poussée par le vent */
.tmpro-lmu-radar-rain{position:absolute;inset:0;z-index:4;pointer-events:none;opacity:var(--rain-alpha,.4);mix-blend-mode:screen;transform:rotate(var(--rain-angle,195deg));transform-origin:50% 50%;filter:drop-shadow(0 0 8px rgba(90,190,255,.45))}
.tmpro-lmu-radar-rain i{position:absolute;left:var(--rx);top:var(--ry);width:2px;height:var(--rl);border-radius:999px;background:linear-gradient(180deg,transparent,rgba(175,225,255,.98),rgba(54,165,255,.25));animation:tmproRadarRainFall 1.15s linear infinite;animation-delay:var(--rd)}
.tmpro-lmu-radar-rain.drizzle i{width:1px;opacity:.58}.tmpro-lmu-radar-rain.rain i{opacity:.72}.tmpro-lmu-radar-rain.heavy i{width:2px;opacity:.88}.tmpro-lmu-radar-rain.storm i{width:3px;opacity:.96;background:linear-gradient(180deg,transparent,rgba(255,255,255,.98),rgba(90,190,255,.35))}
.tmpro-lmu-radar-legend .rain{color:#aee8ff}
@keyframes tmproRadarRainFall{0%{transform:translateY(-22px);opacity:0}16%{opacity:1}100%{transform:translateY(42px);opacity:0}}

/* SRH layout météo sous TrackMap : gauche radar + DLL, droite REST */
.tmpro-weather-layout-clean{
  display:grid!important;
  grid-template-columns:minmax(420px,1fr) minmax(420px,1fr);
  align-items:stretch;
  gap:12px;
}
.tmpro-weather-layout-clean .tmpro-weather-left,
.tmpro-weather-layout-clean .tmpro-weather-right{
  min-width:0;
}
.tmpro-weather-layout-clean .tmpro-weather-left{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.tmpro-weather-layout-clean .tmpro-weather-right{
  display:block;
}
.tmpro-lmu-radar-slot .tmpro-lmu-rest-weather-loading{
  border:1px dashed rgba(255,255,255,.14);
  border-radius:12px;
  padding:14px;
  color:#9aa8bc;
  font-weight:900;
}
.tmpro-weather-layout-clean .tmpro-race-weather{
  margin:0;
}
.tmpro-weather-layout-clean .tmpro-incidents-row{display:none!important;}

/* SRH radar prédictif avec distances 0.5/1/2/4/6/10 km ou zoom 30 km */
.tmpro-lmu-radar-screen{
  height:230px!important;
  background:
    radial-gradient(circle at 50% 50%,rgba(32,75,105,.58),rgba(6,10,18,.96) 72%),
    repeating-linear-gradient(28deg,rgba(255,255,255,.025) 0 1px,transparent 1px 16px)!important;
}
.tmpro-lmu-radar-grid{
  z-index:1;
  background:
    linear-gradient(90deg,transparent 49.85%,rgba(210,230,255,.22) 50%,transparent 50.15%),
    linear-gradient(0deg,transparent 49.85%,rgba(210,230,255,.22) 50%,transparent 50.15%)!important;
  opacity:.62!important;
}
.tmpro-lmu-radar-ring.km{
  width:var(--rw)!important;
  height:var(--rh)!important;
  border-color:rgba(210,230,255,.28)!important;
  box-shadow:0 0 18px rgba(90,180,255,.045) inset;
}
.tmpro-lmu-radar-range.km{
  top:var(--rt)!important;
  margin-top:0!important;
  font-size:8px!important;
  color:rgba(222,236,255,.82)!important;
}
.tmpro-lmu-radar-track.real{width:34%!important;height:34%!important;}
.tmpro-lmu-radar-track.real path:first-child{stroke:rgba(255,255,255,.94)!important;stroke-width:3.4!important;}
.tmpro-lmu-radar-track.real path:last-child{stroke:rgba(255,102,0,.98)!important;stroke-width:1.3!important;}
.tmpro-lmu-radar-clear{
  position:absolute;left:50%;top:22%;transform:translateX(-50%);z-index:3;
  color:#8ea0b8;font-size:10px;font-weight:950;text-transform:uppercase;letter-spacing:.06em;
}
.tmpro-lmu-radar-cloud{
  position:absolute;z-index:2;left:var(--x);top:var(--y);width:var(--s);height:calc(var(--s) * .48);
  transform:translate(-50%,-50%);
  filter:drop-shadow(0 0 16px currentColor);
  opacity:.86;
  animation:tmproRadarCloudArrive 18s ease-in-out infinite;
  animation-delay:var(--d);
  pointer-events:auto;
}
.tmpro-lmu-radar-cloud::before,
.tmpro-lmu-radar-cloud::after,
.tmpro-lmu-radar-cloud b,
.tmpro-lmu-radar-cloud em{
  content:"";position:absolute;border-radius:999px;background:currentColor;display:block;
  filter:blur(2px);
}
.tmpro-lmu-radar-cloud::before{left:4%;top:35%;width:62%;height:52%;opacity:.85;}
.tmpro-lmu-radar-cloud::after{left:28%;top:13%;width:48%;height:58%;opacity:.90;}
.tmpro-lmu-radar-cloud b{left:58%;top:36%;width:38%;height:46%;opacity:.78;}
.tmpro-lmu-radar-cloud em{left:18%;top:53%;width:76%;height:27%;opacity:.48;}
.tmpro-lmu-radar-cloud.none{color:#3285ff;opacity:.18}
.tmpro-lmu-radar-cloud.light{color:#22d3ee;opacity:.60}
.tmpro-lmu-radar-cloud.moderate{color:#4ade80;opacity:.72}
.tmpro-lmu-radar-cloud.heavy{color:#fbbf24;opacity:.84}
.tmpro-lmu-radar-cloud.storm{color:#f87171;opacity:.92}
.tmpro-lmu-radar-cloud.live{left:50%!important;top:50%!important;filter:drop-shadow(0 0 20px currentColor) saturate(1.35)}
.tmpro-lmu-radar-sweep{opacity:.38!important;animation-duration:9s!important;}
.tmpro-lmu-radar-wind{z-index:5!important;width:35%!important;}
.tmpro-lmu-radar-foot{font-size:10px!important;}
.tmpro-lmu-radar-legend{grid-template-columns:repeat(6,minmax(0,1fr))!important;}
@keyframes tmproRadarCloudArrive{
  0%,100%{transform:translate(-50%,-50%) translate(0,0) scale(1)}
  50%{transform:translate(-50%,-50%) translate(-10px,4px) scale(1.04)}
}
@media(max-width:1050px){
  .tmpro-weather-layout-clean{grid-template-columns:1fr;}
  .tmpro-lmu-radar-screen{height:190px!important;}
}

/* SRH TEST radar météo prédictif 0.5-30 km : masses météo type radar, zoom molette uniquement */
.tmpro-lmu-radar{overflow:hidden}
.tmpro-lmu-radar-head b::after{content:'  · molette zoom';opacity:.55;font-size:8px;margin-left:5px}
.tmpro-lmu-radar-screen{
  height:300px!important;
  border-radius:18px!important;
  cursor:zoom-in;
  background:
    radial-gradient(circle at 50% 50%,rgba(12,30,45,.72),rgba(4,8,15,.96) 70%),
    repeating-linear-gradient(0deg,rgba(255,255,255,.025) 0 1px,transparent 1px 8px),
    repeating-linear-gradient(90deg,rgba(255,255,255,.018) 0 1px,transparent 1px 8px)!important;
}
.tmpro-lmu-radar-screen::after{
  content:'';position:absolute;left:50%;top:50%;width:4px;height:4px;border-radius:999px;background:#fff;box-shadow:0 0 10px rgba(255,255,255,.85);z-index:9;transform:translate(-50%,-50%);opacity:.85
}
.tmpro-lmu-radar-grid{opacity:.42!important;background:
  linear-gradient(90deg,transparent 49.86%,rgba(210,230,255,.18) 50%,transparent 50.14%),
  linear-gradient(0deg,transparent 49.86%,rgba(210,230,255,.18) 50%,transparent 50.14%)!important
}
.tmpro-lmu-radar-ring.km{border-color:rgba(210,230,255,.30)!important;background:radial-gradient(ellipse at center,transparent 67%,rgba(255,255,255,.025) 100%)}
.tmpro-lmu-radar-range.km{font-size:9px!important;color:rgba(228,238,255,.82)!important;background:rgba(2,6,15,.52);padding:1px 5px;border-radius:999px;z-index:8!important}
.tmpro-lmu-radar-compass{font-size:11px!important;color:#edf6ff!important;z-index:10!important}.tmpro-lmu-radar-compass.n{top:8px!important}.tmpro-lmu-radar-compass.s{bottom:8px!important}.tmpro-lmu-radar-compass.e{right:10px!important}.tmpro-lmu-radar-compass.w{left:10px!important}
.tmpro-lmu-radar-track.real{width:var(--track-size,30%)!important;height:var(--track-size,30%)!important;z-index:11!important;filter:drop-shadow(0 0 8px rgba(255,102,0,.45))}
.tmpro-lmu-radar-track.real path:first-child{stroke:rgba(255,255,255,.95)!important;stroke-width:3.2!important}.tmpro-lmu-radar-track.real path:last-child{stroke:rgba(255,102,0,.98)!important;stroke-width:1.35!important;stroke-dasharray:2.6 2.4!important}
.tmpro-lmu-radar-wind{width:48%!important;z-index:12!important;opacity:1!important;height:3px!important;background:linear-gradient(90deg,rgba(255,255,255,.95),rgba(56,189,248,1),rgba(56,189,248,.12))!important;box-shadow:0 0 14px rgba(56,189,248,.55)!important}.tmpro-lmu-radar-wind span{right:-6px!important;top:-6px!important;border-left-width:13px!important;border-top-width:7px!important;border-bottom-width:7px!important}.tmpro-lmu-radar-wind b{position:absolute;right:8px;top:-22px;color:#7dd3fc;font-size:9px;font-weight:950;text-shadow:0 0 8px #000;white-space:nowrap}.tmpro-lmu-radar-sweep{opacity:.26!important;animation-duration:12s!important}
.tmpro-lmu-radar-cloud{
  position:absolute!important;z-index:4!important;left:var(--x)!important;top:var(--y)!important;
  width:var(--s)!important;height:calc(var(--s) * .68)!important;border-radius:55% 45% 58% 42%!important;
  transform:translate(-50%,-50%) rotate(var(--rot,0deg))!important;
  filter:blur(2.2px) saturate(1.22) contrast(1.08) drop-shadow(0 0 10px currentColor)!important;
  opacity:var(--op,.86)!important;mix-blend-mode:screen!important;animation:tmproRadarMassFlow 13s ease-in-out infinite!important;animation-delay:var(--d)!important;
  background:
    radial-gradient(ellipse at 22% 45%,rgba(170,225,255,.62) 0 14%,transparent 28%),
    radial-gradient(ellipse at 43% 36%,rgba(66,211,238,.72) 0 18%,transparent 34%),
    radial-gradient(ellipse at 62% 55%,rgba(73,222,128,.56) 0 18%,transparent 36%),
    radial-gradient(ellipse at 74% 38%,rgba(251,191,36,.56) 0 11%,transparent 26%),
    radial-gradient(ellipse at 52% 50%,rgba(34,211,238,.46) 0 44%,transparent 72%)!important;
}
.tmpro-lmu-radar-cloud::before,.tmpro-lmu-radar-cloud::after,.tmpro-lmu-radar-cloud b,.tmpro-lmu-radar-cloud em,.tmpro-lmu-radar-cloud strong{content:''!important;position:absolute!important;border-radius:999px!important;inset:auto!important;display:block!important;filter:blur(3px)!important;opacity:.8!important;mix-blend-mode:screen!important}
.tmpro-lmu-radar-cloud::before{left:8%!important;top:20%!important;width:44%!important;height:44%!important;background:rgba(180,230,255,.45)!important}
.tmpro-lmu-radar-cloud::after{right:8%!important;top:20%!important;width:38%!important;height:50%!important;background:rgba(60,210,238,.48)!important}
.tmpro-lmu-radar-cloud b{left:38%!important;top:48%!important;width:32%!important;height:28%!important;background:rgba(73,222,128,.52)!important}
.tmpro-lmu-radar-cloud em{left:58%!important;top:42%!important;width:22%!important;height:24%!important;background:rgba(251,191,36,.62)!important}
.tmpro-lmu-radar-cloud strong{left:70%!important;top:34%!important;width:13%!important;height:20%!important;background:rgba(248,113,113,.66)!important}
.tmpro-lmu-radar-cloud.none{opacity:.22!important;color:#38bdf8!important;filter:blur(3.4px) saturate(.8)!important;background:radial-gradient(ellipse at 50% 50%,rgba(150,180,205,.35),rgba(70,100,140,.18) 55%,transparent 75%)!important}.tmpro-lmu-radar-cloud.none em,.tmpro-lmu-radar-cloud.none strong{display:none!important}
.tmpro-lmu-radar-cloud.light{color:#22d3ee!important}.tmpro-lmu-radar-cloud.light em,.tmpro-lmu-radar-cloud.light strong{display:none!important}
.tmpro-lmu-radar-cloud.moderate{color:#4ade80!important}.tmpro-lmu-radar-cloud.moderate strong{display:none!important}
.tmpro-lmu-radar-cloud.heavy{color:#fbbf24!important}.tmpro-lmu-radar-cloud.storm{color:#f87171!important}
.tmpro-lmu-radar-cloud.outside{opacity:var(--op,.48)!important;filter:blur(4px) saturate(.95)!important}.tmpro-lmu-radar-cloud.passed{filter:blur(4.5px) saturate(.85)!important}.tmpro-lmu-radar-cloud.live{left:50%!important;top:50%!important;z-index:6!important;opacity:.92!important}
.tmpro-lmu-radar-rain{opacity:var(--rain-alpha,.36)!important;z-index:5!important}.tmpro-lmu-radar-legend{grid-template-columns:repeat(6,minmax(0,1fr))!important}.tmpro-lmu-radar-legend span{font-size:9px!important}
@keyframes tmproRadarMassFlow{0%,100%{margin-left:-3px;margin-top:1px;transform:translate(-50%,-50%) rotate(var(--rot,0deg)) scale(1)}50%{margin-left:4px;margin-top:-2px;transform:translate(-50%,-50%) rotate(var(--rot,0deg)) scale(1.035)}}
@media(max-width:760px){.tmpro-lmu-radar-screen{height:230px!important}.tmpro-lmu-radar-track.real{width:38%!important;height:38%!important}}

/* Radar prédictif v2 : masse météo + vent plus lisibles */
.tmpro-lmu-radar-wind-flow{
  position:absolute!important;inset:0!important;z-index:7!important;pointer-events:none!important;
  transform:rotate(var(--wind-deg,0deg))!important;transform-origin:50% 50%!important;
  opacity:.88!important;overflow:hidden!important;
}
.tmpro-lmu-radar-wind-flow i{
  position:absolute!important;left:-18%!important;top:var(--wy,50%)!important;width:var(--wl,24px)!important;height:2px!important;
  border-radius:999px!important;background:linear-gradient(90deg,transparent,rgba(125,211,252,.35),rgba(224,247,255,.98))!important;
  box-shadow:0 0 10px rgba(56,189,248,.55)!important;
  animation:tmproRadarWindArrowMove 2.4s linear infinite!important;animation-delay:var(--wd,0s)!important;
}
.tmpro-lmu-radar-wind-flow i::after{
  content:''!important;position:absolute!important;right:-4px!important;top:-3px!important;width:0!important;height:0!important;
  border-left:7px solid rgba(224,247,255,.98)!important;border-top:4px solid transparent!important;border-bottom:4px solid transparent!important;
  filter:drop-shadow(0 0 5px rgba(56,189,248,.65))!important;
}
.tmpro-lmu-radar-wind-label{
  position:absolute!important;left:50%!important;top:13%!important;z-index:14!important;pointer-events:none!important;
  transform:translate(-50%,-50%)!important;color:#7dd3fc!important;font-size:9px!important;font-weight:950!important;
  text-shadow:0 0 8px #000,0 0 10px rgba(56,189,248,.45)!important;white-space:nowrap!important;
}
.tmpro-lmu-radar-wind-label span{display:none!important}
.tmpro-lmu-radar-wind-label b{font:inherit!important;color:inherit!important;letter-spacing:.06em!important;text-transform:uppercase!important}
.tmpro-lmu-radar-cloud{
  transform:translate(-50%,-50%) rotate(var(--rot,0deg))!important;
  transition:width .35s ease,height .35s ease,opacity .35s ease!important;
}
.tmpro-lmu-radar-cloud::before,.tmpro-lmu-radar-cloud::after,.tmpro-lmu-radar-cloud b,.tmpro-lmu-radar-cloud em,.tmpro-lmu-radar-cloud strong{
  animation:tmproRadarCloudPulse 5.5s ease-in-out infinite!important;
}
@keyframes tmproRadarWindArrowMove{0%{transform:translateX(0);opacity:0}10%{opacity:.75}72%{opacity:.85}100%{transform:translateX(145%);opacity:0}}
@keyframes tmproRadarCloudPulse{0%,100%{transform:scale(.96);opacity:.70}50%{transform:scale(1.08);opacity:.92}}


/* SRH radar readability patch: larger weather mass + visible wind arrows */
.tmpro-lmu-radar-cloud{
  filter:blur(5px) saturate(1.35) contrast(1.12) drop-shadow(0 0 22px currentColor)!important;
  animation:tmproRadarMassFlowBig 7.5s ease-in-out infinite!important;
}
.tmpro-lmu-radar-cloud::before,.tmpro-lmu-radar-cloud::after,.tmpro-lmu-radar-cloud b,.tmpro-lmu-radar-cloud em,.tmpro-lmu-radar-cloud strong{
  filter:blur(8px)!important;
  animation:tmproRadarCloudPulseBig 3.8s ease-in-out infinite!important;
}
.tmpro-lmu-radar-cloud::before{background:rgba(165,225,255,.58)!important}
.tmpro-lmu-radar-cloud::after{background:rgba(45,220,238,.62)!important}
.tmpro-lmu-radar-cloud b{background:rgba(74,222,128,.68)!important}
.tmpro-lmu-radar-cloud em{background:rgba(251,191,36,.80)!important}
.tmpro-lmu-radar-cloud strong{background:rgba(248,113,113,.88)!important}
.tmpro-lmu-radar-wind-flow{
  opacity:.98!important;
  z-index:13!important;
}
.tmpro-lmu-radar-wind-flow i{
  left:var(--wx,-25%)!important;
  width:var(--wl,48px)!important;
  height:4px!important;
  border-radius:999px!important;
  background:linear-gradient(90deg,transparent 0%,rgba(125,211,252,.35) 18%,rgba(224,247,255,1) 72%,rgba(56,189,248,.95) 100%)!important;
  box-shadow:0 0 14px rgba(56,189,248,.9),0 0 4px rgba(255,255,255,.9)!important;
  animation:tmproRadarWindArrowMoveWide var(--wind-arrow-duration,2.4s) linear infinite!important;
  animation-delay:var(--wd,0s)!important;
  opacity:.95!important;
}
.tmpro-lmu-radar-wind-flow i::after{
  right:-8px!important;
  top:-6px!important;
  border-left:13px solid rgba(224,247,255,1)!important;
  border-top:7px solid transparent!important;
  border-bottom:7px solid transparent!important;
  filter:drop-shadow(0 0 8px rgba(56,189,248,.95))!important;
}
.tmpro-lmu-radar-wind-label{font-size:11px!important;top:10%!important;background:rgba(2,6,15,.42);padding:2px 8px;border-radius:999px;border:1px solid rgba(125,211,252,.25)}
@keyframes tmproRadarWindArrowMoveWide{
  0%{transform:translateX(-18vw);opacity:0}
  8%{opacity:.75}
  52%{opacity:1}
  92%{opacity:.75}
  100%{transform:translateX(125vw);opacity:0}
}
@keyframes tmproRadarCloudPulseBig{
  0%,100%{transform:scale(.92) translate(-1px,1px);opacity:.62}
  35%{transform:scale(1.22) translate(3px,-2px);opacity:.96}
  70%{transform:scale(1.08) translate(-2px,2px);opacity:.82}
}
@keyframes tmproRadarMassFlowBig{
  0%,100%{margin-left:-8px;margin-top:3px;transform:translate(-50%,-50%) rotate(var(--rot,0deg)) scale(1)}
  35%{margin-left:10px;margin-top:-5px;transform:translate(-50%,-50%) rotate(var(--rot,0deg)) scale(1.10)}
  70%{margin-left:3px;margin-top:7px;transform:translate(-50%,-50%) rotate(var(--rot,0deg)) scale(1.045)}
}


/* SRH radar tuning v3 : masse plus détaillée, zoom/pan limité, vent lisible mais sobre */
.tmpro-lmu-radar-screen{cursor:grab!important;}
.tmpro-lmu-radar-screen.is-panning{cursor:grabbing!important;}
.tmpro-lmu-radar-cells{
  position:absolute!important;inset:0!important;z-index:4!important;pointer-events:none!important;
  transform:translate(var(--radar-pan-x,0%), var(--radar-pan-y,0%))!important;
  transition:transform .15s ease-out!important;
}
.tmpro-lmu-radar-track.real{
  transform:translate(calc(-50% + var(--radar-pan-x,0%)), calc(-50% + var(--radar-pan-y,0%)))!important;
  transition:width .18s ease,height .18s ease,transform .15s ease-out!important;
}
.tmpro-lmu-radar-cloud{
  filter:blur(3.4px) saturate(1.42) contrast(1.16) drop-shadow(0 0 17px currentColor)!important;
  animation:tmproRadarMassDetailFlow 8.8s ease-in-out infinite!important;
  background:
    radial-gradient(ellipse at 18% 38%,rgba(210,235,245,.50) 0 9%,transparent 19%),
    radial-gradient(ellipse at 31% 58%,rgba(60,215,235,.55) 0 10%,transparent 22%),
    radial-gradient(ellipse at 42% 32%,rgba(80,225,170,.42) 0 11%,transparent 25%),
    radial-gradient(ellipse at 57% 62%,rgba(74,222,128,.45) 0 12%,transparent 27%),
    radial-gradient(ellipse at 70% 42%,rgba(251,191,36,.42) 0 8%,transparent 20%),
    radial-gradient(ellipse at 79% 57%,rgba(248,113,113,.34) 0 7%,transparent 18%),
    radial-gradient(ellipse at 50% 50%,rgba(34,211,238,.38) 0 42%,transparent 72%)!important;
}
.tmpro-lmu-radar-cloud::before,.tmpro-lmu-radar-cloud::after,.tmpro-lmu-radar-cloud b,.tmpro-lmu-radar-cloud em,.tmpro-lmu-radar-cloud strong{
  filter:blur(5px)!important;
  animation:tmproRadarCloudDetailPulse 6.8s ease-in-out infinite!important;
}
.tmpro-lmu-radar-cloud::before{left:5%!important;top:24%!important;width:38%!important;height:44%!important;background:rgba(180,230,255,.52)!important}
.tmpro-lmu-radar-cloud::after{right:13%!important;top:18%!important;width:33%!important;height:48%!important;background:rgba(45,220,238,.56)!important}
.tmpro-lmu-radar-cloud b{left:35%!important;top:52%!important;width:28%!important;height:28%!important;background:rgba(74,222,128,.60)!important}
.tmpro-lmu-radar-cloud em{left:60%!important;top:44%!important;width:18%!important;height:21%!important;background:rgba(251,191,36,.74)!important}
.tmpro-lmu-radar-cloud strong{left:72%!important;top:35%!important;width:10%!important;height:16%!important;background:rgba(248,113,113,.80)!important}
.tmpro-lmu-radar-wind-flow{opacity:.42!important;z-index:7!important;}
.tmpro-lmu-radar-wind-flow i{
  width:var(--wl,24px)!important;height:2px!important;left:var(--wx,-20%)!important;
  background:linear-gradient(90deg,transparent,rgba(80,190,240,.18),rgba(125,211,252,.70))!important;
  box-shadow:0 0 8px rgba(56,189,248,.36)!important;
  animation:tmproRadarWindArrowMoveSoft var(--wind-arrow-duration,2.8s) linear infinite!important;
  animation-delay:var(--wd,0s)!important;
}
.tmpro-lmu-radar-wind-flow i::after{
  right:-5px!important;top:-4px!important;
  border-left:8px solid rgba(125,211,252,.82)!important;
  border-top:5px solid transparent!important;border-bottom:5px solid transparent!important;
  filter:drop-shadow(0 0 5px rgba(56,189,248,.45))!important;
}
@keyframes tmproRadarWindArrowMoveSoft{0%{transform:translateX(-12vw);opacity:0}12%{opacity:.55}72%{opacity:.62}100%{transform:translateX(112vw);opacity:0}}
@keyframes tmproRadarMassDetailFlow{0%,100%{margin-left:-3px;margin-top:1px;transform:translate(-50%,-50%) rotate(var(--rot,0deg)) scale(1)}50%{margin-left:5px;margin-top:-4px;transform:translate(-50%,-50%) rotate(var(--rot,0deg)) scale(1.045)}}
@keyframes tmproRadarCloudDetailPulse{0%,100%{transform:scale(.96);opacity:.70}50%{transform:scale(1.10);opacity:.96}}


/* SRH radar tuning v4 : flèches de vent petites, nombreuses, lentes + masse plus naturelle */
.tmpro-lmu-radar-wind-flow{opacity:.30!important;z-index:7!important;}
.tmpro-lmu-radar-wind-flow i{
  width:var(--wl,9px)!important;
  height:1px!important;
  left:var(--wx,-30%)!important;
  background:linear-gradient(90deg,transparent,rgba(125,211,252,.20),rgba(125,211,252,.52))!important;
  box-shadow:0 0 4px rgba(56,189,248,.22)!important;
  animation:tmproRadarWindArrowMoveTiny var(--wind-arrow-duration,10s) linear infinite!important;
  animation-delay:var(--wd,0s)!important;
}
.tmpro-lmu-radar-wind-flow i::after{
  right:-3px!important;
  top:-2px!important;
  border-left:4px solid rgba(125,211,252,.62)!important;
  border-top:2.5px solid transparent!important;
  border-bottom:2.5px solid transparent!important;
  filter:drop-shadow(0 0 3px rgba(56,189,248,.30))!important;
}
.tmpro-lmu-radar-cloud{
  animation:tmproRadarMassDetailFlowSlow 11s ease-in-out infinite!important;
  filter:blur(3.8px) saturate(1.48) contrast(1.18) drop-shadow(0 0 18px currentColor)!important;
}
.tmpro-lmu-radar-cloud::before,.tmpro-lmu-radar-cloud::after,.tmpro-lmu-radar-cloud b,.tmpro-lmu-radar-cloud em,.tmpro-lmu-radar-cloud strong{
  animation:tmproRadarCloudDetailPulseSlow 8.8s ease-in-out infinite!important;
}
@keyframes tmproRadarWindArrowMoveTiny{0%{transform:translateX(-8vw);opacity:0}18%{opacity:.38}72%{opacity:.40}100%{transform:translateX(108vw);opacity:0}}
@keyframes tmproRadarMassDetailFlowSlow{0%,100%{margin-left:-2px;margin-top:1px;transform:translate(-50%,-50%) rotate(var(--rot,0deg)) scale(1)}50%{margin-left:3px;margin-top:-3px;transform:translate(-50%,-50%) rotate(var(--rot,0deg)) scale(1.035)}}
@keyframes tmproRadarCloudDetailPulseSlow{0%,100%{transform:scale(.98);opacity:.74}50%{transform:scale(1.08);opacity:.95}}

/* SRH radar v6 : vraies cellules type radar météo + vent serveur calculé */
.tmpro-lmu-radar-cells{
  position:absolute!important;
  inset:0!important;
  z-index:4!important;
  pointer-events:none!important;
  transform:translate(var(--radar-pan-x,0%), var(--radar-pan-y,0%))!important;
}
.tmpro-lmu-radar-mass-halo,
.tmpro-lmu-radar-precip-cell{
  position:absolute!important;
  left:var(--x)!important;
  top:var(--y)!important;
  width:var(--s)!important;
  height:calc(var(--s) * .72)!important;
  transform:translate(-50%,-50%) rotate(var(--r,0deg))!important;
  pointer-events:auto!important;
  mix-blend-mode:screen!important;
}
.tmpro-lmu-radar-mass-halo{
  z-index:3!important;
  border-radius:53% 47% 60% 40%!important;
  opacity:var(--op,.16)!important;
  filter:blur(18px) saturate(1.15)!important;
  background:
    radial-gradient(ellipse at 42% 48%,rgba(24,211,238,.55),transparent 68%),
    radial-gradient(ellipse at 58% 42%,rgba(74,222,128,.28),transparent 62%)!important;
  animation:tmproRadarHaloDrift 18s ease-in-out infinite!important;
}
.tmpro-lmu-radar-mass-halo.heavy,
.tmpro-lmu-radar-mass-halo.storm{
  background:
    radial-gradient(ellipse at 35% 50%,rgba(24,211,238,.48),transparent 70%),
    radial-gradient(ellipse at 55% 48%,rgba(74,222,128,.38),transparent 65%),
    radial-gradient(ellipse at 68% 44%,rgba(251,191,36,.32),transparent 58%)!important;
}
.tmpro-lmu-radar-precip-cell{
  z-index:5!important;
  border-radius:52% 48% 65% 35%!important;
  opacity:var(--op,.72)!important;
  filter:blur(.8px) saturate(1.35) contrast(1.18) drop-shadow(0 0 5px currentColor)!important;
  animation:tmproRadarCellPulse 7.8s ease-in-out infinite!important;
  animation-delay:var(--d,0s)!important;
}
.tmpro-lmu-radar-precip-cell.drizzle{
  color:#22d3ee!important;
  background:radial-gradient(ellipse at 50% 50%,rgba(34,211,238,.85) 0 32%,rgba(14,165,233,.42) 48%,transparent 72%)!important;
}
.tmpro-lmu-radar-precip-cell.light{
  color:#38bdf8!important;
  background:
    radial-gradient(ellipse at 42% 45%,rgba(56,189,248,.95) 0 24%,transparent 55%),
    radial-gradient(ellipse at 61% 57%,rgba(34,211,238,.62) 0 26%,transparent 62%)!important;
}
.tmpro-lmu-radar-precip-cell.moderate{
  color:#4ade80!important;
  background:
    radial-gradient(ellipse at 40% 50%,rgba(34,211,238,.86) 0 22%,transparent 50%),
    radial-gradient(ellipse at 55% 48%,rgba(74,222,128,.95) 0 30%,transparent 64%)!important;
}
.tmpro-lmu-radar-precip-cell.heavy{
  color:#fbbf24!important;
  background:
    radial-gradient(ellipse at 35% 52%,rgba(34,211,238,.72) 0 18%,transparent 45%),
    radial-gradient(ellipse at 51% 51%,rgba(74,222,128,.86) 0 24%,transparent 56%),
    radial-gradient(ellipse at 66% 43%,rgba(251,191,36,.98) 0 28%,transparent 62%)!important;
}
.tmpro-lmu-radar-precip-cell.storm{
  color:#f87171!important;
  background:
    radial-gradient(ellipse at 30% 50%,rgba(34,211,238,.70) 0 14%,transparent 42%),
    radial-gradient(ellipse at 45% 55%,rgba(74,222,128,.82) 0 20%,transparent 51%),
    radial-gradient(ellipse at 61% 47%,rgba(251,191,36,.95) 0 24%,transparent 60%),
    radial-gradient(ellipse at 73% 42%,rgba(248,113,113,1) 0 25%,transparent 62%)!important;
}
.tmpro-lmu-radar-precip-cell.live{
  filter:blur(.6px) saturate(1.5) contrast(1.24) drop-shadow(0 0 8px currentColor)!important;
}
.tmpro-lmu-radar-precip-cell.outside{opacity:calc(var(--op,.34) * .82)!important;filter:blur(1.4px) saturate(1.1)!important;}
.tmpro-lmu-radar-precip-cell.passed{opacity:calc(var(--op,.44) * .75)!important;filter:blur(1.6px) saturate(.95)!important;}
@keyframes tmproRadarCellPulse{
  0%,100%{transform:translate(-50%,-50%) rotate(var(--r,0deg)) scale(.92);opacity:calc(var(--op,.72) * .75)}
  42%{transform:translate(-50%,-50%) rotate(var(--r,0deg)) scale(1.16);opacity:var(--op,.72)}
  68%{transform:translate(-50%,-50%) rotate(var(--r,0deg)) scale(1.02);opacity:calc(var(--op,.72) * .92)}
}
@keyframes tmproRadarHaloDrift{
  0%,100%{transform:translate(-50%,-50%) rotate(var(--r,0deg)) scale(1)}
  50%{transform:translate(-50%,-50%) rotate(var(--r,0deg)) scale(1.06)}
}
.tmpro-lmu-radar-wind-flow{
  opacity:.44!important;
  z-index:7!important;
  transform:rotate(var(--wind-deg,0deg))!important;
}
.tmpro-lmu-radar-wind-flow i{
  width:var(--wl,5px)!important;
  height:1px!important;
  left:var(--wx,-40%)!important;
  top:var(--wy,50%)!important;
  border-radius:99px!important;
  background:linear-gradient(90deg,transparent 0%,rgba(125,211,252,.18) 18%,rgba(125,211,252,.60) 100%)!important;
  box-shadow:0 0 4px rgba(56,189,248,.24)!important;
  animation:tmproRadarWindArrowMoveMeasured var(--wind-arrow-duration,14s) linear infinite!important;
  animation-delay:var(--wd,0s)!important;
}
.tmpro-lmu-radar-wind-flow i::after{
  right:-2.5px!important;
  top:-2px!important;
  border-left:3.5px solid rgba(125,211,252,.60)!important;
  border-top:2px solid transparent!important;
  border-bottom:2px solid transparent!important;
  filter:drop-shadow(0 0 2px rgba(56,189,248,.24))!important;
}
@keyframes tmproRadarWindArrowMoveMeasured{
  0%{transform:translateX(-7vw);opacity:0}
  18%{opacity:.34}
  74%{opacity:.38}
  100%{transform:translateX(110vw);opacity:0}
}

/* SRH radar v7 : masses compactes type radar météo, sans glow/halo + couloirs de vent */
.tmpro-lmu-radar-mass-halo{display:none!important}
.tmpro-lmu-radar-cells{z-index:5!important;}
.tmpro-lmu-radar-precip-cell{
  mix-blend-mode:normal!important;
  border-radius:18% 42% 26% 38%!important;
  filter:none!important;
  box-shadow:none!important;
  transform:translate(-50%,-50%) rotate(var(--r,0deg))!important;
  animation:tmproRadarMeteoCellFlicker .20s steps(1,end) infinite!important;
  animation-delay:var(--d,0s)!important;
  opacity:var(--op,.86)!important;
}
.tmpro-lmu-radar-precip-cell.drizzle{
  background:#18c8f2!important;
  outline:1px solid rgba(58,210,255,.55)!important;
}
.tmpro-lmu-radar-precip-cell.light{
  background:linear-gradient(115deg,#0b78ff 0 16%,#13d7f2 17% 62%,#31e6d8 63% 100%)!important;
  outline:1px solid rgba(0,170,255,.48)!important;
}
.tmpro-lmu-radar-precip-cell.moderate{
  background:linear-gradient(115deg,#119cff 0 14%,#0ed0ef 15% 34%,#00c853 35% 100%)!important;
  outline:1px solid rgba(10,190,90,.55)!important;
}
.tmpro-lmu-radar-precip-cell.heavy{
  background:linear-gradient(115deg,#09b5ee 0 13%,#00c853 14% 48%,#f1d20b 49% 77%,#ff8b00 78% 100%)!important;
  outline:1px solid rgba(255,190,25,.55)!important;
}
.tmpro-lmu-radar-precip-cell.storm{
  background:linear-gradient(115deg,#0bb8ef 0 11%,#00c853 12% 38%,#f5d20a 39% 58%,#ff7b00 59% 77%,#ff1f35 78% 100%)!important;
  outline:1px solid rgba(255,50,60,.65)!important;
}
.tmpro-lmu-radar-precip-cell.live{filter:none!important;box-shadow:none!important;}
.tmpro-lmu-radar-precip-cell.outside{filter:none!important;opacity:calc(var(--op,.54) * .85)!important;}
.tmpro-lmu-radar-precip-cell.passed{filter:none!important;opacity:calc(var(--op,.54) * .70)!important;}
.tmpro-lmu-radar-precip-cell.s0{clip-path:polygon(8% 42%,18% 17%,54% 5%,88% 18%,97% 53%,80% 86%,38% 96%,10% 73%)}
.tmpro-lmu-radar-precip-cell.s1{clip-path:polygon(5% 54%,20% 18%,48% 8%,77% 12%,96% 39%,88% 74%,58% 94%,22% 86%)}
.tmpro-lmu-radar-precip-cell.s2{clip-path:polygon(12% 25%,42% 4%,76% 13%,97% 45%,83% 84%,48% 96%,14% 80%,4% 49%)}
.tmpro-lmu-radar-precip-cell.s3{clip-path:polygon(7% 35%,31% 8%,67% 9%,91% 29%,96% 65%,70% 92%,27% 91%,5% 64%)}
.tmpro-lmu-radar-precip-cell.s4{clip-path:polygon(10% 49%,28% 16%,64% 5%,92% 28%,88% 70%,59% 95%,20% 83%,4% 62%)}
.tmpro-lmu-radar-precip-cell.s5{clip-path:polygon(3% 44%,25% 11%,59% 9%,94% 25%,98% 61%,73% 90%,38% 95%,9% 73%)}
.tmpro-lmu-radar-precip-cell.s6{clip-path:polygon(15% 15%,51% 4%,83% 20%,95% 55%,76% 87%,36% 96%,8% 78%,5% 40%)}
.tmpro-lmu-radar-precip-cell.s7{clip-path:polygon(6% 57%,14% 23%,47% 7%,84% 17%,97% 51%,85% 77%,52% 94%,18% 84%)}
.tmpro-lmu-radar-precip-cell.s8{clip-path:polygon(9% 30%,35% 8%,72% 7%,94% 36%,91% 72%,66% 92%,25% 96%,5% 62%)}
.tmpro-lmu-radar-precip-cell.s9{clip-path:polygon(4% 47%,24% 18%,56% 6%,90% 18%,98% 56%,75% 87%,43% 96%,12% 80%)}
.tmpro-lmu-radar-precip-cell.s10{clip-path:polygon(13% 38%,28% 12%,65% 3%,91% 24%,96% 62%,68% 94%,31% 87%,5% 67%)}
.tmpro-lmu-radar-precip-cell.s11{clip-path:polygon(8% 24%,43% 5%,80% 15%,96% 43%,87% 80%,50% 96%,16% 86%,3% 55%)}
.tmpro-lmu-radar-precip-cell.s12{clip-path:polygon(6% 41%,22% 9%,60% 8%,88% 23%,99% 60%,78% 84%,42% 98%,12% 72%)}
.tmpro-lmu-radar-precip-cell.s13{clip-path:polygon(11% 55%,17% 20%,49% 3%,86% 19%,95% 50%,82% 82%,46% 95%,13% 86%)}
@keyframes tmproRadarMeteoCellFlicker{
  0%{transform:translate(-50%,-50%) rotate(var(--r,0deg)) scale(.98);opacity:calc(var(--op,.86) * .92)}
  20%{transform:translate(-50%,-50%) rotate(var(--r,0deg)) scale(1.02);opacity:var(--op,.86)}
  40%{transform:translate(-50%,-50%) rotate(var(--r,0deg)) scale(.99);opacity:calc(var(--op,.86) * .96)}
  60%{transform:translate(-50%,-50%) rotate(var(--r,0deg)) scale(1.03);opacity:var(--op,.86)}
  80%,100%{transform:translate(-50%,-50%) rotate(var(--r,0deg)) scale(1);opacity:calc(var(--op,.86) * .95)}
}
.tmpro-lmu-radar-wind-flow{
  opacity:.54!important;
  z-index:8!important;
  transform:rotate(var(--wind-deg,0deg))!important;
}
.tmpro-lmu-radar-wind-flow i{
  width:var(--wl,4px)!important;
  height:1px!important;
  left:var(--wx,-52%)!important;
  top:var(--wy,50%)!important;
  background:linear-gradient(90deg,transparent 0%,rgba(125,211,252,.12) 15%,rgba(125,211,252,.70) 100%)!important;
  box-shadow:none!important;
  animation:tmproRadarWindCorridorMove var(--wind-arrow-duration,16s) linear infinite!important;
  animation-delay:var(--wd,0s)!important;
}
.tmpro-lmu-radar-wind-flow i::after{
  right:-2px!important;
  top:-1.7px!important;
  border-left:3px solid rgba(125,211,252,.72)!important;
  border-top:2px solid transparent!important;
  border-bottom:2px solid transparent!important;
  filter:none!important;
}
@keyframes tmproRadarWindCorridorMove{
  0%{transform:translate(-10vw,0);opacity:0}
  14%{opacity:.38}
  42%{transform:translate(38vw,var(--wy-drift,0px));opacity:.52}
  72%{opacity:.48}
  100%{transform:translate(116vw,calc(var(--wy-drift,0px) * .35));opacity:0}
}

/* SRH SimRace AI weather radar model -------------------------------------------------- */
.tmpro-lmu-radar.ai .tmpro-lmu-radar-screen{background:radial-gradient(circle at 50% 50%,rgba(7,14,26,.88),rgba(2,5,12,.98));}
.tmpro-lmu-ai-fronts{position:absolute;inset:0;z-index:3;transform:translate(var(--radar-pan-x,0),var(--radar-pan-y,0));pointer-events:none;overflow:hidden;}
.tmpro-lmu-ai-front{position:absolute;left:var(--fx);top:var(--fy);width:var(--fw);height:var(--fh);transform:translate(-50%,-50%) rotate(var(--fr));opacity:.94;animation:srhAiFrontDrift 1.8s steps(9,end) infinite;filter:none;mix-blend-mode:screen;}
.tmpro-lmu-ai-front.live{opacity:.98;}
.tmpro-lmu-ai-front-layer{position:absolute;left:50%;top:50%;width:100%;height:100%;transform:translate(calc(-50% + var(--lx,0%)),calc(-50% + var(--ly,0%))) scale(var(--ls,1));clip-path:polygon(var(--poly));border-radius:38% 62% 53% 47% / 45% 35% 65% 55%;opacity:.88;animation:srhAiLayerMorph 1s steps(5,end) infinite;animation-delay:var(--fd,0s);}
.tmpro-lmu-ai-front-layer.light{background:linear-gradient(135deg,rgba(35,164,255,.72),rgba(59,221,255,.56) 48%,rgba(34,197,94,.40));}
.tmpro-lmu-ai-front-layer.moderate{background:linear-gradient(135deg,rgba(0,185,105,.86),rgba(144,218,47,.82) 55%,rgba(255,223,58,.60));}
.tmpro-lmu-ai-front-layer.heavy{background:linear-gradient(135deg,rgba(244,221,38,.92),rgba(255,158,32,.86) 58%,rgba(246,98,29,.62));}
.tmpro-lmu-ai-front-layer.storm{background:linear-gradient(135deg,rgba(255,103,33,.94),rgba(230,40,45,.92) 62%,rgba(154,30,126,.66));}
@keyframes srhAiFrontDrift{0%{margin-left:-1px;margin-top:0}25%{margin-left:1px;margin-top:-1px}50%{margin-left:2px;margin-top:1px}75%{margin-left:-1px;margin-top:1px}100%{margin-left:0;margin-top:0}}
@keyframes srhAiLayerMorph{0%{border-radius:42% 58% 48% 52%/50% 43% 57% 50%;opacity:.82}50%{border-radius:56% 44% 59% 41%/39% 56% 44% 61%;opacity:.94}100%{border-radius:42% 58% 48% 52%/50% 43% 57% 50%;opacity:.86}}
.tmpro-lmu-radar-wind-flow.ai{opacity:.72;}
.tmpro-lmu-radar-wind-flow.ai i{width:5px;height:2px;border-radius:999px;background:rgba(126,231,255,.42);box-shadow:none;opacity:.55;}
.tmpro-lmu-radar-wind-flow.ai i:after{content:"";position:absolute;right:-2px;top:-2px;border-left:3px solid rgba(126,231,255,.48);border-top:3px solid transparent;border-bottom:3px solid transparent;}
.tmpro-lmu-radar.warn .tmpro-lmu-radar-wind-flow.ai i{background:rgba(251,191,36,.34)}
.tmpro-lmu-radar.warn .tmpro-lmu-radar-wind-flow.ai i:after{border-left-color:rgba(251,191,36,.42)}
.tmpro-lmu-radar.danger .tmpro-lmu-radar-wind-flow.ai i{background:rgba(255,145,70,.38)}
.tmpro-lmu-radar.danger .tmpro-lmu-radar-wind-flow.ai i:after{border-left-color:rgba(255,145,70,.46)}

/* SRH radar v8 : échelle commune km pour anneaux, tracé, masses pluie/nuages et vent */
.tmpro-lmu-radar-track.real.km-scaled{
  position:absolute!important;
  left:0!important;
  top:0!important;
  width:100%!important;
  height:100%!important;
  transform:translate(var(--radar-pan-x,0%), var(--radar-pan-y,0%))!important;
  z-index:12!important;
  overflow:visible!important;
  pointer-events:none!important;
  filter:drop-shadow(0 0 8px rgba(255,102,0,.42))!important;
}
.tmpro-lmu-radar-track.real.km-scaled path:first-child{
  stroke:rgba(255,255,255,.92)!important;
  stroke-width:.72!important;
  vector-effect:non-scaling-stroke;
  fill:none!important;
}
.tmpro-lmu-radar-track.real.km-scaled path:last-child{
  stroke:rgba(255,102,0,.94)!important;
  stroke-width:.34!important;
  stroke-dasharray:1.6 1.4!important;
  vector-effect:non-scaling-stroke;
  fill:none!important;
}
.tmpro-lmu-radar.ai .tmpro-lmu-ai-front,
.tmpro-lmu-radar .tmpro-lmu-radar-precip-cell{
  will-change:left,top,width,height,transform,opacity;
}
.tmpro-lmu-radar.ai .tmpro-lmu-ai-front{
  min-width:18px;
  min-height:14px;
  max-width:96%;
  max-height:86%;
}
.tmpro-lmu-radar-scale-note{
  display:inline-flex;
  align-items:center;
  gap:4px;
  opacity:.72;
}

/* ======================================================================
   SRH V43 - Secteurs compacts dans la ligne pilote TrackMap
   Affiche S1 / S2 / S3 sous le LASTTIME, façon mini barres broadcast.
   ====================================================================== */
#tmproDriverList .tmpro-driver-lasttime-with-sectors,
#tmproDriverList .tmpro-driver-lasttime.tmpro-driver-lasttime-with-sectors{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:center!important;
    gap:3px!important;
    line-height:1!important;
    overflow:visible!important;
    text-align:right!important;
}
#tmproDriverList .tmpro-driver-lasttime-value{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    color:#d8b4fe!important;
    font-family:"Saira Condensed",Arial,sans-serif!important;
    font-size:.82rem!important;
    font-weight:1000!important;
    line-height:1!important;
    text-align:right!important;
    font-variant-numeric:tabular-nums!important;
    text-shadow:0 0 10px rgba(168,85,247,.26)!important;
}
#tmproDriverList .tmpro-row-sectors{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:2px!important;
    width:100%!important;
    min-width:0!important;
    height:8px!important;
}
#tmproDriverList .tmpro-row-sector{
    position:relative!important;
    display:block!important;
    min-width:0!important;
    height:8px!important;
    border-radius:2px!important;
    overflow:hidden!important;
    border:1px solid rgba(255,255,255,.08)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 0 8px rgba(0,0,0,.25)!important;
    opacity:.98!important;
}
#tmproDriverList .tmpro-row-sector b,
#tmproDriverList .tmpro-row-sector em{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    overflow:hidden!important;
    clip:rect(0 0 0 0)!important;
    white-space:nowrap!important;
}
#tmproDriverList .tmpro-row-sector-s1{background:linear-gradient(90deg,#ffbf24,#ff8a00)!important;}
#tmproDriverList .tmpro-row-sector-s2{background:linear-gradient(90deg,#22c55e,#00d084)!important;}
#tmproDriverList .tmpro-row-sector-s3{background:linear-gradient(90deg,#ff2f92,#b517ff)!important;}
#tmproDriverList .tmpro-row-sector.is-empty{background:rgba(148,163,184,.18)!important;opacity:.42!important;}
#tmproDriverList .tmpro-row-sector.is-current{
    border-color:rgba(255,255,255,.72)!important;
    box-shadow:0 0 8px rgba(255,255,255,.42),0 0 13px rgba(255,102,0,.22)!important;
    transform:translateY(-1px)!important;
}
@media (min-width:1500px){
    #tmproDriverList .tmpro-row-sectors{height:9px!important;}
    #tmproDriverList .tmpro-row-sector{height:9px!important;}
}


/* V44 - Secteurs liste pilotes collés et dynamiques en temps réel.
   Gris = pas encore passé, couleur = secteur passé, halo = secteur actif. */
#tmproDriverList .tmpro-row-sectors.tmpro-row-sectors-live{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:0!important;
    width:100%!important;
    min-width:0!important;
    height:9px!important;
    border-radius:4px!important;
    overflow:hidden!important;
    background:rgba(15,23,42,.92)!important;
    border:1px solid rgba(255,255,255,.08)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 0 10px rgba(0,0,0,.28)!important;
}
#tmproDriverList .tmpro-row-sectors-live .tmpro-row-sector{
    height:9px!important;
    border:0!important;
    border-radius:0!important;
    opacity:1!important;
    transform:none!important;
    box-shadow:none!important;
    background:linear-gradient(180deg,rgba(71,85,105,.48),rgba(30,41,59,.62))!important;
    border-right:1px solid rgba(255,255,255,.08)!important;
    transition:background .18s ease, box-shadow .18s ease, opacity .18s ease!important;
}
#tmproDriverList .tmpro-row-sectors-live .tmpro-row-sector:last-child{border-right:0!important;}
#tmproDriverList .tmpro-row-sectors-live .tmpro-row-sector-s1.is-complete,
#tmproDriverList .tmpro-row-sectors-live .tmpro-row-sector-s1.is-current{background:linear-gradient(90deg,#ffbf24,#ff8a00)!important;}
#tmproDriverList .tmpro-row-sectors-live .tmpro-row-sector-s2.is-complete,
#tmproDriverList .tmpro-row-sectors-live .tmpro-row-sector-s2.is-current{background:linear-gradient(90deg,#22c55e,#00d084)!important;}
#tmproDriverList .tmpro-row-sectors-live .tmpro-row-sector-s3.is-complete,
#tmproDriverList .tmpro-row-sectors-live .tmpro-row-sector-s3.is-current{background:linear-gradient(90deg,#ff2f92,#b517ff)!important;}
#tmproDriverList .tmpro-row-sectors-live .tmpro-row-sector.is-current{
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.62),0 0 11px rgba(255,255,255,.34)!important;
    filter:saturate(1.22) brightness(1.12)!important;
}
#tmproDriverList .tmpro-row-sectors-live .tmpro-row-sector.is-empty:not(.is-current):not(.is-complete){
    opacity:.72!important;
}
#tmproDriverList .tmpro-row-sectors-live .tmpro-row-sector b,
#tmproDriverList .tmpro-row-sectors-live .tmpro-row-sector em{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    overflow:hidden!important;
    clip:rect(0 0 0 0)!important;
    white-space:nowrap!important;
}


/* =========================================================
   SRH V45 - blocs résumé TrackMap + secteurs live
   ========================================================= */
.tmpro-v45-summary,
.tmpro-race-summary-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(150px,1fr));
  gap:12px;
  margin:14px 0 18px;
  width:100%;
}
.tmpro-race-summary-card{
  min-height:86px;
  padding:16px 18px 14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg,rgba(26,33,45,.94),rgba(18,24,35,.96));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 10px 28px rgba(0,0,0,.26);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:5px;
}
.tmpro-race-summary-card.is-time,
.tmpro-race-summary-card.is-best,
.tmpro-race-summary-card.is-gain{
  border-color:rgba(34,197,94,.22);
  background:linear-gradient(180deg,rgba(11,45,42,.72),rgba(18,25,37,.96));
}
.tmpro-race-summary-card.is-loss{border-color:rgba(245,158,11,.28)}
.tmpro-race-summary-card span{display:block;font-size:10px;line-height:1;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#8f99a8}
.tmpro-race-summary-card strong{display:block;font-size:21px;line-height:1.1;font-weight:1000;color:#f8fafc;font-family:"Saira Condensed",Arial,sans-serif}
.tmpro-race-summary-card small{display:block;min-height:18px;color:#9aa4b5;font-size:14px;line-height:1.15;font-weight:600}
.tmpro-row-sectors-v45{display:flex;gap:3px;align-items:center;justify-content:center;margin-top:4px}
.tmpro-row-sectors-v45 i{width:18px;height:5px;border-radius:999px;display:block;background:rgba(148,163,184,.22);box-shadow:inset 0 0 0 1px rgba(255,255,255,.05)}
.tmpro-row-sectors-v45 i.is-orange{background:#ff9f1a;box-shadow:0 0 8px rgba(255,159,26,.45)}
.tmpro-row-sectors-v45 i.is-green{background:#22c55e;box-shadow:0 0 8px rgba(34,197,94,.5)}
.tmpro-row-sectors-v45 i.is-purple{background:#c026ff;box-shadow:0 0 10px rgba(192,38,255,.65)}
.tmpro-row-sectors-v45 i.is-active{background:#f8fafc;box-shadow:0 0 8px rgba(248,250,252,.4)}
@media (max-width:1100px){.tmpro-v45-summary,.tmpro-race-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:620px){.tmpro-v45-summary,.tmpro-race-summary-grid{grid-template-columns:1fr;}}


/* SRH v1 - Radar WEC layered precipitation cell
   Remplace les anciennes pastilles par une vraie cellule multicouche type radar. */
.tmpro-lmu-radar-cells{
  position:absolute;
  inset:0;
  z-index:4;
  overflow:hidden;
  border-radius:inherit;
}
.tmpro-lmu-wec-cell{
  position:absolute;
  inset:0;
  pointer-events:none;
}
.tmpro-lmu-wec-cell-layer{
  position:absolute;
  left:var(--x);
  top:var(--y);
  width:var(--w);
  height:var(--h);
  transform:translate(-50%,-50%) rotate(var(--rot));
  background:var(--c);
  opacity:var(--op);
  z-index:var(--z);
  clip-path:polygon(var(--poly));
  filter:none!important;
  box-shadow:none!important;
  mix-blend-mode:screen;
  animation:tmproWecCellPulse .78s steps(4,end) infinite;
  animation-delay:var(--d);
}
.tmpro-lmu-wec-cell-layer.outside{opacity:calc(var(--op) * .62);}
.tmpro-lmu-wec-cell-layer.passed{opacity:calc(var(--op) * .70);}
.tmpro-lmu-wec-cell-layer[style*="#ffffff"],
.tmpro-lmu-wec-cell-layer[style*="255,255,255"]{
  mix-blend-mode:normal;
}
@keyframes tmproWecCellPulse{
  0%,100%{transform:translate(-50%,-50%) rotate(var(--rot)) scale(1);}
  50%{transform:translate(-50%,-50%) rotate(var(--rot)) scale(1.018);}
}
.tmpro-lmu-radar-legend{
  gap:7px!important;
}
.tmpro-lmu-radar-legend::before{
  content:"";
  display:inline-block;
  width:112px;
  height:10px;
  border:1px solid rgba(60,255,130,.25);
  background:linear-gradient(90deg,#00ffff,#00aaff,#0044ff,#00ee44,#00aa00,#ddff00,#ffaa00,#ff4400,#cc0000,#880000,#bb00bb,#ff00ff,#ffaaff,#fff);
  border-radius:2px;
  margin-right:5px;
}


/* SRH FIX - Race Events compact filters inside buttons */
.tmpro-event-filters{
  position:relative!important;
  padding-top:30px!important;
}
.tmpro-event-filter-tools{
  position:absolute!important;
  top:0!important;
  right:0!important;
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  z-index:6!important;
}
.tmpro-event-filter-tools .tmpro-filter-tool{
  height:22px!important;
  min-width:40px!important;
  padding:0 9px!important;
  border-radius:6px!important;
  border:1px solid rgba(255,102,0,.38)!important;
  background:linear-gradient(180deg,rgba(255,102,0,.22),rgba(15,23,42,.96))!important;
  color:#ffd8bd!important;
  font-family:"Saira Condensed",Arial,sans-serif!important;
  font-size:.68rem!important;
  font-weight:1000!important;
  line-height:1!important;
  letter-spacing:.03em!important;
  box-shadow:none!important;
}
.tmpro-event-filter-tools .tmpro-filter-tool:hover{
  color:#fff!important;
  border-color:rgba(255,102,0,.72)!important;
  box-shadow:0 0 12px rgba(255,102,0,.18)!important;
}
.tmpro-event-filters button[data-filter]{
  position:relative!important;
}
.tmpro-event-filters .tmpro-all-filter-check{
  position:absolute!important;
  top:5px!important;
  right:5px!important;
  width:15px!important;
  height:15px!important;
  border-radius:3px!important;
  border:1px solid rgba(255,255,255,.42)!important;
  background:rgba(2,6,23,.82)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 0 8px rgba(0,0,0,.35)!important;
  cursor:pointer!important;
  z-index:5!important;
}
.tmpro-event-filters .tmpro-all-filter-check.is-on{
  border-color:#ff6600!important;
  background:linear-gradient(180deg,#ff7a18,#ff4d00)!important;
  box-shadow:0 0 12px rgba(255,102,0,.35)!important;
}
.tmpro-event-filters .tmpro-all-filter-check.is-on::after{
  content:"";
  position:absolute;
  left:4px;
  top:1px;
  width:4px;
  height:8px;
  border:solid #111827;
  border-width:0 2px 2px 0;
  transform:rotate(45deg);
}
.tmpro-event-filters .tmpro-all-filter-check.is-off{
  opacity:.75!important;
}

/* SRH FIX - rectangles secteurs sous LASTTIME TrackMap */
#tmproDriverList .tmpro-driver-lasttime-with-sectors,
#tmproDriverList .tmpro-driver-lasttime.tmpro-driver-lasttime-with-sectors{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:center!important;
  gap:3px!important;
  line-height:1!important;
  overflow:visible!important;
  text-align:right!important;
}
#tmproDriverList .tmpro-driver-lasttime-value{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#d8b4fe!important;
  font-family:"Saira Condensed",Arial,sans-serif!important;
  font-size:.82rem!important;
  font-weight:1000!important;
  line-height:1!important;
  text-align:right!important;
  font-variant-numeric:tabular-nums!important;
  text-shadow:0 0 10px rgba(168,85,247,.26)!important;
}
#tmproDriverList .tmpro-row-sectors-v45{
  display:flex!important;
  gap:3px!important;
  align-items:center!important;
  justify-content:flex-end!important;
  margin-top:4px!important;
  width:100%!important;
  min-width:52px!important;
}
#tmproDriverList .tmpro-row-sectors-v45 i{
  width:18px!important;
  height:5px!important;
  border-radius:2px!important;
  display:block!important;
  background:rgba(148,163,184,.22)!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.05)!important;
}
#tmproDriverList .tmpro-row-sectors-v45 i.is-orange{background:#ff9f1a!important;box-shadow:0 0 8px rgba(255,159,26,.45)!important;}
#tmproDriverList .tmpro-row-sectors-v45 i.is-green{background:#22c55e!important;box-shadow:0 0 8px rgba(34,197,94,.5)!important;}
#tmproDriverList .tmpro-row-sectors-v45 i.is-purple{background:#c026ff!important;box-shadow:0 0 10px rgba(192,38,255,.65)!important;}
#tmproDriverList .tmpro-row-sectors-v45 i.is-active{background:#f8fafc!important;box-shadow:0 0 8px rgba(248,250,252,.4)!important;}

/* SRH v45 - LASTTIME sectors: waiting/current/completed states */
.tmpro-row-sectors-v45 i.is-empty{background:rgba(15,23,42,.82)!important;box-shadow:inset 0 0 0 1px rgba(148,163,184,.16)!important;opacity:.62!important;}
#tmproDriverList .tmpro-row-sectors-v45 i.is-empty{background:rgba(15,23,42,.82)!important;box-shadow:inset 0 0 0 1px rgba(148,163,184,.16)!important;opacity:.62!important;}
.tmpro-row-sectors-v45 i.is-active{background:#f8fafc!important;box-shadow:0 0 8px rgba(248,250,252,.45)!important;opacity:1!important;animation:tmproSectorActivePulse 1s ease-in-out infinite alternate;}
#tmproDriverList .tmpro-row-sectors-v45 i.is-active{background:#f8fafc!important;box-shadow:0 0 8px rgba(248,250,252,.45)!important;opacity:1!important;animation:tmproSectorActivePulse 1s ease-in-out infinite alternate;}
@keyframes tmproSectorActivePulse{from{opacity:.55;transform:scaleX(.92)}to{opacity:1;transform:scaleX(1)}}
