map.wxss 18 KB

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