.cxcsr-race {
max-width: 640px;
margin: 32px auto;
padding: 28px 24px;
background: #f6f7f7;
border-radius: 12px;
box-sizing: border-box;
text-align: center;
}
.cxcsr-title {
margin-top: 0;
margin-bottom: 6px;
}
.cxcsr-intro {
color: #444;
max-width: 480px;
margin: 0 auto 24px;
line-height: 1.5;
}
.cxcsr-lane {
text-align: left;
margin-bottom: 18px;
}
.cxcsr-lane-header {
display: flex;
justify-content: space-between;
align-items: baseline;
margin-bottom: 6px;
font-size: 14px;
font-weight: 600;
color: #1A1A2E;
}
.cxcsr-lane-timer {
font-variant-numeric: tabular-nums;
color: #666;
font-weight: 700;
}
.cxcsr-track {
background: #e2e2e2;
border-radius: 999px;
height: 16px;
overflow: hidden;
}
.cxcsr-fill {
height: 100%;
width: 0%;
border-radius: 999px;
}
.cxcsr-fill-slow {
background: linear-gradient(90deg, #E63946, #F37626);
}
.cxcsr-fill-fast {
background: linear-gradient(90deg, #1E9E8C, #195CA3);
}
.cxcsr-race.cxcsr-playing .cxcsr-fill-slow {
animation-name: cxcsr-slow-fill;
animation-timing-function: linear;
animation-fill-mode: forwards;
}
.cxcsr-race.cxcsr-playing .cxcsr-fill-fast {
animation-name: cxcsr-fast-fill;
animation-timing-function: ease-out;
animation-fill-mode: forwards;
}
@keyframes cxcsr-slow-fill {
0%   { width: 0%; }
10%  { width: 22%; }
14%  { width: 22%; }
32%  { width: 48%; }
36%  { width: 48%; }
58%  { width: 58%; }
66%  { width: 58%; }
88%  { width: 92%; }
100% { width: 100%; }
}
@keyframes cxcsr-fast-fill {
0%   { width: 0%; }
100% { width: 100%; }
}
.cxcsr-replay {
display: inline-block;
margin: 6px auto 18px;
background: #1A1A2E;
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 6px;
font-weight: 600;
cursor: pointer;
font-size: 14px;
}
.cxcsr-replay:hover {
filter: brightness(1.15);
}
.cxcsr-disclaimer {
font-size: 12px;
color: #888;
max-width: 480px;
margin: 0 auto 16px;
line-height: 1.5;
}
.cxcsr-cta {
display: inline-block;
font-weight: 700;
color: #195CA3;
text-decoration: none;
}
.cxcsr-cta:hover {
text-decoration: underline;
}.cxctb-badges {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 12px;
margin: 24px auto;
padding: 0 20px;
max-width: 1040px;
box-sizing: border-box;
}
.cxctb-badge-link { display: block; }
.cxctb-badge {
display: flex;
align-items: center;
gap: 12px;
width: 100%;
height: 100%;
background: #fff;
border: 1px solid #e2e2e2;
border-radius: 14px;
padding: 12px 16px;
font-size: 15px;
font-weight: 600;
line-height: 1.3;
color: #1A1A2E;
box-sizing: border-box;
}
.cxctb-badge-label {
white-space: normal;
word-break: break-word;
}
.cxctb-badge-icon {
flex-shrink: 0;
width: 22px;
height: 22px;
}
.cxctb-badge-icon.cxctb-flag { width: 26px; height: 18px; }
.cxctb-flag {
border-radius: 3px;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.cxctb-accent-red .cxctb-badge-icon { color: #E63946; }
.cxctb-accent-purple .cxctb-badge-icon { color: #9B5DE5; }
.cxctb-accent-blue .cxctb-badge-icon { color: #195CA3; }
.cxctb-accent-teal .cxctb-badge-icon { color: #1E9E8C; }
.cxctb-accent-orange .cxctb-badge-icon { color: #F37626; } .cxctb-theme-dark .cxctb-badge {
background: rgba(255, 255, 255, 0.12);
border-color: rgba(255, 255, 255, 0.35);
color: #fff;
backdrop-filter: blur(4px);
}
@media (max-width: 600px) {
.cxctb-badges {
grid-template-columns: 1fr;
max-width: 440px;
gap: 8px;
}
.cxctb-badge {
font-size: 14px;
padding: 11px 14px;
}
} .cxctb-badge-link { text-decoration: none; color: inherit; }
.cxctb-badge-link .cxctb-badge { transition: border-color .15s, transform .15s; }
.cxctb-badge-link:hover .cxctb-badge, .cxctb-badge-link:focus .cxctb-badge { border-color: #1E9E8C; transform: translateY(-1px); }
.cxctb-theme-dark .cxctb-badge-link:hover .cxctb-badge { border-color: #fff; } .cxctb-badge-link .cxctb-badge-label { flex: 1; }
.cxctb-badge-link .cxctb-badge::after { content: "\2197"; font-size: 13px; opacity: 0.55; margin-left: auto; }
.cxctb-badge-label { flex: 1; } .cxctb-badges.cxctb-compact {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 6px;
margin: 12px 0;
padding: 0;
max-width: 100%;
}
.cxctb-compact .cxctb-badge {
gap: 7px;
padding: 6px 9px;
border-radius: 9px;
font-size: 12px;
font-weight: 600;
line-height: 1.25;
}
.cxctb-compact .cxctb-badge-icon { width: 15px; height: 15px; }
.cxctb-compact .cxctb-badge-icon.cxctb-flag { width: 18px; height: 12px; }
.cxctb-compact .cxctb-badge::after { display: none; }
@media (max-width: 600px) {
.cxctb-badges.cxctb-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 100%; }
.cxctb-compact .cxctb-badge { font-size: 12px; padding: 6px 8px; }
}