map.wxss 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984
  1. .page {
  2. height: 100vh;
  3. position: relative;
  4. overflow: hidden;
  5. background: #dbeed4;
  6. color: #163020;
  7. }
  8. .map-stage {
  9. position: absolute;
  10. inset: 0;
  11. overflow: hidden;
  12. background: #dbeed4;
  13. }
  14. .map-content {
  15. position: absolute;
  16. inset: 0;
  17. }
  18. .map-canvas {
  19. position: absolute;
  20. inset: 0;
  21. width: 100%;
  22. height: 100%;
  23. display: block;
  24. }
  25. .map-canvas--base {
  26. z-index: 1;
  27. }
  28. .map-canvas--labels {
  29. z-index: 2;
  30. pointer-events: none;
  31. }
  32. .map-stage__crosshair {
  33. position: absolute;
  34. left: 50%;
  35. top: 50%;
  36. width: 44rpx;
  37. height: 44rpx;
  38. transform: translate(-50%, -50%);
  39. border: 3rpx solid rgba(255, 255, 255, 0.95);
  40. border-radius: 50%;
  41. box-shadow: 0 0 0 4rpx rgba(22, 48, 32, 0.2);
  42. pointer-events: none;
  43. z-index: 3;
  44. }
  45. .map-stage__crosshair::before,
  46. .map-stage__crosshair::after {
  47. content: '';
  48. position: absolute;
  49. background: rgba(255, 255, 255, 0.95);
  50. }
  51. .map-stage__crosshair::before {
  52. left: 50%;
  53. top: -18rpx;
  54. width: 2rpx;
  55. height: 76rpx;
  56. transform: translateX(-50%);
  57. }
  58. .map-stage__crosshair::after {
  59. left: -18rpx;
  60. top: 50%;
  61. width: 76rpx;
  62. height: 2rpx;
  63. transform: translateY(-50%);
  64. }
  65. .map-stage__overlay {
  66. position: absolute;
  67. inset: 0;
  68. display: flex;
  69. flex-direction: column;
  70. justify-content: flex-end;
  71. padding: 0 24rpx 248rpx;
  72. box-sizing: border-box;
  73. pointer-events: none;
  74. z-index: 4;
  75. }
  76. .map-stage__topbar {
  77. display: flex;
  78. align-items: flex-start;
  79. justify-content: flex-start;
  80. }
  81. .map-stage__meta {
  82. max-width: 68%;
  83. padding: 18rpx 20rpx 20rpx;
  84. border-radius: 28rpx;
  85. background: rgba(248, 251, 244, 0.92);
  86. box-shadow: 0 14rpx 36rpx rgba(22, 48, 32, 0.12);
  87. backdrop-filter: blur(12rpx);
  88. }
  89. .map-stage__eyebrow {
  90. font-size: 20rpx;
  91. letter-spacing: 4rpx;
  92. color: #5f7a65;
  93. }
  94. .map-stage__title {
  95. margin-top: 8rpx;
  96. font-size: 38rpx;
  97. font-weight: 600;
  98. }
  99. .map-stage__badge {
  100. display: inline-flex;
  101. margin-top: 14rpx;
  102. padding: 8rpx 18rpx;
  103. border-radius: 999rpx;
  104. background: rgba(22, 48, 32, 0.9);
  105. color: #f7fbf2;
  106. font-size: 22rpx;
  107. }
  108. .screen-button-layer {
  109. position: absolute;
  110. width: 116rpx;
  111. min-height: 116rpx;
  112. padding: 18rpx 0 14rpx;
  113. border-radius: 30rpx;
  114. background: rgba(248, 251, 244, 0.96);
  115. box-shadow: 0 14rpx 36rpx rgba(22, 48, 32, 0.14);
  116. display: flex;
  117. flex-direction: column;
  118. align-items: center;
  119. justify-content: center;
  120. box-sizing: border-box;
  121. z-index: 20;
  122. }
  123. .screen-button-layer__icon {
  124. position: relative;
  125. width: 54rpx;
  126. height: 32rpx;
  127. margin: 0 auto;
  128. border: 4rpx solid #163020;
  129. border-radius: 8rpx;
  130. box-sizing: border-box;
  131. }
  132. .screen-button-layer__line {
  133. position: absolute;
  134. left: 8rpx;
  135. right: 8rpx;
  136. bottom: 6rpx;
  137. height: 4rpx;
  138. border-radius: 999rpx;
  139. background: rgba(22, 48, 32, 0.3);
  140. }
  141. .screen-button-layer__stand {
  142. position: absolute;
  143. left: 50%;
  144. bottom: -12rpx;
  145. width: 18rpx;
  146. height: 4rpx;
  147. margin-left: -9rpx;
  148. border-radius: 999rpx;
  149. background: #163020;
  150. }
  151. .screen-button-layer__text {
  152. margin-top: 18rpx;
  153. text-align: center;
  154. font-size: 22rpx;
  155. font-weight: 600;
  156. color: #163020;
  157. line-height: 1.2;
  158. }
  159. .map-stage__bottom {
  160. display: flex;
  161. align-items: flex-end;
  162. justify-content: center;
  163. width: 100%;
  164. }
  165. .screen-button-layer--bottom-left {
  166. left: 24rpx;
  167. bottom: 244rpx;
  168. }
  169. .map-side-toggle {
  170. position: absolute;
  171. left: 24rpx;
  172. z-index: 19;
  173. }
  174. .map-side-column {
  175. position: absolute;
  176. display: flex;
  177. flex-direction: column;
  178. gap: 16rpx;
  179. padding-top: 12rpx;
  180. z-index: 18;
  181. }
  182. .map-side-column--left {
  183. left: 24rpx;
  184. }
  185. .map-side-column--left-group {
  186. padding-top: 106rpx;
  187. }
  188. .map-side-column--right-main {
  189. right: 118rpx;
  190. }
  191. .map-side-column--right-sub {
  192. right: 24rpx;
  193. }
  194. .map-side-button {
  195. width: 78rpx;
  196. height: 78rpx;
  197. border-radius: 22rpx;
  198. background: rgba(248, 251, 244, 0.96);
  199. box-shadow: 0 10rpx 26rpx rgba(22, 48, 32, 0.14);
  200. display: flex;
  201. align-items: center;
  202. justify-content: center;
  203. box-sizing: border-box;
  204. }
  205. .map-side-button--icon {
  206. width: 90rpx;
  207. height: 90rpx;
  208. padding: 0;
  209. background: transparent;
  210. box-shadow: none;
  211. border-radius: 0;
  212. }
  213. .map-side-button__image {
  214. width: 100%;
  215. height: 100%;
  216. }
  217. .map-side-button__rotate-image {
  218. width: 100%;
  219. height: 100%;
  220. border-radius: 16rpx;
  221. box-sizing: border-box;
  222. }
  223. .map-side-button__rotate-image--active {
  224. border: 1px solid rgba(231, 54, 33, 0.98);
  225. }
  226. .map-side-button--muted {
  227. background: rgba(229, 233, 230, 0.92);
  228. }
  229. .map-side-button__text {
  230. font-size: 18rpx;
  231. line-height: 1.1;
  232. font-weight: 700;
  233. color: #163020;
  234. text-align: center;
  235. letter-spacing: 1rpx;
  236. }
  237. .compass-widget {
  238. display: flex;
  239. flex-direction: column;
  240. align-items: center;
  241. gap: 6rpx;
  242. flex-shrink: 0;
  243. }
  244. .compass-widget__heading {
  245. font-size: 14rpx;
  246. line-height: 1;
  247. font-weight: 600;
  248. color: rgba(32, 42, 34, 0.72);
  249. text-shadow: 0 1rpx 0 rgba(255, 255, 255, 0.35);
  250. }
  251. .compass-widget__dial {
  252. position: relative;
  253. width: 196rpx;
  254. height: 196rpx;
  255. border-radius: 50%;
  256. background: radial-gradient(circle at 48% 44%, rgba(255, 255, 255, 0.3) 0%, rgba(242, 241, 214, 0.32) 46%, rgba(183, 188, 159, 0.4) 72%, rgba(64, 68, 58, 0.62) 100%);
  257. border: 2rpx solid rgba(18, 24, 18, 0.48);
  258. box-shadow: 0 6rpx 14rpx rgba(0, 0, 0, 0.14), inset 0 0 0 2rpx rgba(255, 255, 255, 0.24);
  259. overflow: hidden;
  260. }
  261. .compass-widget__dial--active {
  262. border-color: rgba(250, 252, 187, 0.98);
  263. box-shadow: 0 0 0 2rpx rgba(253, 255, 214, 0.92), 0 0 18rpx rgba(247, 255, 173, 0.46), 0 6rpx 14rpx rgba(0, 0, 0, 0.14), inset 0 0 0 2rpx rgba(255, 255, 255, 0.28);
  264. }
  265. .compass-widget__glass,
  266. .compass-widget__inner-shadow {
  267. position: absolute;
  268. inset: 0;
  269. border-radius: 50%;
  270. pointer-events: none;
  271. }
  272. .compass-widget__glass {
  273. background: radial-gradient(circle at 38% 30%, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.1) 24%, rgba(255, 255, 255, 0) 52%);
  274. }
  275. .compass-widget__inner-shadow {
  276. box-shadow: inset 0 0 0 12rpx rgba(0, 0, 0, 0.07), inset 0 0 18rpx rgba(255, 255, 255, 0.22);
  277. }
  278. .compass-widget__card {
  279. position: absolute;
  280. inset: 0;
  281. transform-origin: center;
  282. }
  283. .compass-widget__north-arrow {
  284. position: absolute;
  285. left: 50%;
  286. top: 50%;
  287. width: 54rpx;
  288. height: 176rpx;
  289. transform: translate(-50%, -52%);
  290. display: block;
  291. pointer-events: none;
  292. z-index: 1;
  293. opacity: 0.42;
  294. }
  295. .compass-widget__north-arrow-outline,
  296. .compass-widget__north-arrow-fill,
  297. .compass-widget__north-arrow-tail-outline,
  298. .compass-widget__north-arrow-tail-fill {
  299. display: none;
  300. }
  301. .compass-widget__tick-anchor,
  302. .compass-widget__mark-anchor,
  303. .compass-widget__needle-anchor {
  304. position: absolute;
  305. left: 50%;
  306. top: 50%;
  307. }
  308. .compass-widget__tick {
  309. position: absolute;
  310. left: 50%;
  311. top: 50%;
  312. width: 2rpx;
  313. border-radius: 999rpx;
  314. transform: translate(-50%, -90rpx);
  315. background: rgba(28, 33, 28, 0.72);
  316. }
  317. .compass-widget__tick--short {
  318. height: 8rpx;
  319. }
  320. .compass-widget__tick--long {
  321. height: 12rpx;
  322. }
  323. .compass-widget__tick--major {
  324. width: 3rpx;
  325. height: 18rpx;
  326. background: rgba(18, 22, 18, 0.88);
  327. }
  328. .compass-widget__mark {
  329. position: absolute;
  330. left: 50%;
  331. top: 50%;
  332. line-height: 1;
  333. color: rgba(40, 42, 37, 0.88);
  334. text-shadow: 0 1rpx 0 rgba(255, 255, 255, 0.22);
  335. white-space: nowrap;
  336. transform-origin: center;
  337. }
  338. .compass-widget__mark--cardinal {
  339. font-size: 26rpx;
  340. font-weight: 700;
  341. }
  342. .compass-widget__mark--intermediate {
  343. font-size: 14rpx;
  344. font-weight: 600;
  345. }
  346. .compass-widget__mark--north {
  347. color: #d62323;
  348. }
  349. .compass-widget__mark--northeast,
  350. .compass-widget__mark--northwest {
  351. color: #577347;
  352. }
  353. .compass-widget__needle-anchor {
  354. width: 0;
  355. height: 0;
  356. }
  357. .compass-widget__needle-north,
  358. .compass-widget__needle-south {
  359. position: absolute;
  360. left: 50%;
  361. top: 50%;
  362. }
  363. .compass-widget__needle-north {
  364. width: 0;
  365. height: 0;
  366. border-left: 8rpx solid transparent;
  367. border-right: 8rpx solid transparent;
  368. border-bottom: 64rpx solid #ef2f2f;
  369. transform: translate(-50%, -74rpx);
  370. filter: drop-shadow(0 2rpx 3rpx rgba(96, 0, 0, 0.24));
  371. }
  372. .compass-widget__needle-south {
  373. width: 7rpx;
  374. height: 72rpx;
  375. border-radius: 999rpx;
  376. background: linear-gradient(180deg, rgba(236, 238, 232, 0.98) 0%, rgba(146, 151, 143, 0.98) 100%);
  377. transform: translate(-50%, 2rpx);
  378. box-shadow: 0 1rpx 3rpx rgba(32, 34, 31, 0.18);
  379. }
  380. .compass-widget__hub {
  381. position: absolute;
  382. left: 50%;
  383. top: 50%;
  384. width: 26rpx;
  385. height: 26rpx;
  386. transform: translate(-50%, -52%);
  387. border-radius: 50%;
  388. background: radial-gradient(circle at 34% 32%, #f4f3e7 0%, #d7d2bd 40%, #928b78 72%, #5a554b 100%);
  389. box-shadow: inset 0 0 0 2rpx rgba(255, 255, 255, 0.32), 0 2rpx 5rpx rgba(0, 0, 0, 0.16);
  390. }
  391. .compass-widget__hub-core {
  392. position: absolute;
  393. left: 50%;
  394. top: 50%;
  395. width: 10rpx;
  396. height: 10rpx;
  397. transform: translate(-50%, -52%);
  398. border-radius: 50%;
  399. background: rgba(173, 170, 156, 0.92);
  400. box-shadow: inset 0 0 0 2rpx rgba(255, 255, 255, 0.2);
  401. }
  402. .compass-widget__edge-arrow {
  403. width: 0;
  404. height: 0;
  405. margin-top: -2rpx;
  406. margin-bottom: -4rpx;
  407. border-left: 8rpx solid transparent;
  408. border-right: 8rpx solid transparent;
  409. border-top: 14rpx solid rgba(58, 49, 37, 0.72);
  410. filter: drop-shadow(0 1rpx 1rpx rgba(255, 255, 255, 0.18));
  411. }
  412. .compass-widget__hint {
  413. max-width: 196rpx;
  414. font-size: 14rpx;
  415. line-height: 1.3;
  416. color: #d62828;
  417. text-align: center;
  418. font-weight: 700;
  419. text-shadow: 0 1rpx 0 rgba(255, 255, 255, 0.24);
  420. }
  421. .race-panel {
  422. position: absolute;
  423. left: 0;
  424. right: 0;
  425. bottom: 0;
  426. height: 216rpx;
  427. background: linear-gradient(180deg, #1d97ec 0%, #168ce4 100%);
  428. box-shadow: 0 -10rpx 24rpx rgba(10, 75, 125, 0.2);
  429. z-index: 15;
  430. overflow: hidden;
  431. }
  432. .race-panel__grid {
  433. position: relative;
  434. z-index: 2;
  435. display: grid;
  436. grid-template-columns: 1fr 1fr 1fr;
  437. grid-template-rows: 1fr 1fr;
  438. width: 100%;
  439. height: 100%;
  440. }
  441. .race-panel__cell {
  442. position: relative;
  443. display: flex;
  444. align-items: center;
  445. justify-content: center;
  446. color: #ffffff;
  447. box-sizing: border-box;
  448. }
  449. .race-panel__cell--action,
  450. .race-panel__cell--timer,
  451. .race-panel__cell--mileage {
  452. padding-top: 10rpx;
  453. }
  454. .race-panel__cell--distance,
  455. .race-panel__cell--progress,
  456. .race-panel__cell--speed {
  457. padding-top: 2rpx;
  458. }
  459. .race-panel__cell--action {
  460. justify-content: center;
  461. padding-left: 0;
  462. }
  463. .race-panel__cell--timer {
  464. padding-left: 0;
  465. padding-right: 0;
  466. }
  467. .race-panel__cell--mileage {
  468. justify-content: center;
  469. padding-right: 0;
  470. }
  471. .race-panel__cell--distance {
  472. justify-content: center;
  473. padding-left: 0;
  474. }
  475. .race-panel__cell--progress {
  476. padding-left: 0;
  477. padding-right: 0;
  478. }
  479. .race-panel__cell--speed {
  480. justify-content: center;
  481. padding-right: 0;
  482. }
  483. .race-panel__play {
  484. width: 0;
  485. height: 0;
  486. margin-left: 2rpx;
  487. border-top: 20rpx solid transparent;
  488. border-bottom: 20rpx solid transparent;
  489. border-left: 30rpx solid #ffffff;
  490. filter: drop-shadow(0 2rpx 0 rgba(255, 255, 255, 0.25));
  491. transform: translateX(16rpx);
  492. }
  493. .race-panel__timer {
  494. max-width: 100%;
  495. box-sizing: border-box;
  496. font-size: 50rpx;
  497. line-height: 1;
  498. letter-spacing: 2rpx;
  499. font-family: 'Courier New', monospace;
  500. text-shadow: 0 2rpx 0 rgba(255, 255, 255, 0.2);
  501. }
  502. .race-panel__mileage {
  503. max-width: 100%;
  504. box-sizing: border-box;
  505. font-size: 40rpx;
  506. line-height: 1;
  507. font-weight: 300;
  508. text-shadow: 0 2rpx 0 rgba(255, 255, 255, 0.16);
  509. }
  510. .race-panel__mileage-wrap {
  511. display: flex;
  512. align-items: center;
  513. justify-content: center;
  514. gap: 10rpx;
  515. transform: translateX(-16rpx);
  516. }
  517. .race-panel__metric-group {
  518. max-width: 100%;
  519. box-sizing: border-box;
  520. display: flex;
  521. align-items: baseline;
  522. color: #ffffff;
  523. }
  524. .race-panel__metric-group--left {
  525. justify-content: center;
  526. transform: translateX(16rpx);
  527. }
  528. .race-panel__metric-group--right {
  529. justify-content: center;
  530. transform: translateX(-16rpx);
  531. }
  532. .race-panel__metric-value {
  533. line-height: 1;
  534. text-shadow: 0 2rpx 0 rgba(255, 255, 255, 0.16);
  535. }
  536. .race-panel__metric-value--distance {
  537. font-size: 54rpx;
  538. font-weight: 700;
  539. }
  540. .race-panel__metric-value--speed {
  541. font-size: 48rpx;
  542. font-weight: 400;
  543. }
  544. .race-panel__metric-unit {
  545. line-height: 1;
  546. margin-left: 6rpx;
  547. opacity: 0.95;
  548. }
  549. .race-panel__metric-unit--distance {
  550. font-size: 24rpx;
  551. font-weight: 600;
  552. }
  553. .race-panel__metric-unit--speed {
  554. font-size: 18rpx;
  555. font-weight: 500;
  556. }
  557. .race-panel__progress {
  558. max-width: 100%;
  559. box-sizing: border-box;
  560. font-size: 50rpx;
  561. line-height: 1;
  562. font-weight: 400;
  563. text-shadow: 0 2rpx 0 rgba(255, 255, 255, 0.16);
  564. }
  565. .race-panel__tag {
  566. position: absolute;
  567. z-index: 3;
  568. min-width: 56rpx;
  569. height: 32rpx;
  570. padding: 0 10rpx;
  571. background: #000000;
  572. color: #ffffff;
  573. font-size: 16rpx;
  574. line-height: 32rpx;
  575. text-align: center;
  576. letter-spacing: 2rpx;
  577. }
  578. .race-panel__tag--top-left {
  579. top: 0;
  580. left: 0;
  581. }
  582. .race-panel__tag--top-right {
  583. top: 0;
  584. right: 0;
  585. }
  586. .race-panel__tag--bottom-left {
  587. left: 0;
  588. bottom: 0;
  589. }
  590. .race-panel__tag--bottom-right {
  591. right: 0;
  592. bottom: 0;
  593. }
  594. .race-panel__line {
  595. position: absolute;
  596. z-index: 1;
  597. height: 2rpx;
  598. box-shadow: 0 0 6rpx rgba(255, 255, 255, 0.2);
  599. }
  600. .race-panel__line--center {
  601. left: 33.3333%;
  602. right: 33.3333%;
  603. top: 50%;
  604. transform: translateY(-50%);
  605. background: rgba(255, 255, 255, 0.86);
  606. }
  607. .race-panel__line--left-mid {
  608. left: 0;
  609. width: 33.3333%;
  610. top: 50%;
  611. transform: translateY(-50%);
  612. background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.78) 100%);
  613. }
  614. .race-panel__line--right-mid {
  615. right: 0;
  616. width: 33.3333%;
  617. top: 50%;
  618. transform: translateY(-50%);
  619. background: linear-gradient(90deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.08) 100%);
  620. }
  621. .race-panel__line--left-top,
  622. .race-panel__line--left-bottom,
  623. .race-panel__line--right-top,
  624. .race-panel__line--right-bottom {
  625. width: 23%;
  626. top: 50%;
  627. }
  628. .race-panel__line--left-top {
  629. right: 66.6667%;
  630. transform-origin: right center;
  631. transform: translateY(-50%) rotate(70deg);
  632. background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.82) 100%);
  633. }
  634. .race-panel__line--left-bottom {
  635. right: 66.6667%;
  636. transform-origin: right center;
  637. transform: translateY(-50%) rotate(-70deg);
  638. background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.82) 100%);
  639. }
  640. .race-panel__line--right-top {
  641. left: 66.6667%;
  642. transform-origin: left center;
  643. transform: translateY(-50%) rotate(-70deg);
  644. background: linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.08) 100%);
  645. }
  646. .race-panel__line--right-bottom {
  647. left: 66.6667%;
  648. transform-origin: left center;
  649. transform: translateY(-50%) rotate(70deg);
  650. background: linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.08) 100%);
  651. }
  652. .race-panel__chevrons {
  653. position: relative;
  654. width: 24rpx;
  655. height: 24rpx;
  656. opacity: 0.5;
  657. flex-shrink: 0;
  658. }
  659. .race-panel__chevron {
  660. position: absolute;
  661. right: 6rpx;
  662. top: 50%;
  663. width: 10rpx;
  664. height: 10rpx;
  665. border-top: 3rpx solid rgba(255, 255, 255, 0.78);
  666. border-right: 3rpx solid rgba(255, 255, 255, 0.78);
  667. transform: translateY(-50%) rotate(45deg);
  668. }
  669. .race-panel__chevron--offset {
  670. right: 0;
  671. }
  672. .debug-modal {
  673. position: absolute;
  674. inset: 0;
  675. display: flex;
  676. align-items: flex-end;
  677. justify-content: center;
  678. padding: 0 20rpx 28rpx;
  679. box-sizing: border-box;
  680. background: rgba(7, 18, 12, 0.34);
  681. z-index: 30;
  682. }
  683. .debug-modal__dialog {
  684. width: 100%;
  685. max-height: 72vh;
  686. border-radius: 36rpx;
  687. background: rgba(248, 251, 244, 0.98);
  688. box-shadow: 0 20rpx 60rpx rgba(7, 18, 12, 0.24);
  689. overflow: hidden;
  690. }
  691. .debug-modal__header {
  692. display: flex;
  693. align-items: center;
  694. justify-content: flex-end;
  695. gap: 20rpx;
  696. padding: 28rpx 28rpx 20rpx;
  697. border-bottom: 1rpx solid rgba(22, 48, 32, 0.08);
  698. }
  699. .debug-modal__eyebrow {
  700. font-size: 20rpx;
  701. letter-spacing: 4rpx;
  702. color: #5f7a65;
  703. }
  704. .debug-modal__title {
  705. margin-top: 8rpx;
  706. font-size: 34rpx;
  707. font-weight: 600;
  708. color: #163020;
  709. }
  710. .debug-modal__close {
  711. flex-shrink: 0;
  712. padding: 14rpx 22rpx;
  713. border-radius: 999rpx;
  714. background: #163020;
  715. color: #f7fbf2;
  716. font-size: 24rpx;
  717. }
  718. .debug-modal__content {
  719. max-height: calc(72vh - 108rpx);
  720. padding: 12rpx 28rpx 30rpx;
  721. box-sizing: border-box;
  722. }
  723. .info-panel__row {
  724. display: flex;
  725. align-items: flex-start;
  726. justify-content: space-between;
  727. gap: 24rpx;
  728. padding: 10rpx 0;
  729. border-bottom: 1rpx solid rgba(22, 48, 32, 0.08);
  730. }
  731. .info-panel__row--stack {
  732. align-items: flex-start;
  733. }
  734. .info-panel__row:last-of-type {
  735. border-bottom: none;
  736. }
  737. .info-panel__label {
  738. width: 148rpx;
  739. flex-shrink: 0;
  740. font-size: 22rpx;
  741. letter-spacing: 2rpx;
  742. color: #5f7a65;
  743. text-align: left;
  744. text-transform: uppercase;
  745. }
  746. .info-panel__value {
  747. flex: 1;
  748. min-width: 0;
  749. font-size: 25rpx;
  750. line-height: 1.45;
  751. color: #163020;
  752. text-align: right;
  753. word-break: break-all;
  754. }
  755. .info-panel__row--stack .info-panel__value {
  756. margin-top: 0;
  757. text-align: right;
  758. color: #45624b;
  759. }
  760. .control-row {
  761. display: flex;
  762. gap: 14rpx;
  763. margin-top: 18rpx;
  764. }
  765. .control-row--triple .control-chip {
  766. font-size: 23rpx;
  767. }
  768. .control-chip {
  769. flex: 1;
  770. min-width: 0;
  771. padding: 20rpx 16rpx;
  772. border-radius: 999rpx;
  773. background: #d7e8da;
  774. color: #163020;
  775. font-size: 26rpx;
  776. text-align: center;
  777. box-sizing: border-box;
  778. }
  779. .control-chip--primary {
  780. background: #2d6a4f;
  781. color: #f7fbf2;
  782. }
  783. .control-chip--secondary {
  784. background: #eef6ea;
  785. color: #45624b;
  786. }
  787. .control-chip--active {
  788. background: #2d6a4f;
  789. color: #f7fbf2;
  790. }
  791. .race-panel__cell--action {
  792. justify-content: flex-start;
  793. padding-left: 44rpx;
  794. }
  795. .race-panel__cell--timer {
  796. padding-left: 12rpx;
  797. padding-right: 12rpx;
  798. }
  799. .race-panel__cell--mileage {
  800. justify-content: flex-end;
  801. padding-right: 56rpx;
  802. }
  803. .race-panel__cell--distance {
  804. justify-content: flex-start;
  805. padding-left: 28rpx;
  806. }
  807. .race-panel__cell--progress {
  808. padding-left: 8rpx;
  809. padding-right: 8rpx;
  810. }
  811. .race-panel__cell--speed {
  812. justify-content: flex-end;
  813. padding-right: 32rpx;
  814. }
  815. .race-panel__timer,
  816. .race-panel__progress,
  817. .race-panel__mileage,
  818. .race-panel__metric-group {
  819. max-width: 100%;
  820. box-sizing: border-box;
  821. }