/* Approved 13.10.2026: race before +25%, meeting after +30%.
   Scale the visible silhouette, not the PNG's transparent bounding canvas. */
.race-trophy-title{display:inline-flex;align-items:center;vertical-align:middle;max-width:100%;box-sizing:border-box}
.race-trophy-before{padding-left:4px;gap:calc(.12em + 4px)}
/* 26.10.2026: Titel zuerst, Trophaee dahinter */
.race-trophy-after{gap:calc(.12em + 6px)}
.meeting-trophy-title{gap:.24em;position:relative;top:8px}
.race-trophy-label{min-width:0;white-space:inherit}
.race-trophy{position:relative;display:inline-block;flex:0 0 var(--cup-w);width:var(--cup-w);height:var(--cup-h);overflow:hidden}
.race-trophy img{position:absolute;width:var(--cup-img)!important;max-width:none!important;height:auto!important;left:var(--cup-x)!important;top:var(--cup-y)!important;margin:0!important}
@media(max-width:600px){.race-trophy-label{white-space:normal;overflow-wrap:anywhere}}
/* Include the cup in title width; keep the existing podium columns intact. */
.hklinks>.renntitel:has(.race-trophy-title){width:max-content;max-width:min(calc(100vw - 96px),1072px);overflow:visible;white-space:normal}
.hklinks>.renntitel .race-trophy-label{white-space:normal}
@media(max-width:900px){.hklinks>.renntitel:has(.race-trophy-title){width:auto;max-width:100%}}

/* Phones: full-width title first; trophy follows below at the right. */
@media(max-width:600px){
 .race-trophy-title{display:flex;flex-wrap:wrap;width:100%;gap:6px;padding-left:0;top:0}
 .race-trophy-title>.race-trophy-label{order:0;flex:0 0 100%;width:100%}
 .race-trophy-title>.race-trophy{order:1;margin-left:auto;font-size:1em}
}
