@font-face { font-family: "TacticSans-MedIt"; src: local("TacticSans-MedIt"), local("Tactic Sans Med It"), url("fonts/TacticSans-MedIt.woff2") format("woff2"), url("fonts/TacticSans-MedIt.otf") format("opentype"), url("fonts/TacticSans-MedIt.ttf") format("truetype"); font-weight: 500; font-style: italic; font-display: swap; } body { font-family: "Sora", var(--font); } .section-head { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; flex-shrink: 0; } .section-head__back { width: 30px; height: 30px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border: none; background: transparent; cursor: pointer; flex-shrink: 0; } .section-head__back.hidden { display: none !important; } .section-head__back img { width: 30px; height: 30px; display: block; object-fit: contain; } .section-head__back:hover { opacity: 0.85; } .section-head__icon { width: 36px; height: 36px; border-radius: var(--radius-xs); background: transparent; color: var(--red); display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .section-head__icon img { width: 28px; height: 28px; object-fit: contain; } .section-head__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; } .section-head__title { font-size: 15px; font-weight: 700; color: var(--white); letter-spacing: 0.02em; text-transform: uppercase; line-height: 1.1; } .section-head__sub { font-size: 11px; font-weight: 400; color: var(--white-7); line-height: 1.35; } .page[data-view="races"] .section-head { padding-left: 18px; padding-right: 18px; box-sizing: border-box; } .path-pref { margin-left: auto; display: inline-flex; align-items: center; gap: 12px; height: 46px; padding: 0 12px 0 10px; border: none; border-radius: 10px; background: var(--card-02); color: var(--white); cursor: pointer; flex-shrink: 0; transition: background 0.18s ease, box-shadow 0.18s ease; box-shadow: 0 0 0 1px var(--white-1); } .path-pref:hover { background: var(--card-01); } .path-pref:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--accent-5); } .path-pref__icon { width: 30px; height: 30px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--accent) 22%, var(--black-4)); flex-shrink: 0; } .path-pref__icon img { width: 18px; height: 18px; display: block; object-fit: contain; opacity: 0.92; } .path-pref__copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px; min-width: 0; text-align: left; } .path-pref__copy strong { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.1; color: var(--white); } .path-pref__hint { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 500; letter-spacing: 0.02em; line-height: 1; color: var(--white-5); } .path-pref__kbd { min-width: 18px; height: 16px; padding: 0 5px; border-radius: 4px; background: color-mix(in srgb, var(--accent) 28%, var(--black-4)); color: var(--white); font: 700 9px/1 "Sora", var(--font); letter-spacing: 0.04em; text-transform: uppercase; display: inline-flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent); } .path-pref:not(.is-on) .path-pref__hint { color: var(--white-4); } .path-pref:not(.is-on) .path-pref__kbd { background: var(--white-1); box-shadow: inset 0 0 0 1px var(--white-2); color: var(--white-7); } .path-pref__switch { position: relative; width: 38px; height: 22px; border-radius: 999px; background: var(--white-2); flex-shrink: 0; transition: background 0.18s ease; } .path-pref__thumb { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--white-8); box-shadow: 0 1px 4px var(--black-5); transition: transform 0.18s ease, background 0.18s ease; } .path-pref.is-on .path-pref__switch { background: var(--accent); } .path-pref.is-on .path-pref__thumb { transform: translateX(16px); background: var(--white); } .path-pref:not(.is-on) .path-pref__icon { background: var(--white-1); } .path-pref:not(.is-on) .path-pref__copy strong { color: var(--white-8); } .section-head__search { margin-left: auto; display: flex; align-items: center; gap: 10px; background: var(--card-02); border-radius: 5px; height: 35px; padding: 0 15px; width: 235px; flex-shrink: 0; color: var(--white-6); } .section-head__search img { width: 13px; height: 13px; object-fit: contain; opacity: 0.55; flex-shrink: 0; } .section-head__search input { flex: 1; min-width: 0; background: transparent; border: none; outline: none; color: var(--white); font: 500 12px "Sora", var(--font); } .section-head__search input::placeholder { color: var(--white-6); } .race-infobar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; height: auto; background: var(--card-01); border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; flex-shrink: 0; box-sizing: border-box; } .race-infobar__left { display: flex; align-items: center; gap: 15px; min-width: 0; } .race-infobar__avatar { width: 60px; height: 60px; border-radius: 5px; object-fit: cover; background: var(--card-05); flex-shrink: 0; } .race-infobar__ident { display: flex; flex-direction: column; gap: 4px; min-width: 0; } .race-infobar__hi { font-size: 12px; color: var(--white-7); font-weight: 400; } .race-infobar__name-row { display: flex; align-items: center; gap: 8px; min-width: 0; } .race-infobar__name { font-size: 18px; font-weight: 600; color: var(--white); line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .race-infobar__edit { width: 22px; height: 22px; border: none; border-radius: 4px; background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; padding: 0; opacity: 0.7; transition: opacity 0.15s ease, background 0.15s ease; } .race-infobar__edit:hover { opacity: 1; background: var(--white-1); } .race-infobar__edit img { width: 12px; height: 12px; object-fit: contain; } .race-infobar__edit-form { display: flex; align-items: center; gap: 6px; min-width: 0; } .race-infobar__edit-form.hidden { display: none !important; } .race-infobar__edit-input { width: 180px; max-width: 40vw; height: 28px; padding: 0 10px; border: 1px solid var(--white-2); border-radius: 5px; background: var(--card-02); color: var(--white); font: 500 13px "Sora", var(--font); outline: none; } .race-infobar__edit-input:focus { border-color: var(--red); } .race-infobar__edit-save, .race-infobar__edit-cancel { height: 28px; min-width: 28px; padding: 0 8px; border: none; border-radius: 5px; cursor: pointer; font: 600 11px "Sora", var(--font); } .race-infobar__edit-save { background: var(--red); color: var(--white); } .race-infobar__edit-cancel { background: var(--white-1); color: var(--white-7); } .race-infobar__right { display: flex; flex-direction: column; align-items: stretch; gap: 4px; width: 200px; flex-shrink: 0; } .race-infobar__level { display: flex; align-items: baseline; justify-content: flex-start; gap: 12px; } .race-infobar__level-label { font-size: 13px; font-weight: 600; color: var(--white); letter-spacing: 0; } .race-infobar__xp-nums { font-size: 10px; font-weight: 400; color: var(--white-7); letter-spacing: 0; text-align: right; align-self: flex-end; } .race-infobar__xp-nums #raceXpCur { color: var(--white-7); font-weight: 400; } .race-infobar__xp-sep { margin: 0; color: var(--white-7); } .race-infobar__xp-hint { margin-left: 4px; color: var(--white-7); letter-spacing: 0; } .race-infobar__bar { position: relative; height: 5px; border-radius: 5px; background: var(--white-1); overflow: visible; } .race-infobar__bar-fill { position: absolute; inset: 0 auto 0 0; background: var(--red); border-radius: 5px; transition: width 0.25s ease; min-width: 0; box-shadow: 0 0 6px var(--accent-7); } .view { gap: 0; } .page { flex: 1; min-height: 0; display: flex; flex-direction: column; } .page.hidden { display: none !important; } .race-list { flex: 1; min-height: 0; overflow-y: auto; padding-right: 8px; display: flex; flex-direction: column; gap: 12px; --race-grid: 92px minmax(0, 1fr) auto; scrollbar-gutter: stable; } .race-list::-webkit-scrollbar { width: 4px; } .race-list::-webkit-scrollbar-track { background: var(--card-02); border-radius: 5px; } .race-list::-webkit-scrollbar-thumb { background: var(--red); border-radius: 5px; } .race-row { position: relative; min-height: 118px; height: auto; padding: 12px 18px; display: grid; grid-template-columns: var(--race-grid); align-items: center; column-gap: 18px; background: var(--card-01); border-radius: 8px; transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease; box-sizing: border-box; overflow: visible; z-index: 1; } .race-row.is-menu-open { z-index: 40; } .race-row:hover { background: var(--white-1); } .race-row--locked { background: var(--card-01); box-shadow: inset 0 0 0 1px var(--white-1); } .race-row--locked:hover { background: var(--white-1); box-shadow: inset 0 0 0 1px var(--white-2), 0 0 0 1px var(--accent-3); transform: translateY(-1px); } .race-row--next { box-shadow: inset 0 0 0 1px var(--accent-4), 0 0 24px var(--accent-2); } .race-row--next:hover { box-shadow: inset 0 0 0 1px var(--accent-6), 0 0 28px var(--accent-3); } .race-row__thumb-wrap { position: relative; width: 88px; height: 88px; flex-shrink: 0; align-self: center; justify-self: center; } .race-row__thumb { width: 88px; height: 88px; border-radius: 6px; object-fit: cover; object-position: center; background: var(--card-05); flex-shrink: 0; display: block; transition: filter 0.2s ease, opacity 0.2s ease, transform 0.2s ease; } .race-row--locked .race-row__thumb { filter: grayscale(1) brightness(0.38) contrast(1.05); opacity: 0.9; } .race-row--locked:hover .race-row__thumb { filter: grayscale(0.65) brightness(0.5) contrast(1.05); transform: scale(1.03); } .race-row__seal { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 6px; background: var(--black-7); pointer-events: none; transition: background 0.2s ease; } .race-row--locked:hover .race-row__seal { background: var(--black-6); } .race-row__seal-ring { position: absolute; width: 42px; height: 42px; border-radius: 50%; box-shadow: 0 0 0 1px var(--white-2); transition: box-shadow 0.2s ease, transform 0.2s ease; } .race-row--locked:hover .race-row__seal-ring { box-shadow: 0 0 0 1px var(--accent-6); transform: scale(1.08); } .race-row--next .race-row__seal-ring { box-shadow: 0 0 0 1px var(--accent-7); animation: race-seal-pulse 1.8s ease-in-out infinite; } .race-row__seal img { position: relative; z-index: 1; width: 18px; height: 18px; object-fit: contain; } @keyframes race-seal-pulse { 0%, 100% { transform: scale(1); opacity: 0.85; } 50% { transform: scale(1.12); opacity: 1; } } .race-row__body { display: flex; flex-direction: column; justify-content: center; gap: 8px; min-width: 0; } .race-row__title { display: flex; align-items: center; gap: 10px; min-width: 0; flex-wrap: wrap; } .race-row__id { display: inline-flex; align-items: center; justify-content: center; height: 24px; padding: 0 10px; border-radius: 6px; background: var(--red-soft); color: var(--red); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; flex-shrink: 0; font-variant-numeric: tabular-nums; } .race-row__name { font-size: 18px; font-weight: 800; color: var(--white); letter-spacing: 0.01em; line-height: 1.1; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .race-row--locked .race-row__name { color: var(--white-6); } .race-row--locked:hover .race-row__name { color: var(--white-8); } .race-row__badge { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 24px; padding: 0 12px; border-radius: 999px; background: var(--card-02); color: var(--white-5); font-size: 11px; font-weight: 500; flex-shrink: 0; } .race-row__badge img { width: 10px; height: 13px; object-fit: contain; flex-shrink: 0; } .race-row__badge--next { background: var(--accent-3); color: var(--red); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; font-size: 10px; } .race-row__meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; } .race-row__meta-item { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 400; color: var(--white-7); white-space: nowrap; } .race-row__meta-item img { width: 14px; height: 14px; object-fit: contain; opacity: 0.75; flex-shrink: 0; } .race-row__meta-item--money { color: var(--white); font-weight: 500; } .race-row__meta-item--money img { color: var(--green); opacity: 1; } .race-row__meta-item--class .race-row__class { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 4px; background: var(--white-1); color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; line-height: 1; } .race-row__meta-item--bomb { color: var(--white-5); } .race-row__meta-item--bomb img { width: 10px; height: 13px; opacity: 0.45; } .race-row__meta-item--bomb.is-active { color: var(--white-8); } .race-row__meta-item--bomb.is-active img { opacity: 0.85; } .race-row--locked .race-row__meta { opacity: 0.72; } .race-row--locked .race-row__meta-item--money { color: var(--white-7); font-weight: 400; } .race-row--locked .race-row__meta-item--money img { opacity: 0.4; filter: brightness(0.55) saturate(0.65); } .race-row__unlock { display: flex; flex-direction: column; gap: 5px; margin-top: 2px; max-width: 320px; } .race-row__unlock-head, .race-row__unlock-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; } .race-row__unlock-label { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--white-5); } .race-row--next .race-row__unlock-label { color: var(--red); } .race-row__unlock-lvl { font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--white-7); } .race-row__unlock-lvl span { color: var(--white-4); margin: 0 2px; } .race-row__unlock-track { position: relative; width: 100%; height: 4px; border-radius: 999px; background: var(--white-1); overflow: hidden; } .race-row__unlock-fill { height: 100%; width: var(--p, 0%); border-radius: inherit; background: linear-gradient(90deg, var(--accent-6), var(--accent-10)); transition: width 0.35s ease; position: relative; } .race-row--next .race-row__unlock-fill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--white-3), transparent); animation: race-unlock-sheen 1.1s ease-in-out infinite; } @keyframes race-unlock-sheen { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } } .race-row__unlock-hint { font-size: 11px; font-weight: 600; color: var(--white-6); } .race-row--next .race-row__unlock-hint { color: var(--white-8); } .race-row__unlock-target { font-size: 10px; font-weight: 500; color: var(--white-5); letter-spacing: 0.02em; } .race-row--locked:hover .race-row__unlock-hint { color: var(--white); } .race-row__build { position: relative; display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-right: 2px; } .race-row__tool { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border: none; border-radius: 0; background: transparent; cursor: pointer; padding: 0; } .race-row__tool:hover, .race-row__build.is-open .race-row__tool { background: transparent; } .race-row__tool img { width: 16px; height: 16px; object-fit: contain; display: block; opacity: 0.4; transition: opacity 0.15s ease; } .race-row__tool:hover img, .race-row__build.is-open .race-row__tool img { opacity: 0.9; } .race-row__menu { position: absolute; top: calc(100% + 10px); right: 0; z-index: 50; min-width: 228px; padding: 8px; border-radius: 10px; background: var(--panel-10); box-shadow: 0 0 0 1px var(--white-2), 0 16px 32px var(--black-8); display: flex; flex-direction: column; gap: 4px; } .race-row__menu.hidden { display: none !important; } .race-row__menu-label { padding: 4px 10px 8px; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--white-5); } .race-row__menu button { width: 100%; min-height: 48px; padding: 8px 10px; border: none; border-radius: 8px; background: transparent; color: var(--white-8); font: 600 12px "Sora", var(--font); text-align: left; cursor: pointer; display: flex; align-items: center; gap: 10px; transition: background 0.15s ease, color 0.15s ease; } .race-row__menu button img { width: 18px; height: 18px; object-fit: contain; flex-shrink: 0; opacity: 0.7; transition: opacity 0.15s ease; } .race-row__menu button span { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .race-row__menu button strong { font-size: 12px; font-weight: 600; color: var(--white-9); line-height: 1.2; } .race-row__menu button small { font-size: 10px; font-weight: 400; color: var(--white-5); line-height: 1.25; } .race-row__menu button:hover { background: var(--white-1); color: var(--white); } .race-row__menu button:hover img { opacity: 1; } .race-row__menu button:hover strong { color: var(--white); } .race-row__menu button:hover small { color: var(--white-7); } .race-row__actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-shrink: 0; margin-left: auto; } .race-row__map { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: none; border-radius: 6px; color: var(--white-7); cursor: pointer; transition: color 0.15s ease, background 0.15s ease; padding: 0; } .race-row__map:hover { background: var(--card-02); color: var(--white); } .race-row__map img { width: 16px; height: 16px; object-fit: contain; } .race-row__cta { height: 32px; padding: 0 16px; border: none; border-radius: 6px; background: var(--card-02); color: var(--white-7); font: 600 11px "Sora", var(--font); cursor: pointer; transition: background 0.15s ease, color 0.15s ease; white-space: nowrap; min-width: 128px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; } .race-row__cta:hover { background: var(--red); color: var(--white); } .race-row__seal-cta { min-width: 128px; height: 32px; padding: 0 14px; border: none; border-radius: 6px; background: var(--card-02); box-shadow: none; color: var(--white-4); font: 600 11px "Sora", var(--font); letter-spacing: 0.02em; text-transform: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; pointer-events: none; user-select: none; opacity: 0.55; cursor: not-allowed; } .race-row__seal-cta img { width: 12px; height: 12px; object-fit: contain; opacity: 0.7; flex-shrink: 0; } .race-row--locked:hover .race-row__seal-cta { background: var(--card-02); color: var(--white-4); box-shadow: none; opacity: 0.55; } .race-row--next .race-row__seal-cta { opacity: 0.65; color: var(--white-5); } .lb { flex: 1; min-height: 0; display: flex; flex-direction: column; background: transparent; border-radius: 5px; overflow: hidden; --lb-grid: 120px minmax(180px, 1.55fr) minmax(160px, 1.35fr) 140px 120px; } .lb__head { height: 34px; padding: 0 20px 0 48px; margin-right: 10px; display: grid; grid-template-columns: var(--lb-grid); align-items: center; background: var(--white-1); border-radius: 5px; flex-shrink: 0; } .lb__cell { font-size: 12px; font-weight: 600; color: var(--white); text-transform: none; letter-spacing: 0; } .lb__cell--pos { padding-left: 0; } .lb__cell--num { text-align: left; } .lb__body { flex: 1; min-height: 0; overflow-y: auto; padding: 5px 10px 8px 0; display: flex; flex-direction: column; gap: 5px; scrollbar-gutter: stable; } .lb__body::-webkit-scrollbar { width: 4px; } .lb__body::-webkit-scrollbar-track { background: var(--card-02); border-radius: 5px; } .lb__body::-webkit-scrollbar-thumb { background: var(--red); border-radius: 5px; } .lb__row { position: relative; height: 50px; padding: 0 20px 0 48px; display: grid; grid-template-columns: var(--lb-grid); align-items: center; border-radius: 5px; background: var(--card-01); color: var(--white-5); font-size: 15px; font-weight: 400; } .lb__row--top { color: var(--white); background: linear-gradient(90deg, var(--accent-8) 0%, var(--accent-5) 35%, var(--accent-2) 70%, transparent 100%); } .lb__pos { font-style: italic; font-weight: 600; font-size: 20px; color: var(--white); letter-spacing: 0; } .lb__row:not(.lb__row--top) .lb__pos { color: var(--white-5); } .lb__num { text-align: left; font-variant-numeric: tabular-nums; } .lb__pilot { display: inline-flex; align-items: center; gap: 10px; min-width: 0; } .lb__pilot-name { font-weight: 400; color: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .lb__row:not(.lb__row--top) .lb__pilot-name { color: var(--white-5); font-weight: 400; } .lb__num--time { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; } .lb__num--muted { color: var(--white-4); font-weight: 400; } .lb__empty { padding: 30px 20px; text-align: center; color: var(--white-5); font-size: 12.5px; } .shop__balance { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; } .shop__balance-label { font-size: 10.5px; color: var(--white-6); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; } .shop__balance-value { font-size: 16px; font-weight: 700; color: var(--red); } .shop__list { flex: 1; min-height: 0; overflow-y: auto; padding-right: 6px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-content: start; } .shop__card { background: var(--card-01); border-radius: 10px; padding: 16px; display: flex; flex-direction: column; gap: 12px; min-height: 148px; } .shop__card-title { font-size: 15px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.02em; } .shop__card-cost { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--red); font-weight: 700; } .shop__card-cost img { width: 14px; height: 14px; object-fit: contain; color: var(--red); } .shop__card-cta { margin-top: auto; height: 36px; border: none; border-radius: 6px; background: var(--red); color: var(--white); font: 600 12px "Sora", var(--font); cursor: pointer; transition: background 0.15s ease; } .shop__card-cta:hover { background: var(--accent-9); } .shop__card-cta:disabled { background: var(--white-2); color: var(--white-5); cursor: not-allowed; } .soon { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--white-6); text-align: center; } .soon__icon { width: 60px; height: 60px; border-radius: 12px; background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; } .soon__icon img { width: 26px; height: 26px; object-fit: contain; } .soon h3 { font-size: 18px; font-weight: 700; color: var(--white); margin-top: 4px; } .soon p { font-size: 12.5px; color: var(--white-6); max-width: 340px; line-height: 1.4; } .hud, .countdown, .results, .builder-help { position: fixed; inset: 0; pointer-events: none; z-index: 55; color: var(--white); font-family: "Sora", var(--font); } .hud.hidden, .countdown.hidden, .results.hidden, .builder-help.hidden { display: none !important; } .builder-help__bar { pointer-events: none; position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; align-items: center; gap: 18px; max-width: calc(100vw - 40px); padding: 12px 18px; border-radius: 10px; background: var(--panel-10); box-shadow: 0 0 0 1px var(--white-3), 0 12px 28px var(--black-10); } .builder-help__mode { flex-shrink: 0; padding-right: 16px; margin-right: 2px; box-shadow: 1px 0 0 var(--white-3); font-size: 12px; font-weight: 700; color: var(--white); white-space: nowrap; letter-spacing: 0.01em; } .builder-help__keys { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; } .builder-help__key { display: inline-flex; align-items: center; gap: 8px; } .builder-help__kbd { min-width: 28px; height: 24px; padding: 0 8px; border-radius: 5px; background: var(--elevated-10); color: var(--white); font-size: 10px; font-weight: 700; letter-spacing: 0.03em; display: inline-flex; align-items: center; justify-content: center; text-transform: uppercase; box-shadow: inset 0 0 0 1px var(--white-3); } .builder-help__kbd--accent { background: var(--accent); box-shadow: none; color: var(--white); } .builder-help__label { font-size: 12px; font-weight: 500; color: var(--white-9); } .builder-help__side { pointer-events: auto; position: absolute; top: 6%; right: 24px; width: min(420px, calc(100vw - 48px)); max-height: 78vh; display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 14px; background: var(--panel-10); box-shadow: 0 0 0 1px var(--white-3), 0 18px 42px var(--black-10); overflow: hidden; z-index: 30; } .builder-help__side.is-select-open { overflow: visible; z-index: 80; } .builder-help__side.hidden { display: none !important; } .builder-help__head { display: flex; flex-direction: column; gap: 4px; } .builder-help__eyebrow { margin: 0; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white-7); } .builder-help__title { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--white); line-height: 1.2; } .builder-help__step { margin: 2px 0 0; font-size: 12px; font-weight: 600; color: var(--accent); } .builder-help__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 4px; border-radius: 10px; background: var(--elevated-10); } .builder-help__tab { height: 40px; border: none; border-radius: 8px; background: transparent; color: var(--white-8); font: 700 11px "Sora", var(--font); letter-spacing: 0.02em; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: background 0.15s ease, color 0.15s ease; } .builder-help__tab-num { width: 18px; height: 18px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; background: var(--white-2); color: var(--white-8); } .builder-help__tab:hover { color: var(--white); background: var(--white-2); } .builder-help__tab.is-active { background: var(--accent); color: var(--white); } .builder-help__tab.is-active .builder-help__tab-num { background: var(--white-3); color: var(--white); } .builder-help__panel { display: flex; flex-direction: column; gap: 12px; min-height: 0; flex: 1; overflow: hidden; } .builder-help__panel.is-select-open { overflow: visible; } .builder-help__panel.hidden { display: none !important; } .builder-help__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .builder-help__field { display: flex; flex-direction: column; gap: 5px; font-size: 10px; font-weight: 600; color: var(--white-8); text-transform: uppercase; letter-spacing: 0.03em; } .builder-help__field input { height: 38px; padding: 0 12px; border: none; border-radius: 8px; background: var(--elevated-10); color: var(--white); font: 500 13px "Sora", var(--font); outline: none; box-shadow: inset 0 0 0 1px var(--white-2); } .builder-help__field input:focus { box-shadow: inset 0 0 0 1px var(--accent); } .builder-help__select { position: relative; z-index: 1; } .builder-help__select.is-open { z-index: 100; } .builder-help__select-trigger { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; height: 38px; padding: 0 12px; border: none; border-radius: 8px; background: var(--elevated-10); color: var(--white); font: 500 13px "Sora", var(--font); cursor: pointer; outline: none; box-shadow: inset 0 0 0 1px var(--white-2); } .builder-help__select-trigger:hover, .builder-help__select.is-open .builder-help__select-trigger { box-shadow: inset 0 0 0 1px var(--accent); } .builder-help__select-value { font-weight: 700; letter-spacing: 0.06em; } .builder-help__select-trigger svg { flex-shrink: 0; color: var(--white-7); transition: transform 0.16s ease; } .builder-help__select.is-open .builder-help__select-trigger svg { transform: rotate(180deg); } .builder-help__select-menu { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 120; display: flex; flex-direction: column; gap: 2px; padding: 5px; border-radius: 8px; background: var(--elevated-10); box-shadow: 0 0 0 1px var(--white-2), 0 12px 28px var(--black-7); } .builder-help__select-menu.hidden { display: none; } .builder-help__select-option { display: flex; align-items: center; height: 34px; padding: 0 12px; border: none; border-radius: 6px; background: transparent; color: var(--white-8); font: 600 13px "Sora", var(--font); letter-spacing: 0.06em; text-align: left; cursor: pointer; outline: none; } .builder-help__select-option:hover { background: var(--white-1); color: var(--white); } .builder-help__select-option.is-selected { background: var(--accent-3); color: var(--accent-10); } .builder-help__switch { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border-radius: 10px; background: var(--elevated-10); box-shadow: inset 0 0 0 1px var(--white-2); cursor: pointer; user-select: none; transition: box-shadow 0.16s ease, background 0.16s ease; } .builder-help__switch:hover { box-shadow: inset 0 0 0 1px var(--white-3); } .builder-help__switch.is-on { background: color-mix(in srgb, var(--accent) 12%, var(--elevated-10)); box-shadow: inset 0 0 0 1px var(--accent-5); } .builder-help__switch-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; } .builder-help__switch-copy strong { font: 600 13px/1.2 "Sora", var(--font); color: var(--white); text-transform: none; letter-spacing: 0; } .builder-help__switch-copy small { font: 500 11px/1.3 "Sora", var(--font); color: var(--white-6); } .builder-help__switch-input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; } .builder-help__switch-track { position: relative; width: 42px; height: 24px; flex-shrink: 0; border-radius: 999px; background: var(--white-2); transition: background 0.18s ease; } .builder-help__switch-thumb { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--white-8); box-shadow: 0 1px 4px var(--black-5); transition: transform 0.18s ease, background 0.18s ease; } .builder-help__switch-input:checked + .builder-help__switch-track { background: var(--accent); } .builder-help__switch-input:checked + .builder-help__switch-track .builder-help__switch-thumb { transform: translateX(18px); background: var(--white); } .builder-help__switch-input:focus-visible + .builder-help__switch-track { box-shadow: 0 0 0 2px var(--accent-5); } .builder-help__hint { margin: 0; font-size: 12px; line-height: 1.5; color: var(--white-8); } .builder-help__hint b { color: var(--white); } .builder-help__stat, .builder-help__status { padding: 12px 14px; border-radius: 10px; background: var(--elevated-10); box-shadow: inset 0 0 0 1px var(--white-2); } .builder-help__init-row { display: flex; align-items: stretch; gap: 6px; } .builder-help__init-row .builder-help__stat { flex: 1; min-width: 0; } .builder-help__init-row .builder-help__goto { border-radius: 10px; padding: 0 14px; } .builder-help__list-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .builder-help__list-actions { display: flex; align-items: center; gap: 6px; } .builder-help__action { height: 28px; padding: 0 10px; border: none; outline: none; border-radius: 6px; background: var(--white-2); color: var(--white); font: 700 10px "Sora", var(--font); letter-spacing: 0.03em; text-transform: uppercase; cursor: pointer; transition: background 0.15s ease; } .builder-help__action:hover { background: var(--accent); } .builder-help__action--danger:hover { background: var(--danger); } .builder-help__action--slot { align-self: stretch; height: auto; border-radius: 0; padding: 0 10px; } .builder-help__stat { font-size: 12px; font-weight: 600; color: var(--white-9); } .builder-help__status { display: flex; flex-direction: column; gap: 4px; } .builder-help__status-label { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--white-7); } .builder-help__status strong { font-size: 14px; font-weight: 700; color: var(--white); } .builder-help__list-title { font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--white-8); } .builder-help__list-body { display: flex; flex-direction: column; gap: 6px; overflow-y: auto; height: 400px; max-height: 400px; padding-right: 4px; min-height: 0; flex: 0 0 auto; } .builder-help__list-body::-webkit-scrollbar { width: 4px; } .builder-help__list-body::-webkit-scrollbar-track { background: var(--white-2); border-radius: 4px; } .builder-help__list-body::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; } .builder-help__cp { pointer-events: auto; display: flex; align-items: stretch; gap: 6px; width: 100%; min-height: 44px; border-radius: 10px; background: var(--elevated-10); box-shadow: inset 0 0 0 1px var(--white-2); transition: box-shadow 0.15s ease, background 0.15s ease; overflow: hidden; } .builder-help__cp:hover { box-shadow: inset 0 0 0 1px var(--white-4); } .builder-help__cp.is-active { box-shadow: inset 0 0 0 1px var(--accent); } .builder-help__cp-main { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; padding: 12px 12px 12px 14px; border: none; outline: none; background: transparent; color: var(--white); font-size: 13px; font-weight: 700; cursor: pointer; text-align: left; } .builder-help__cp-meta { font-size: 11px; font-weight: 500; color: var(--white-8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 110px; } .builder-help__cp.is-active .builder-help__cp-meta { color: var(--white-9); } .builder-help__goto { flex-shrink: 0; align-self: stretch; padding: 0 12px; border: none; outline: none; background: var(--white-2); color: var(--white); font: 700 10px "Sora", var(--font); letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; transition: background 0.15s ease, color 0.15s ease; } .builder-help__goto:disabled { opacity: 0.35; cursor: not-allowed; } .builder-help__goto:hover:not(:disabled) { background: var(--accent); color: var(--white); } .builder-help__trash { flex-shrink: 0; align-self: stretch; width: 40px; border: none; outline: none; background: var(--white-2); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background 0.15s ease; } .builder-help__trash:hover { background: var(--danger); } .builder-help__trash-icon { width: 14px; height: 14px; display: block; pointer-events: none; opacity: 0.85; } .hud { --race-cp: #ff0040; --race-cp-rgb: 255, 0, 64; --race-cp-deep: #8a0022; --race-cp-deep-rgb: 138, 0, 34; --race-right: var(--race-cp); --race-right-rgb: var(--race-cp-rgb); --race-left: var(--race-cp); --race-left-rgb: var(--race-cp-rgb); --hud-enter-ease: cubic-bezier(0.22, 1, 0.36, 1); } .hud__left { position: absolute; top: 36px; left: 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; width: 15rem; max-width: 280px; will-change: transform, opacity; } .hud__left.hidden { display: none !important; } .hud__place .hud__stat-cur { color: var(--race-left); } .hud__runners { display: flex; flex-direction: column; gap: 8px; width: 100%; } .hud__runner.hud__bar { justify-content: flex-start; width: 84%; color: var(--white-9); background: linear-gradient( to left, var(--transparent) 0%, var(--white-1) 18%, var(--white-2) 42%, var(--white-3) 68%, var(--white-4) 88%, var(--white-5) 100% ); box-shadow: inset 0 0 0 1px var(--white-1); } .hud__runner--me.hud__bar { width: 100%; color: var(--white); box-shadow: none; background: linear-gradient( to left, var(--transparent) 0%, rgba(var(--race-cp-rgb), 0.1) 18%, rgba(var(--race-cp-rgb), 0.28) 42%, rgba(var(--race-cp-rgb), 0.62) 68%, rgba(var(--race-cp-rgb), 0.92) 88%, rgba(var(--race-cp-rgb), 0.98) 100% ); } .hud__runner .hud__bar-icon { order: 0; background: var(--white-4); color: var(--white); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; } .hud__runner--me .hud__bar-icon { background: var(--race-cp-deep); } .hud__runner .hud__bar-value { order: 1; flex: 1; justify-content: flex-start; padding: 0 10px; overflow: hidden; text-overflow: ellipsis; } .hud__runner--dnf.hud__bar { width: 78%; opacity: 0.38; color: var(--white-5); box-shadow: none; background: linear-gradient( to left, var(--transparent) 0%, var(--white-1) 40%, var(--white-2) 100% ); } .hud__runner--dnf .hud__bar-icon { background: var(--white-2); color: var(--white-5); font-size: 10px; letter-spacing: 0.04em; } .hud__runner--dnf.hud__runner--me.hud__bar { width: 100%; opacity: 0.45; } .hud__runner--dnf .hud__runner-name { color: var(--white-5); } .hud__right { position: absolute; top: 42%; right: 48px; transform: translateY(-50%); display: flex; flex-direction: column; align-items: flex-end; gap: 14px; will-change: transform, opacity; } .hud.is-intro:not(.is-ready) .hud__left { opacity: 0; transform: translate3d(-36px, 0, 0); } .hud.is-intro .hud__left { transition: opacity 0.48s var(--hud-enter-ease), transform 0.52s var(--hud-enter-ease); } .hud.is-intro.is-ready .hud__left { opacity: 1; transform: translate3d(0, 0, 0); } .hud.is-intro:not(.is-ready) .hud__right { opacity: 0; transform: translate3d(36px, -50%, 0); } .hud.is-intro .hud__right { transition: opacity 0.48s var(--hud-enter-ease) 0.08s, transform 0.52s var(--hud-enter-ease) 0.08s; } .hud.is-intro.is-ready .hud__right { opacity: 1; transform: translate3d(0, -50%, 0); } .hud.is-intro.is-ready .hud__place { animation: hudPlaceEnter 0.46s var(--hud-enter-ease) both; } .hud__runner.is-enter { animation: hudRunnerEnter 0.42s var(--hud-enter-ease) both; animation-delay: calc(0.22s + (var(--enter-i, 0) * 0.07s)); } @keyframes hudPlaceEnter { from { opacity: 0; transform: translate3d(0, -10px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } } @keyframes hudRunnerEnter { from { opacity: 0; transform: translate3d(0, -16px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } } .hud__stats { display: flex; align-items: center; justify-content: flex-end; gap: 16px; } .hud__stats-sep { width: 2px; height: 16px; background: var(--race-right); flex-shrink: 0; align-self: center; opacity: 0.95; border-radius: 1px; } .hud__lap-stat.hidden, #hudLapStat.hidden, .hud__stats-sep.hidden { display: none !important; } .hud__stat { display: flex; align-items: center; } .hud__stat-nums { display: flex; align-items: stretch; gap: 7px; line-height: 1; min-height: 58px; } .hud__stat-cur { font-family: "TacticSans-MedIt", "Sora", var(--font); font-size: 58px; font-weight: 700; font-style: italic; color: var(--race-right); font-variant-numeric: tabular-nums; letter-spacing: -0.04em; line-height: 0.88; display: inline-flex; align-items: flex-end; transform: scaleX(1.2); transform-origin: left bottom; padding-right: 0.16em; } .hud__stat-divider { flex-shrink: 0; align-self: stretch; width: 0.55em; margin: 0; display: inline-flex; align-items: center; justify-content: center; font-family: "TacticSans-MedIt", "Sora", var(--font); font-size: 52px; font-weight: 400; font-style: italic; line-height: 1; color: rgba(255, 255, 255, 0.92); background: none; transform: scaleY(1.12) scaleX(0.78); transform-origin: center center; text-shadow: 0 0 4px rgba(255, 255, 255, 0.45), 0 0 10px rgba(255, 255, 255, 0.2); } .hud__stat-divider::before { content: "/"; } .hud__stat-rest { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: 1px 0 2px; min-width: 0; } .hud__stat-total { font-family: "TacticSans-MedIt", "Sora", var(--font); font-size: 26px; font-weight: 700; font-style: italic; color: #f4f4f4; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; line-height: 1; transform: scaleX(1.14); transform-origin: left top; text-shadow: 0 0 4px rgba(255, 255, 255, 0.45), 0 0 10px rgba(255, 255, 255, 0.2); } .hud__stat-label { font-family: "Sora", var(--font); font-size: 13px; font-weight: 400; font-style: italic; color: #f0f0f0; letter-spacing: 0.02em; text-transform: none; line-height: 1; text-shadow: 0 0 4px rgba(255, 255, 255, 0.4), 0 0 8px rgba(255, 255, 255, 0.16); } .hud__bar { display: flex; align-items: center; justify-content: flex-end; width: 15rem; height: 36px; padding: 0; overflow: hidden; background: linear-gradient( to right, var(--transparent) 0%, rgba(var(--race-cp-rgb), 0.15) 34%, rgba(var(--race-cp-rgb), 0.72) 70%, var(--race-cp) 100% ); border-radius: 8px; box-shadow: 0 2px 14px var(--black-5); } .hud__bar-value { display: inline-flex; align-items: center; justify-content: flex-end; padding: 0 10px 0 16px; font-family: "Sora", var(--font); font-size: 14px; font-weight: 500; color: var(--white); font-variant-numeric: tabular-nums; letter-spacing: 0.06em; white-space: nowrap; text-shadow: 0 1px 4px var(--black-7); } .hud__bar-icon { width: 36px; height: 36px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; color: var(--white); background: var(--race-cp-deep); border-radius: 4px; } .hud__bar-icon svg { width: 14px; height: 18px; display: block; } .hud__bar.hidden { display: none !important; } .hud__bar--danger .hud__bar-value { animation: hud-limit-pulse 0.7s ease-in-out infinite alternate; } @keyframes hud-limit-pulse { from { opacity: 1; } to { opacity: 0.7; } } .countdown { display: flex; align-items: center; justify-content: center; padding-bottom: 16vh; background: transparent; } .countdown__num { --cd-glow: 0 0 3px rgba(255, 255, 255, 0.45), 0 0 7px rgba(255, 255, 255, 0.26), 0 0 14px rgba(255, 255, 255, 0.12); font-family: var(--font); font-size: 168px; font-weight: 600; color: #f7f7f7; letter-spacing: -0.03em; line-height: 1; text-shadow: var(--cd-glow); } .countdown__num--count { font-size: 188px; font-weight: 600; color: #f7f7f7; text-shadow: var(--cd-glow); animation: cd-pop 0.72s cubic-bezier(0.16, 1, 0.3, 1) forwards; } .countdown__num--prepare { color: #f7f7f7; font-size: 46px; font-weight: 700; font-style: italic; letter-spacing: 0.42em; text-indent: 0.42em; text-transform: uppercase; text-shadow: var(--cd-glow); will-change: transform, opacity, letter-spacing; animation: cd-prepare-rush 0.9s cubic-bezier(0.12, 0.85, 0.2, 1) forwards; } .countdown__num--go { color: #f7f7f7; font-size: 96px; font-weight: 700; letter-spacing: 0.18em; text-indent: 0.18em; text-shadow: var(--cd-glow); animation: cd-go-pop 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; } .countdown__num--fadeout { animation: cd-fadeout var(--cd-fade-ms, 300ms) ease-out forwards !important; } @keyframes cd-prepare-rush { 0% { opacity: 0; transform: translateX(-14vw) skewX(-20deg) scaleX(1.7) scaleY(0.82); letter-spacing: 1.05em; text-indent: 1.05em; text-shadow: -1.6em 0 0 rgba(255, 255, 255, 0.18), -3.2em 0 0 rgba(255, 255, 255, 0.08), -0.2em 0 0 rgba(255, 0, 64, 0.45), 0.2em 0 0 rgba(255, 255, 255, 0.25); } 42% { opacity: 1; transform: translateX(1.2vw) skewX(4deg) scaleX(0.94) scaleY(1.06); letter-spacing: 0.34em; text-indent: 0.34em; text-shadow: 0 0 4px rgba(255, 255, 255, 0.85), 0 0 16px rgba(255, 255, 255, 0.4), 0 0 28px rgba(255, 0, 64, 0.28), -0.12em 0 0 rgba(255, 0, 64, 0.4), 0.12em 0 0 rgba(255, 255, 255, 0.22); } 68% { transform: translateX(-0.35vw) skewX(-1.5deg) scale(1.02); letter-spacing: 0.46em; text-indent: 0.46em; text-shadow: 0 0 3px rgba(255, 255, 255, 0.55), 0 0 12px rgba(255, 255, 255, 0.22), 0 0 20px rgba(255, 0, 64, 0.12); } 100% { opacity: 1; transform: translateX(0) skewX(0deg) scale(1); letter-spacing: 0.42em; text-indent: 0.42em; text-shadow: var(--cd-glow); } } @keyframes cd-pop { 0% { transform: scale(0.82); opacity: 0; } 40% { transform: scale(1.04); opacity: 1; } 100% { transform: scale(1); opacity: 0.92; } } @keyframes cd-go-pop { 0% { transform: scale(0.9); opacity: 0; } 45% { transform: scale(1.03); opacity: 1; } 100% { transform: scale(1); opacity: 1; } } @keyframes cd-fadeout { 0% { opacity: 1; } 100% { opacity: 0; } } .results { background: var(--black-8); display: flex; align-items: center; justify-content: center; pointer-events: none; } .results.is-focused { pointer-events: auto; } .results__card { width: min(640px, 92vw); background: var(--bg-3); border-radius: 16px; padding: 22px 24px 18px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 20px 60px var(--black-9); pointer-events: auto; } .results__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; } .results__brand { display: flex; align-items: center; gap: 12px; min-width: 0; } .results__head-text { min-width: 0; } .results__icon { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-3); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: inset 0 0 0 1px var(--accent-4); } .results__icon svg { width: 22px; height: 22px; display: block; } .results__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white-6); margin: 0 0 2px; } .results__title { font-size: 20px; font-weight: 800; color: var(--white); line-height: 1.15; margin: 0; } .results__close { flex-shrink: 0; width: 34px; height: 34px; border: none; border-radius: 10px; background: var(--card-05); color: var(--white-6); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.15s ease, color 0.15s ease; } .results__close.hidden { display: none !important; } .results__close img { width: 12px; height: 12px; object-fit: contain; } .results__close:hover { background: var(--accent-3); color: var(--white); } .results__summary { display: grid; grid-template-columns: 1.1fr 1fr; gap: 10px; } .results__stat { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 14px 16px; border-radius: 12px; background: var(--card-01); } .results__stat--time { background: linear-gradient(135deg, var(--accent-2) 0%, transparent 55%), var(--card-01); } .results__stat-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white-6); } .results__stat-value { font-size: 36px; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; line-height: 1; } .results__reward { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-height: 36px; } .results__reward-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; } .results__reward-chip--money { background: var(--success-3); color: var(--success); box-shadow: inset 0 0 0 1px var(--success-4); } .results__reward-chip--token { background: var(--white-2); color: var(--white-9); box-shadow: inset 0 0 0 1px var(--white-3); } .results__reward-empty { font-size: 13px; font-weight: 600; color: var(--white-6); } .results__podium { background: var(--card-01); border-radius: 12px; overflow: hidden; --pd-grid: 56px minmax(0, 1.5fr) 96px minmax(0, 1fr); } .results__podium-head { display: grid; grid-template-columns: var(--pd-grid); align-items: center; gap: 8px; padding: 10px 14px; background: var(--white-1); font-size: 11px; font-weight: 700; color: var(--white-6); letter-spacing: 0.06em; text-transform: uppercase; } .results__podium-body { display: flex; flex-direction: column; gap: 4px; padding: 8px; max-height: 240px; overflow-y: auto; } .results__podium-row { display: grid; grid-template-columns: var(--pd-grid); align-items: center; gap: 8px; padding: 10px 12px; border-radius: 8px; background: var(--card-02); color: var(--white-8); font-size: 13px; } .results__podium-row--top { background: linear-gradient(90deg, var(--accent-5) 0%, var(--accent-2) 55%, transparent 100%); color: var(--white); font-weight: 600; } .results__podium-row--me { box-shadow: inset 0 0 0 1px var(--accent-7); } .results__podium-row--pending { opacity: 0.55; } .results__podium-row--pending .results__podium-time { letter-spacing: 0.04em; } .results__podium-row--dnf { opacity: 0.4; color: var(--white-5); } .results__podium-row--dnf .results__podium-pos, .results__podium-row--dnf .results__podium-time { color: var(--white-5); font-weight: 600; letter-spacing: 0.04em; font-style: normal; } .results__podium-pos { font-style: italic; font-weight: 800; color: var(--accent); font-size: 16px; } .results__podium-name, .results__podium-vehicle { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .results__podium-time { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--white); } .results__footer { display: flex; flex-direction: column; gap: 10px; padding-top: 2px; } .results.is-focused .results__footer { display: none; } .results__progress { height: 3px; border-radius: 999px; background: var(--white-2); overflow: hidden; } .results__progress-bar { height: 100%; width: var(--results-progress, 100%); border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-6)); transition: width 0.08s linear; } .results__keys { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 14px; color: var(--white-7); font-size: 12px; font-weight: 600; } .results__key { display: inline-flex; align-items: center; gap: 8px; } .results__keys-sep { color: var(--white-4); font-weight: 500; } .results__kbd { flex-shrink: 0; min-width: 28px; height: 26px; padding: 0 8px; border-radius: 7px; background: var(--accent); color: var(--white); font: 800 11px/1 "Sora", var(--font); display: inline-flex; align-items: center; justify-content: center; letter-spacing: 0.04em; text-transform: uppercase; } .results__kbd--ghost { background: var(--card-05); color: var(--white-9); } @media (max-width: 560px) { .results__summary { grid-template-columns: 1fr; } .results__podium { --pd-grid: 44px minmax(0, 1.4fr) 84px minmax(0, 0.9fr); } } .race-confirm { z-index: 1200; background: radial-gradient(ellipse at center, var(--black-5) 0%, var(--black-8) 42%, var(--black-10) 100%), var(--black-9); } .race-confirm__modal { width: min(420px, 92vw); padding: 22px 22px 20px; background: var(--panel-10); border: none; outline: none; border-radius: 10px; box-shadow: 0 28px 72px var(--black-9), 0 8px 24px var(--black-7); } .race-confirm .modal__header { margin-bottom: 12px; } .race-confirm .modal__title { font: 700 16px "Sora", var(--font); color: var(--white); text-transform: uppercase; letter-spacing: 0.04em; } .race-confirm .modal__text { margin: 0 0 18px; font: 400 13px/1.45 "Sora", var(--font); color: var(--white-8); } .race-confirm .modal__text .hl { color: var(--red); font-weight: 700; } .race-confirm .modal__actions { display: flex; justify-content: flex-end; gap: 10px; } .race-confirm .modal__actions--stack { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 8px; margin-bottom: 10px; } .race-confirm .modal__actions--stack .btn { width: 100%; justify-content: center; }