:is(.online-hero,.prepared-hero) .portal-buttons{display:flex;align-items:center;flex-wrap:wrap;gap:10px}:is(.online-hero,.prepared-hero) .portal-buttons a[href="#calendar"]{margin-left:auto}
.match-court.court-card{padding:14px;min-height:0;gap:10px}.match-court .court-players{grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr);flex:0;gap:8px;margin:0}.match-court .court-player{gap:4px;min-width:0}.match-court .court-player img,.match-court .court-avatar{width:70px;height:105px;max-width:100%;border-radius:9px;object-fit:cover;animation:none}.match-court .court-player>b{font-size:13px;line-height:1.2}.match-court .court-player small{font-size:11px;color:#51606c}.court-versus{text-align:center;font-size:25px;white-space:nowrap;color:#253e48}.match-court .court-winner img,.match-court .court-winner .court-avatar{box-shadow:0 0 0 3px #c89f38;animation:none}.match-court .court-victor{color:#795607}.match-court .court-next{margin:0;padding:6px 8px;font-size:11px}.match-court.court-card-idle{align-self:start}.match-court.court-card-idle>p{margin:12px 0}
.match-forecast{display:grid;gap:5px;min-width:0}.forecast-caption,.forecast-values,.forecast-names{display:flex;justify-content:space-between;gap:10px}.forecast-caption{font-size:12px}.forecast-caption small{font-size:10px;color:#596773}.forecast-values{font-size:17px;line-height:1}.forecast-track{height:8px;border-radius:8px;background:#718ca6;overflow:hidden}.forecast-track i{display:block;height:100%;width:var(--probability);background:#71954d;animation:forecast-enter .7s ease both}.forecast-names{font-size:12px}.forecast-names>span{max-width:48%}.forecast-names>span:last-child{text-align:right}.forecast-method{font-size:11px;color:#51606c}.forecast-method summary{cursor:pointer;width:fit-content}.forecast-method p{line-height:1.5}.court-h2h{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px}.court-h2h>div{display:flex;gap:4px}.court-h2h>small,.court-h2h-empty{font-size:11px;color:#596773}.h2h-result{font-size:11px;font-weight:700;padding:3px 6px;border-radius:5px;text-decoration:none}.h2h-result.left-win{background:#dce9cf;color:#31551e}.h2h-result.right-win{background:#dce5ef;color:#34536f}.h2h-result:focus-visible{outline:2px solid #34536f;outline-offset:2px}
.sample-reliability{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:12px;margin:8px 0}.sample-badge{padding:3px 7px;border-radius:5px;background:#e1e9e1;color:#35583a}.sample-badge.small-sample{background:#fff0d2;color:#73531b}.analytics-visual-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.analytics-visual-head label{display:flex;align-items:center;gap:8px;font-size:12px}.analytics-visual-head select{width:auto;min-height:30px;padding:4px 24px 4px 8px}.heatmap-scroll{display:flex;gap:8px;overflow-x:auto;padding:24px 0 8px}.heatmap-weekdays{display:grid;grid-template-rows:repeat(7,13px);gap:4px;font-size:10px;flex-shrink:0}.activity-heatmap{display:grid;grid-auto-flow:column;grid-template-rows:repeat(7,13px);grid-auto-columns:13px;gap:4px}.activity-heatmap .heatmap-day{position:relative;display:block;width:13px;height:13px;min-height:0;padding:0;border:0;border-radius:3px;box-shadow:none;animation:heatmap-enter .55s ease both}.heat-0{background:#e0e6e5}.heat-1{background:#c7d8ad}.heat-2{background:#a4be7c}.heat-3{background:#7c9e50}.heat-4{background:#4c722e}.heatmap-day.out-of-range{opacity:.3}.heatmap-day:hover,.heatmap-day:focus-visible{outline:2px solid #294534;outline-offset:1px;z-index:2}.heatmap-month{position:absolute;bottom:21px;left:0;white-space:nowrap;font-size:10px;color:#51606c;pointer-events:none}.heatmap-legend{display:flex;gap:5px;justify-content:flex-end;align-items:center;font-size:11px}.heatmap-legend i{width:12px;height:12px;border-radius:3px}.opponent-matrix-scroll{overflow:auto;max-height:650px}.opponent-matrix{width:100%;border-collapse:separate;border-spacing:3px;font-size:12px}.opponent-matrix th{padding:8px;min-width:54px;background:#e3eadd}.opponent-matrix th:first-child{min-width:170px;position:sticky;left:0;z-index:2;text-align:left}.opponent-matrix th a{color:#304750;text-decoration:none}.opponent-matrix thead th{position:sticky;top:0;z-index:3}.opponent-matrix thead th:first-child{z-index:4}.opponent-matrix td{text-align:center;border-radius:6px;min-width:54px}.matrix-rate{background:hsl(var(--matrix-hue) 42% 89%);color:hsl(var(--matrix-hue) 60% 23%)}.matrix-rate a{display:block;padding:7px 4px;color:inherit;text-decoration:none}.matrix-rate a:hover,.matrix-rate a:focus-visible{outline:2px solid currentColor;border-radius:6px}.matrix-rate small{display:block;font-size:10px}.matrix-small-sample{background:#e7e9e8;color:#5b676c}.matrix-self,.matrix-no-data{color:#7b858b;background:#edf0f0}
@keyframes forecast-enter{from{transform:scaleX(0);transform-origin:left}to{transform:scaleX(1);transform-origin:left}}@keyframes heatmap-enter{from{opacity:0;transform:scale(.7)}to{opacity:1;transform:scale(1)}}
@media(max-width:700px){.match-court .court-player img,.match-court .court-avatar{width:64px;height:96px}.match-court .court-players{grid-template-columns:minmax(0,1fr) 58px minmax(0,1fr)}.court-versus{font-size:23px}.analytics-tabs.segment{overflow:auto;flex-wrap:nowrap}.analytics-tabs.segment button{flex:0 0 auto;min-width:max-content}.opponent-matrix th:first-child{min-width:135px;max-width:135px}}
@media(prefers-reduced-motion:reduce){.forecast-track i,.activity-heatmap .heatmap-day{animation:none}}
.historical-forecast{text-align:left;border-top:1px solid #d5dfe3;padding-top:16px;margin-top:14px}.historical-forecast>.subtle{display:block;font-size:11px;margin-top:8px}.tournament-toolbar>.rating-legend{margin:0 0 0 10px;align-self:center}
.group-matrix td.matrix-win-cell{background:#deebd5}.group-matrix td.matrix-loss-cell{background:#f1dcda}.group-matrix .matrix-score.won{color:#3d652a}.group-matrix .matrix-score.lost{color:#954a42}.group-matrix .matrix-score:hover{background:#ffffff60}.group-matrix td:not(.matrix-win-cell)>.matrix-score.won{background:#deebd5}.group-matrix td:not(.matrix-loss-cell)>.matrix-score.lost{background:#f1dcda}
.online-hero .live-stream{width:fit-content;position:relative;z-index:1;gap:9px;margin:10px 0;font-size:11px;text-decoration:none;color:#355135}.online-hero .live-stream img{width:108px;aspect-ratio:16/9;object-fit:cover}.online-hero .portal-buttons{margin-top:auto}.online-hero{display:flex;flex-direction:column}
@media(min-width:1280px){.courts-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.tournament-toolbar>.rating-legend{margin:0;font-size:10px}}

.prepared-hero{display:flex;flex-direction:column}.prepared-hero .portal-buttons{margin-top:auto;padding-top:14px}.prepared-hero.is-today{background:linear-gradient(125deg,#eff8fc,#dcecf4);border-color:#b5cfdc}.prepared-hero.is-today .chip{background:#c5dfeb;color:#25566b}.prepared-hero.is-today .eyebrow{color:#426c7d}
