.speedrun-screen{height:min(620px,calc(100dvh - 140px));min-height:0;width:100%;padding:12px;display:flex;flex-direction:column;gap:10px;overflow:hidden;box-sizing:border-box;color:#fff;font-family:Fredoka,system-ui,sans-serif;container-type:size}.mobile-game-route-speedrun>.speedrun-screen{height:100%;flex:1;padding:6px 10px;gap:6px}.speedrun-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}.speedrun-title{display:flex;align-items:center;gap:9px;min-width:0}.speedrun-title>svg{width:26px;height:26px;color:#8af0b2;flex-shrink:0}.speedrun-heading h1{margin:0;font-size:clamp(17px,7cqh,28px);font-weight:700;line-height:1}.speedrun-heading p{margin:3px 0 0;font-size:clamp(9px,3.8cqh,13px);color:#bee9d1;line-height:1.2}.speedrun-season{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:11px;color:#b5d6c5}.speedrun-season strong{background:#fbd46b;border-radius:6px;padding:4px 7px;color:#263d32}.speedrun-panels{flex:1;min-height:0;display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:10px}.speedrun-panel{min-width:0;min-height:0;padding:10px;border:1px solid #8ee4bc55;border-radius:16px;background:linear-gradient(145deg,#183d36df,#102e2ddf);box-shadow:inset 0 1px #e0ffee18,0 4px 12px #071e2633}.speedrun-panel-label{display:flex;justify-content:space-between;gap:6px;font-size:clamp(9px,3.8cqh,12px);font-weight:600;letter-spacing:.06em;color:#9de9ba;flex-shrink:0}.speedrun-panel-label span{color:#bfd4cd;letter-spacing:0}.speedrun-car{display:flex;flex-direction:column;background:radial-gradient(ellipse at 50% 45%,#5bddae35,transparent 70%),linear-gradient(145deg,#1d4a3edf,#122e31df)}.speedrun-car-selector{flex:1;min-height:0;display:grid;grid-template-columns:30px minmax(0,1fr) 30px;gap:3px;align-items:center}.speedrun-car-selector>button{width:30px;height:38px;display:grid;place-items:center;border-radius:10px;border:1px solid #acffd35c;background:#71cd9a20;color:#c7ffde}.speedrun-car-selector>button:disabled{opacity:.25}.speedrun-car-selector svg{width:20px;height:20px}.speedrun-car-art{min-width:0;height:100%;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden}.speedrun-car-art canvas{width:min(100%,52cqh,260px)!important;height:auto!important;max-height:100%;aspect-ratio:1;-o-object-fit:contain;object-fit:contain}.speedrun-car-art p{font-size:12px;text-align:center;color:#c7e7db}.speedrun-car-caption{text-align:center;flex-shrink:0}.speedrun-car-caption h2{font-weight:700;font-size:clamp(12px,5cqh,19px);margin:0;line-height:1.1}.speedrun-car-caption span{text-transform:uppercase;font-size:clamp(8px,3cqh,11px);color:#bbdbcd}.speedrun-car-caption b{color:#85edb8;font-weight:600}.speedrun-drive{display:flex;flex-direction:column;gap:8px}.speedrun-stats{flex:1;min-height:0;display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:5px}.speedrun-stats>div{min-height:0;display:flex;align-items:center;gap:8px;padding:4px 8px;background:#ffffff09;border:1px solid #c0f3e114;border-radius:9px}.speedrun-stats svg{width:16px;height:16px;flex-shrink:0}.speedrun-stats span{flex:1;min-width:0;font-size:clamp(10px,4cqh,14px)}.speedrun-stats strong{font-size:clamp(13px,5cqh,20px);font-weight:700}.speedrun-race-note{font-size:clamp(9px,3.4cqh,12px);line-height:1.2;color:#b2d6c8;margin:0;flex-shrink:0}.speedrun-play{width:100%;min-height:40px;flex-shrink:0;display:flex;align-items:center;justify-content:center;gap:6px;padding:7px;font-size:clamp(11px,4.5cqh,17px);font-weight:700;border-radius:11px;color:#173529;background:linear-gradient(#b0f77c,#65d94e);border:1px solid #d3ffb7;box-shadow:0 3px #358948}.speedrun-play svg{width:17px;height:17px}.speedrun-play:disabled{opacity:.45}.speedrun-play.is-guided{background:linear-gradient(#ffe696,#ffc857);border-color:#fff0bf;box-shadow:0 3px #ad7b26,0 0 13px #ffd76e80}.speedrun-results{display:flex;flex-direction:column;gap:7px}.speedrun-summary{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding-bottom:7px;border-bottom:1px solid #c0f3e122;flex-shrink:0}.speedrun-summary>div{min-width:0}.speedrun-summary span{display:flex;align-items:center;gap:4px;font-size:clamp(8px,3.1cqh,11px);color:#bbddcb;white-space:nowrap}.speedrun-summary svg{width:13px;height:13px;color:#9ae4b7}.speedrun-summary strong{display:block;font-size:clamp(16px,7cqh,28px);line-height:1.15;color:#a1f1bc;font-weight:700;font-variant-numeric:tabular-nums}.speedrun-summary>div:last-child strong{color:#fbd46b}.speedrun-summary small{display:block;font-size:clamp(8px,3cqh,10px);color:#b0cbbf;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.speedrun-ranking-heading{display:flex;align-items:center;justify-content:space-between;gap:4px;flex-shrink:0}.speedrun-ranking-heading h2{font-size:11px;display:flex;align-items:center;gap:5px;margin:0;color:#ffe3a4;font-weight:600}.speedrun-ranking-heading svg{width:13px;height:13px}.speedrun-ranking-heading button{display:flex;align-items:center;gap:2px;font-size:9px;color:#a5f3da;padding:3px 0}.speedrun-leaderboard{flex:1;min-height:0;display:grid;grid-template-rows:repeat(5,minmax(0,1fr));gap:3px;padding:0;margin:0;list-style:none}.speedrun-leaderboard:empty{display:none}.speedrun-leaderboard li{min-height:0;display:flex;align-items:center;gap:5px;padding:2px 5px;border-radius:6px;background:#ffffff06;font-size:clamp(9px,3.5cqh,12px)}.speedrun-place{width:17px;flex-shrink:0;color:#b8d8cb;font-weight:700;text-align:center}.speedrun-leaderboard li[data-medal="1"] .speedrun-place{color:#fbd46b}.speedrun-leaderboard li[data-medal="2"] .speedrun-place{color:#dbe9f6}.speedrun-leaderboard li[data-medal="3"] .speedrun-place{color:#eeb78a}.speedrun-driver{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.speedrun-leaderboard strong{font-weight:600;color:#a2efb8;white-space:nowrap;font-variant-numeric:tabular-nums}.speedrun-empty{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;gap:9px;color:#b2d2c1}.speedrun-empty>svg{width:27px;height:27px;color:#a1d1b8;opacity:.5;flex-shrink:0}.speedrun-empty p{font-size:11px;margin:0;line-height:1.35}@container (max-height: 230px){.speedrun-panel{padding:7px;border-radius:12px}.speedrun-panels{gap:6px}.speedrun-drive,.speedrun-results{gap:5px}.speedrun-play{min-height:32px;padding:5px}.speedrun-summary{padding-bottom:4px;gap:5px}.speedrun-race-note{font-size:9px}.speedrun-title>svg{width:21px;height:21px}}@media(max-width:600px){.speedrun-panels{grid-template-columns:.9fr 1fr 1.1fr;gap:5px}.speedrun-panel{padding:6px}.speedrun-car-selector{grid-template-columns:24px minmax(0,1fr) 24px}.speedrun-car-selector>button{width:24px}.speedrun-season{font-size:9px}.speedrun-season strong{padding:3px 4px}.speedrun-stats>div{padding:3px;gap:4px}.speedrun-stats svg{width:12px;height:12px}.speedrun-ranking-heading button{font-size:8px}}
