/* Bebalap v256 - public Tournament Race Detail modal */
.tournament-detail-page .tournament-race-detail-trigger{width:100%;height:28px;margin-top:7px;padding:0 8px;border:0;border-radius:8px;background:#1768ff;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:8px;font:inherit;font-size:7.5px;font-weight:950;cursor:pointer}
.tournament-detail-page .tournament-race-detail-trigger svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
.tournament-detail-page .bracket-match-card.status-completed{box-shadow:0 5px 16px rgba(16,24,40,.045)}
.tournament-page-race-modal .last-match-detail-sheet{border-top-left-radius:22px;border-top-right-radius:22px}
.tournament-page-race-modal .tournament-result-head{background:#fff}
.tournament-page-race-modal .last-match-detail-overview>div{min-width:0}
.tournament-page-race-modal .last-match-detail-overview b{overflow-wrap:anywhere}
@media(max-width:390px){.tournament-detail-page .tournament-race-detail-trigger{height:27px;margin-top:6px;font-size:7.25px}}

/* v257 - modern Tournament final result card */
.tournament-page-race-modal .tournament-result-modern-card{margin-top:10px;overflow:hidden;border:1px solid #dfe7f4;border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(16,24,40,.075)}
.tournament-page-race-modal .tournament-result-modern-head{position:relative;padding:14px;background:linear-gradient(135deg,#1768ff 0%,#0f55dc 100%);color:#fff}
.tournament-page-race-modal .tournament-result-modern-copy{padding-right:104px;min-width:0}
.tournament-page-race-modal .tournament-result-modern-copy>span{display:block;font-size:6.5px;font-weight:950;letter-spacing:.13em;color:rgba(255,255,255,.72)}
.tournament-page-race-modal .tournament-result-modern-copy h3{margin:3px 0 0;font-size:12px;line-height:1.2;color:#fff;overflow-wrap:anywhere}
.tournament-page-race-modal .tournament-result-modern-copy p{margin:4px 0 0;font-size:6.8px;font-weight:800;color:rgba(255,255,255,.74)}
.tournament-page-race-modal .tournament-result-modern-score{position:absolute;top:12px;right:13px;min-width:92px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;justify-items:center;column-gap:5px;padding:7px 9px 6px;border:1px solid rgba(255,255,255,.25);border-radius:13px;background:rgba(255,255,255,.12);box-shadow:inset 0 1px 0 rgba(255,255,255,.13);backdrop-filter:blur(5px)}
.tournament-page-race-modal .tournament-result-modern-score b{font-size:22px;line-height:1;font-weight:1000;color:#fff}
.tournament-page-race-modal .tournament-result-modern-score>span{font-size:12px;font-weight:950;color:rgba(255,255,255,.68)}
.tournament-page-race-modal .tournament-result-modern-score small{grid-column:1/-1;margin-top:4px;font-size:5.5px;font-weight:950;letter-spacing:.12em;color:rgba(255,255,255,.7)}
.tournament-page-race-modal .tournament-result-modern-winner{margin-top:12px;min-height:39px;padding:7px 9px;display:flex;align-items:center;gap:8px;border-radius:12px;background:#fff;color:#273244;box-shadow:0 7px 18px rgba(6,37,103,.18)}
.tournament-page-race-modal .tournament-result-trophy{width:27px;height:27px;flex:0 0 27px;display:grid;place-items:center;border-radius:9px;background:#eef4ff;color:#1768ff}
.tournament-page-race-modal .tournament-result-trophy svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.tournament-page-race-modal .tournament-result-modern-winner div{min-width:0}.tournament-page-race-modal .tournament-result-modern-winner small,.tournament-page-race-modal .tournament-result-modern-winner b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tournament-page-race-modal .tournament-result-modern-winner small{font-size:5.8px;font-weight:950;letter-spacing:.11em;color:#98a2b3}.tournament-page-race-modal .tournament-result-modern-winner b{margin-top:1px;font-size:9.5px;color:#1768ff}
.tournament-page-race-modal .tournament-result-modern-body{padding:11px}
.tournament-page-race-modal .tournament-result-modern-body-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.tournament-page-race-modal .tournament-result-modern-body-title span{font-size:6px;font-weight:950;letter-spacing:.12em;color:#98a2b3}.tournament-page-race-modal .tournament-result-modern-body-title b{font-size:8px;color:#344054}
.tournament-page-race-modal .tournament-result-racer-card{position:relative;grid-template-columns:auto minmax(0,1fr) auto;padding:9px 9px 28px;background:#f8fafc;border-color:#e7ebf1}.tournament-page-race-modal .tournament-result-racer-card.is-winner{background:#f3f7ff;border-color:#c8d8ff;box-shadow:inset 3px 0 0 #1768ff}.tournament-page-race-modal .tournament-result-racer-score{min-width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:#fff;border:1px solid #e5eaf1;color:#344054;font-size:13px;font-weight:1000}.tournament-page-race-modal .tournament-result-racer-card.is-winner .tournament-result-racer-score{background:#1768ff;border-color:#1768ff;color:#fff}.tournament-page-race-modal .tournament-result-racer-card>.last-match-racer-result{position:absolute;left:9px;bottom:8px}.tournament-page-race-modal .tournament-result-racer-card>.tournament-result-dnf{grid-column:1/-1;margin-top:2px}
@media(max-width:390px){.tournament-page-race-modal .tournament-result-modern-head{padding:12px}.tournament-page-race-modal .tournament-result-modern-copy{padding-right:96px}.tournament-page-race-modal .tournament-result-modern-score{top:10px;right:10px;min-width:86px}.tournament-page-race-modal .tournament-result-modern-score b{font-size:20px}.tournament-page-race-modal .tournament-result-modern-body{padding:9px}.tournament-page-race-modal .tournament-result-racer-grid{grid-template-columns:1fr}.tournament-page-race-modal .tournament-result-racer-card{padding-bottom:27px}}
