map.wxss 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416
  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__map-pulse {
  66. position: absolute;
  67. width: 44rpx;
  68. height: 44rpx;
  69. margin-left: -22rpx;
  70. margin-top: -22rpx;
  71. border-radius: 50%;
  72. pointer-events: none;
  73. z-index: 6;
  74. }
  75. .map-stage__map-pulse--control {
  76. animation: map-pulse-control 0.82s ease-out 1;
  77. }
  78. .map-stage__map-pulse--ready {
  79. animation: map-pulse-ready 0.72s ease-out 1;
  80. }
  81. .map-stage__map-pulse--finish {
  82. animation: map-pulse-finish 0.82s ease-out 1;
  83. }
  84. .map-stage__stage-fx {
  85. position: absolute;
  86. inset: 0;
  87. pointer-events: none;
  88. z-index: 5;
  89. }
  90. .map-stage__stage-fx--finish {
  91. animation: stage-fx-finish 0.76s ease-out 1;
  92. }
  93. .map-stage__overlay {
  94. position: absolute;
  95. inset: 0;
  96. display: flex;
  97. flex-direction: column;
  98. justify-content: flex-end;
  99. padding: 0 24rpx 248rpx;
  100. box-sizing: border-box;
  101. pointer-events: none;
  102. z-index: 4;
  103. }
  104. .map-stage__topbar {
  105. display: flex;
  106. align-items: flex-start;
  107. justify-content: flex-start;
  108. }
  109. .map-stage__meta {
  110. max-width: 68%;
  111. padding: 18rpx 20rpx 20rpx;
  112. border-radius: 28rpx;
  113. background: rgba(248, 251, 244, 0.92);
  114. box-shadow: 0 14rpx 36rpx rgba(22, 48, 32, 0.12);
  115. backdrop-filter: blur(12rpx);
  116. }
  117. .map-stage__eyebrow {
  118. font-size: 20rpx;
  119. letter-spacing: 4rpx;
  120. color: #5f7a65;
  121. }
  122. .map-stage__title {
  123. margin-top: 8rpx;
  124. font-size: 38rpx;
  125. font-weight: 600;
  126. }
  127. .map-stage__badge {
  128. display: inline-flex;
  129. margin-top: 14rpx;
  130. padding: 8rpx 18rpx;
  131. border-radius: 999rpx;
  132. background: rgba(22, 48, 32, 0.9);
  133. color: #f7fbf2;
  134. font-size: 22rpx;
  135. }
  136. .screen-button-layer {
  137. position: absolute;
  138. width: 116rpx;
  139. min-height: 116rpx;
  140. padding: 18rpx 0 14rpx;
  141. border-radius: 30rpx;
  142. background: rgba(248, 251, 244, 0.96);
  143. box-shadow: 0 14rpx 36rpx rgba(22, 48, 32, 0.14);
  144. display: flex;
  145. flex-direction: column;
  146. align-items: center;
  147. justify-content: center;
  148. box-sizing: border-box;
  149. z-index: 20;
  150. }
  151. .screen-button-layer__icon {
  152. position: relative;
  153. width: 54rpx;
  154. height: 32rpx;
  155. margin: 0 auto;
  156. border: 4rpx solid #163020;
  157. border-radius: 8rpx;
  158. box-sizing: border-box;
  159. }
  160. .screen-button-layer__line {
  161. position: absolute;
  162. left: 8rpx;
  163. right: 8rpx;
  164. bottom: 6rpx;
  165. height: 4rpx;
  166. border-radius: 999rpx;
  167. background: rgba(22, 48, 32, 0.3);
  168. }
  169. .screen-button-layer__stand {
  170. position: absolute;
  171. left: 50%;
  172. bottom: -12rpx;
  173. width: 18rpx;
  174. height: 4rpx;
  175. margin-left: -9rpx;
  176. border-radius: 999rpx;
  177. background: #163020;
  178. }
  179. .screen-button-layer__text {
  180. margin-top: 18rpx;
  181. text-align: center;
  182. font-size: 22rpx;
  183. font-weight: 600;
  184. color: #163020;
  185. line-height: 1.2;
  186. }
  187. .map-stage__bottom {
  188. display: flex;
  189. align-items: flex-end;
  190. justify-content: center;
  191. width: 100%;
  192. }
  193. .screen-button-layer--bottom-left {
  194. left: 24rpx;
  195. bottom: 244rpx;
  196. }
  197. .screen-button-layer--start-left {
  198. left: 24rpx;
  199. bottom: 378rpx;
  200. min-height: 96rpx;
  201. padding: 0 18rpx;
  202. background: rgba(255, 226, 88, 0.96);
  203. box-shadow: 0 14rpx 36rpx rgba(120, 89, 0, 0.2), 0 0 0 3rpx rgba(255, 246, 186, 0.38);
  204. }
  205. .screen-button-layer__text--start {
  206. margin-top: 0;
  207. font-size: 30rpx;
  208. font-weight: 800;
  209. color: #6d4b00;
  210. letter-spacing: 2rpx;
  211. }
  212. .map-side-toggle {
  213. position: absolute;
  214. left: 24rpx;
  215. z-index: 19;
  216. }
  217. .map-side-column {
  218. position: absolute;
  219. display: flex;
  220. flex-direction: column;
  221. gap: 16rpx;
  222. padding-top: 12rpx;
  223. z-index: 18;
  224. }
  225. .map-side-column--left {
  226. left: 24rpx;
  227. }
  228. .map-side-column--left-group {
  229. padding-top: 106rpx;
  230. }
  231. .map-side-column--right-main {
  232. right: 118rpx;
  233. }
  234. .map-side-column--right-sub {
  235. right: 24rpx;
  236. }
  237. .map-side-button {
  238. width: 78rpx;
  239. height: 78rpx;
  240. border-radius: 22rpx;
  241. background: rgba(248, 251, 244, 0.96);
  242. box-shadow: 0 10rpx 26rpx rgba(22, 48, 32, 0.14);
  243. display: flex;
  244. align-items: center;
  245. justify-content: center;
  246. box-sizing: border-box;
  247. }
  248. .map-side-button--icon {
  249. width: 90rpx;
  250. height: 90rpx;
  251. padding: 0;
  252. background: transparent;
  253. box-shadow: none;
  254. border-radius: 0;
  255. }
  256. .map-side-button__image {
  257. width: 100%;
  258. height: 100%;
  259. }
  260. .map-side-button__rotate-image {
  261. width: 100%;
  262. height: 100%;
  263. border-radius: 16rpx;
  264. box-sizing: border-box;
  265. }
  266. .map-side-button__rotate-image--active {
  267. border: 1px solid rgba(231, 54, 33, 0.98);
  268. }
  269. .map-side-button--muted {
  270. background: rgba(229, 233, 230, 0.92);
  271. }
  272. .map-side-button__text {
  273. font-size: 18rpx;
  274. line-height: 1.1;
  275. font-weight: 700;
  276. color: #163020;
  277. text-align: center;
  278. letter-spacing: 1rpx;
  279. }
  280. .compass-widget {
  281. display: flex;
  282. flex-direction: column;
  283. align-items: center;
  284. gap: 6rpx;
  285. flex-shrink: 0;
  286. }
  287. .compass-widget__heading {
  288. font-size: 14rpx;
  289. line-height: 1;
  290. font-weight: 600;
  291. color: rgba(32, 42, 34, 0.72);
  292. text-shadow: 0 1rpx 0 rgba(255, 255, 255, 0.35);
  293. }
  294. .compass-widget__dial {
  295. position: relative;
  296. width: 196rpx;
  297. height: 196rpx;
  298. border-radius: 50%;
  299. 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%);
  300. border: 2rpx solid rgba(18, 24, 18, 0.48);
  301. box-shadow: 0 6rpx 14rpx rgba(0, 0, 0, 0.14), inset 0 0 0 2rpx rgba(255, 255, 255, 0.24);
  302. overflow: hidden;
  303. }
  304. .compass-widget__dial--active {
  305. border-color: rgba(250, 252, 187, 0.98);
  306. 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);
  307. }
  308. .compass-widget__glass,
  309. .compass-widget__inner-shadow {
  310. position: absolute;
  311. inset: 0;
  312. border-radius: 50%;
  313. pointer-events: none;
  314. }
  315. .compass-widget__glass {
  316. 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%);
  317. }
  318. .compass-widget__inner-shadow {
  319. box-shadow: inset 0 0 0 12rpx rgba(0, 0, 0, 0.07), inset 0 0 18rpx rgba(255, 255, 255, 0.22);
  320. }
  321. .compass-widget__card {
  322. position: absolute;
  323. inset: 0;
  324. transform-origin: center;
  325. }
  326. .compass-widget__north-arrow {
  327. position: absolute;
  328. left: 50%;
  329. top: 50%;
  330. width: 54rpx;
  331. height: 176rpx;
  332. transform: translate(-50%, -52%);
  333. display: block;
  334. pointer-events: none;
  335. z-index: 1;
  336. opacity: 0.42;
  337. }
  338. .compass-widget__north-arrow-outline,
  339. .compass-widget__north-arrow-fill,
  340. .compass-widget__north-arrow-tail-outline,
  341. .compass-widget__north-arrow-tail-fill {
  342. display: none;
  343. }
  344. .compass-widget__tick-anchor,
  345. .compass-widget__mark-anchor,
  346. .compass-widget__needle-anchor {
  347. position: absolute;
  348. left: 50%;
  349. top: 50%;
  350. }
  351. .compass-widget__tick {
  352. position: absolute;
  353. left: 50%;
  354. top: 50%;
  355. width: 2rpx;
  356. border-radius: 999rpx;
  357. transform: translate(-50%, -90rpx);
  358. background: rgba(28, 33, 28, 0.72);
  359. }
  360. .compass-widget__tick--short {
  361. height: 8rpx;
  362. }
  363. .compass-widget__tick--long {
  364. height: 12rpx;
  365. }
  366. .compass-widget__tick--major {
  367. width: 3rpx;
  368. height: 18rpx;
  369. background: rgba(18, 22, 18, 0.88);
  370. }
  371. .compass-widget__mark {
  372. position: absolute;
  373. left: 50%;
  374. top: 50%;
  375. line-height: 1;
  376. color: rgba(40, 42, 37, 0.88);
  377. text-shadow: 0 1rpx 0 rgba(255, 255, 255, 0.22);
  378. white-space: nowrap;
  379. transform-origin: center;
  380. }
  381. .compass-widget__mark--cardinal {
  382. font-size: 26rpx;
  383. font-weight: 700;
  384. }
  385. .compass-widget__mark--intermediate {
  386. font-size: 14rpx;
  387. font-weight: 600;
  388. }
  389. .compass-widget__mark--north {
  390. color: #d62323;
  391. }
  392. .compass-widget__mark--northeast,
  393. .compass-widget__mark--northwest {
  394. color: #577347;
  395. }
  396. .compass-widget__needle-anchor {
  397. width: 0;
  398. height: 0;
  399. }
  400. .compass-widget__needle-north,
  401. .compass-widget__needle-south {
  402. position: absolute;
  403. left: 50%;
  404. top: 50%;
  405. }
  406. .compass-widget__needle-north {
  407. width: 0;
  408. height: 0;
  409. border-left: 8rpx solid transparent;
  410. border-right: 8rpx solid transparent;
  411. border-bottom: 64rpx solid #ef2f2f;
  412. transform: translate(-50%, -74rpx);
  413. filter: drop-shadow(0 2rpx 3rpx rgba(96, 0, 0, 0.24));
  414. }
  415. .compass-widget__needle-south {
  416. width: 7rpx;
  417. height: 72rpx;
  418. border-radius: 999rpx;
  419. background: linear-gradient(180deg, rgba(236, 238, 232, 0.98) 0%, rgba(146, 151, 143, 0.98) 100%);
  420. transform: translate(-50%, 2rpx);
  421. box-shadow: 0 1rpx 3rpx rgba(32, 34, 31, 0.18);
  422. }
  423. .compass-widget__hub {
  424. position: absolute;
  425. left: 50%;
  426. top: 50%;
  427. width: 26rpx;
  428. height: 26rpx;
  429. transform: translate(-50%, -52%);
  430. border-radius: 50%;
  431. background: radial-gradient(circle at 34% 32%, #f4f3e7 0%, #d7d2bd 40%, #928b78 72%, #5a554b 100%);
  432. box-shadow: inset 0 0 0 2rpx rgba(255, 255, 255, 0.32), 0 2rpx 5rpx rgba(0, 0, 0, 0.16);
  433. }
  434. .compass-widget__hub-core {
  435. position: absolute;
  436. left: 50%;
  437. top: 50%;
  438. width: 10rpx;
  439. height: 10rpx;
  440. transform: translate(-50%, -52%);
  441. border-radius: 50%;
  442. background: rgba(173, 170, 156, 0.92);
  443. box-shadow: inset 0 0 0 2rpx rgba(255, 255, 255, 0.2);
  444. }
  445. .compass-widget__edge-arrow {
  446. width: 0;
  447. height: 0;
  448. margin-top: -2rpx;
  449. margin-bottom: -4rpx;
  450. border-left: 8rpx solid transparent;
  451. border-right: 8rpx solid transparent;
  452. border-top: 14rpx solid rgba(58, 49, 37, 0.72);
  453. filter: drop-shadow(0 1rpx 1rpx rgba(255, 255, 255, 0.18));
  454. }
  455. .compass-widget__hint {
  456. max-width: 196rpx;
  457. font-size: 14rpx;
  458. line-height: 1.3;
  459. color: #d62828;
  460. text-align: center;
  461. font-weight: 700;
  462. text-shadow: 0 1rpx 0 rgba(255, 255, 255, 0.24);
  463. }
  464. .race-panel {
  465. position: absolute;
  466. left: 0;
  467. right: 0;
  468. bottom: 0;
  469. height: 216rpx;
  470. background: linear-gradient(180deg, #1d97ec 0%, #168ce4 100%);
  471. box-shadow: 0 -10rpx 24rpx rgba(10, 75, 125, 0.2);
  472. z-index: 15;
  473. overflow: hidden;
  474. }
  475. .race-panel__grid {
  476. position: relative;
  477. z-index: 2;
  478. display: grid;
  479. grid-template-columns: 1fr 1fr 1fr;
  480. grid-template-rows: 1fr 1fr;
  481. width: 100%;
  482. height: 100%;
  483. }
  484. .race-panel__cell {
  485. position: relative;
  486. display: flex;
  487. align-items: center;
  488. justify-content: center;
  489. color: #ffffff;
  490. box-sizing: border-box;
  491. }
  492. .race-panel__cell--action,
  493. .race-panel__cell--timer,
  494. .race-panel__cell--mileage {
  495. padding-top: 10rpx;
  496. }
  497. .race-panel__cell--distance,
  498. .race-panel__cell--progress,
  499. .race-panel__cell--speed {
  500. padding-top: 2rpx;
  501. }
  502. .race-panel__cell--action {
  503. justify-content: center;
  504. padding-left: 0;
  505. }
  506. .race-panel__cell--timer {
  507. padding-left: 0;
  508. padding-right: 0;
  509. }
  510. .race-panel__cell--mileage {
  511. justify-content: center;
  512. padding-right: 0;
  513. }
  514. .race-panel__cell--distance {
  515. justify-content: center;
  516. padding-left: 0;
  517. }
  518. .race-panel__cell--progress {
  519. padding-left: 0;
  520. padding-right: 0;
  521. }
  522. .race-panel__cell--speed {
  523. justify-content: center;
  524. padding-right: 0;
  525. }
  526. .race-panel__play {
  527. width: 0;
  528. height: 0;
  529. margin-left: 2rpx;
  530. border-top: 20rpx solid transparent;
  531. border-bottom: 20rpx solid transparent;
  532. border-left: 30rpx solid #ffffff;
  533. filter: drop-shadow(0 2rpx 0 rgba(255, 255, 255, 0.25));
  534. transform: translateX(16rpx);
  535. }
  536. .race-panel__timer {
  537. max-width: 100%;
  538. box-sizing: border-box;
  539. font-size: 50rpx;
  540. line-height: 1;
  541. letter-spacing: 2rpx;
  542. font-family: 'Courier New', monospace;
  543. text-shadow: 0 2rpx 0 rgba(255, 255, 255, 0.2);
  544. }
  545. .race-panel__mileage {
  546. max-width: 100%;
  547. box-sizing: border-box;
  548. font-size: 40rpx;
  549. line-height: 1;
  550. font-weight: 300;
  551. text-shadow: 0 2rpx 0 rgba(255, 255, 255, 0.16);
  552. }
  553. .race-panel__mileage-wrap {
  554. display: flex;
  555. align-items: center;
  556. justify-content: center;
  557. gap: 10rpx;
  558. transform: translateX(-16rpx);
  559. }
  560. .race-panel__metric-group {
  561. max-width: 100%;
  562. box-sizing: border-box;
  563. display: flex;
  564. align-items: baseline;
  565. color: #ffffff;
  566. }
  567. .race-panel__metric-group--left {
  568. justify-content: center;
  569. transform: translateX(16rpx);
  570. }
  571. .race-panel__metric-group--right {
  572. justify-content: center;
  573. transform: translateX(-16rpx);
  574. }
  575. .race-panel__metric-value {
  576. line-height: 1;
  577. text-shadow: 0 2rpx 0 rgba(255, 255, 255, 0.16);
  578. }
  579. .race-panel__metric-value--distance {
  580. font-size: 54rpx;
  581. font-weight: 700;
  582. }
  583. .race-panel__metric-value--speed {
  584. font-size: 48rpx;
  585. font-weight: 400;
  586. }
  587. .race-panel__metric-unit {
  588. line-height: 1;
  589. margin-left: 6rpx;
  590. opacity: 0.95;
  591. }
  592. .race-panel__metric-unit--distance {
  593. font-size: 24rpx;
  594. font-weight: 600;
  595. }
  596. .race-panel__metric-unit--speed {
  597. font-size: 18rpx;
  598. font-weight: 500;
  599. }
  600. .race-panel__progress {
  601. max-width: 100%;
  602. box-sizing: border-box;
  603. font-size: 50rpx;
  604. line-height: 1;
  605. font-weight: 400;
  606. text-shadow: 0 2rpx 0 rgba(255, 255, 255, 0.16);
  607. }
  608. .race-panel__tag {
  609. position: absolute;
  610. z-index: 3;
  611. min-width: 56rpx;
  612. height: 32rpx;
  613. padding: 0 10rpx;
  614. background: #000000;
  615. color: #ffffff;
  616. font-size: 16rpx;
  617. line-height: 32rpx;
  618. text-align: center;
  619. letter-spacing: 2rpx;
  620. }
  621. .race-panel__tag--top-left {
  622. top: 0;
  623. left: 0;
  624. }
  625. .race-panel__tag--top-right {
  626. top: 0;
  627. right: 0;
  628. }
  629. .race-panel__tag--bottom-left {
  630. left: 0;
  631. bottom: 0;
  632. }
  633. .race-panel__tag--bottom-right {
  634. right: 0;
  635. bottom: 0;
  636. }
  637. .map-punch-button {
  638. position: absolute;
  639. right: 24rpx;
  640. bottom: 244rpx;
  641. width: 92rpx;
  642. height: 92rpx;
  643. border-radius: 50%;
  644. background: rgba(78, 92, 106, 0.82);
  645. box-shadow: 0 12rpx 28rpx rgba(22, 34, 46, 0.22), inset 0 0 0 2rpx rgba(255, 255, 255, 0.08);
  646. z-index: 18;
  647. }
  648. .map-punch-button__text {
  649. font-size: 20rpx;
  650. line-height: 92rpx;
  651. font-weight: 800;
  652. text-align: center;
  653. color: rgba(236, 241, 246, 0.88);
  654. }
  655. .map-punch-button--active {
  656. background: rgba(92, 255, 237, 0.96);
  657. box-shadow: 0 0 0 5rpx rgba(149, 255, 244, 0.18), 0 0 30rpx rgba(92, 255, 237, 0.5);
  658. animation: punch-button-ready 1s ease-in-out infinite;
  659. }
  660. .map-punch-button--active .map-punch-button__text {
  661. color: #064d46;
  662. }
  663. .map-punch-button--fx-ready-a,
  664. .map-punch-button--fx-ready-b {
  665. animation: punch-button-burst 0.92s ease-out 1;
  666. }
  667. .map-punch-button--fx-warning-a,
  668. .map-punch-button--fx-warning-b {
  669. animation: punch-button-warning 0.56s ease-in-out 1;
  670. }
  671. .race-panel__line {
  672. position: absolute;
  673. z-index: 1;
  674. height: 2rpx;
  675. box-shadow: 0 0 6rpx rgba(255, 255, 255, 0.2);
  676. }
  677. .race-panel__line--center {
  678. left: 33.3333%;
  679. right: 33.3333%;
  680. top: 50%;
  681. transform: translateY(-50%);
  682. background: rgba(255, 255, 255, 0.86);
  683. }
  684. .race-panel__line--left-mid {
  685. left: 0;
  686. width: 33.3333%;
  687. top: 50%;
  688. transform: translateY(-50%);
  689. background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.78) 100%);
  690. }
  691. .race-panel__line--right-mid {
  692. right: 0;
  693. width: 33.3333%;
  694. top: 50%;
  695. transform: translateY(-50%);
  696. background: linear-gradient(90deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.08) 100%);
  697. }
  698. .race-panel__line--left-top,
  699. .race-panel__line--left-bottom,
  700. .race-panel__line--right-top,
  701. .race-panel__line--right-bottom {
  702. width: 23%;
  703. top: 50%;
  704. }
  705. .race-panel__line--left-top {
  706. right: 66.6667%;
  707. transform-origin: right center;
  708. transform: translateY(-50%) rotate(70deg);
  709. background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.82) 100%);
  710. }
  711. .race-panel__line--left-bottom {
  712. right: 66.6667%;
  713. transform-origin: right center;
  714. transform: translateY(-50%) rotate(-70deg);
  715. background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.82) 100%);
  716. }
  717. .race-panel__line--right-top {
  718. left: 66.6667%;
  719. transform-origin: left center;
  720. transform: translateY(-50%) rotate(-70deg);
  721. background: linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.08) 100%);
  722. }
  723. .race-panel__line--right-bottom {
  724. left: 66.6667%;
  725. transform-origin: left center;
  726. transform: translateY(-50%) rotate(70deg);
  727. background: linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.08) 100%);
  728. }
  729. .race-panel__chevrons {
  730. position: relative;
  731. width: 24rpx;
  732. height: 24rpx;
  733. opacity: 0.5;
  734. flex-shrink: 0;
  735. }
  736. .race-panel__chevron {
  737. position: absolute;
  738. right: 6rpx;
  739. top: 50%;
  740. width: 10rpx;
  741. height: 10rpx;
  742. border-top: 3rpx solid rgba(255, 255, 255, 0.78);
  743. border-right: 3rpx solid rgba(255, 255, 255, 0.78);
  744. transform: translateY(-50%) rotate(45deg);
  745. }
  746. .race-panel__chevron--offset {
  747. right: 0;
  748. }
  749. .debug-modal {
  750. position: absolute;
  751. inset: 0;
  752. display: flex;
  753. align-items: flex-end;
  754. justify-content: center;
  755. padding: 0 20rpx 28rpx;
  756. box-sizing: border-box;
  757. background: rgba(7, 18, 12, 0.34);
  758. z-index: 30;
  759. }
  760. .debug-modal__dialog {
  761. width: 100%;
  762. max-height: 72vh;
  763. border-radius: 36rpx;
  764. background: rgba(248, 251, 244, 0.98);
  765. box-shadow: 0 20rpx 60rpx rgba(7, 18, 12, 0.24);
  766. overflow: hidden;
  767. }
  768. .debug-modal__header {
  769. display: flex;
  770. align-items: center;
  771. justify-content: flex-end;
  772. gap: 20rpx;
  773. padding: 28rpx 28rpx 20rpx;
  774. border-bottom: 1rpx solid rgba(22, 48, 32, 0.08);
  775. }
  776. .debug-modal__eyebrow {
  777. font-size: 20rpx;
  778. letter-spacing: 4rpx;
  779. color: #5f7a65;
  780. }
  781. .debug-modal__title {
  782. margin-top: 8rpx;
  783. font-size: 34rpx;
  784. font-weight: 600;
  785. color: #163020;
  786. }
  787. .debug-modal__close {
  788. flex-shrink: 0;
  789. padding: 14rpx 22rpx;
  790. border-radius: 999rpx;
  791. background: #163020;
  792. color: #f7fbf2;
  793. font-size: 24rpx;
  794. }
  795. .debug-modal__content {
  796. max-height: calc(72vh - 108rpx);
  797. padding: 12rpx 28rpx 30rpx;
  798. box-sizing: border-box;
  799. }
  800. .info-panel__row {
  801. display: flex;
  802. align-items: flex-start;
  803. justify-content: space-between;
  804. gap: 24rpx;
  805. padding: 10rpx 0;
  806. border-bottom: 1rpx solid rgba(22, 48, 32, 0.08);
  807. }
  808. .info-panel__row--stack {
  809. align-items: flex-start;
  810. }
  811. .info-panel__row:last-of-type {
  812. border-bottom: none;
  813. }
  814. .info-panel__label {
  815. width: 148rpx;
  816. flex-shrink: 0;
  817. font-size: 22rpx;
  818. letter-spacing: 2rpx;
  819. color: #5f7a65;
  820. text-align: left;
  821. text-transform: uppercase;
  822. }
  823. .info-panel__value {
  824. flex: 1;
  825. min-width: 0;
  826. font-size: 25rpx;
  827. line-height: 1.45;
  828. color: #163020;
  829. text-align: right;
  830. word-break: break-all;
  831. }
  832. .info-panel__row--stack .info-panel__value {
  833. margin-top: 0;
  834. text-align: right;
  835. color: #45624b;
  836. }
  837. .control-row {
  838. display: flex;
  839. gap: 14rpx;
  840. margin-top: 18rpx;
  841. }
  842. .control-row--triple .control-chip {
  843. font-size: 23rpx;
  844. }
  845. .control-chip {
  846. flex: 1;
  847. min-width: 0;
  848. padding: 20rpx 16rpx;
  849. border-radius: 999rpx;
  850. background: #d7e8da;
  851. color: #163020;
  852. font-size: 26rpx;
  853. text-align: center;
  854. box-sizing: border-box;
  855. }
  856. .control-chip--primary {
  857. background: #2d6a4f;
  858. color: #f7fbf2;
  859. }
  860. .control-chip--secondary {
  861. background: #eef6ea;
  862. color: #45624b;
  863. }
  864. .control-chip--active {
  865. background: #2d6a4f;
  866. color: #f7fbf2;
  867. }
  868. .race-panel__cell--action {
  869. justify-content: flex-start;
  870. padding-left: 44rpx;
  871. }
  872. .race-panel__cell--timer {
  873. padding-left: 12rpx;
  874. padding-right: 12rpx;
  875. }
  876. .race-panel__cell--mileage {
  877. justify-content: flex-end;
  878. padding-right: 56rpx;
  879. }
  880. .race-panel__cell--distance {
  881. justify-content: flex-start;
  882. padding-left: 28rpx;
  883. }
  884. .race-panel__cell--progress {
  885. padding-left: 8rpx;
  886. padding-right: 8rpx;
  887. }
  888. .race-panel__cell--speed {
  889. justify-content: flex-end;
  890. padding-right: 32rpx;
  891. }
  892. .race-panel__timer,
  893. .race-panel__progress,
  894. .race-panel__mileage,
  895. .race-panel__metric-group {
  896. max-width: 100%;
  897. box-sizing: border-box;
  898. }
  899. .game-punch-hint {
  900. position: absolute;
  901. left: 50%;
  902. bottom: 280rpx;
  903. transform: translateX(-50%);
  904. max-width: 72vw;
  905. padding: 14rpx 24rpx;
  906. border-radius: 999rpx;
  907. background: rgba(18, 33, 24, 0.78);
  908. color: #f7fbf2;
  909. font-size: 24rpx;
  910. line-height: 1.2;
  911. text-align: center;
  912. z-index: 16;
  913. pointer-events: none;
  914. }
  915. .game-punch-feedback {
  916. position: absolute;
  917. left: 50%;
  918. top: 18%;
  919. transform: translateX(-50%);
  920. min-width: 240rpx;
  921. padding: 20rpx 28rpx;
  922. border-radius: 24rpx;
  923. color: #ffffff;
  924. font-size: 24rpx;
  925. font-weight: 700;
  926. text-align: center;
  927. box-shadow: 0 16rpx 36rpx rgba(0, 0, 0, 0.18);
  928. z-index: 17;
  929. pointer-events: none;
  930. }
  931. .game-punch-feedback--neutral {
  932. background: rgba(27, 109, 189, 0.92);
  933. }
  934. .game-punch-feedback--success {
  935. background: rgba(37, 134, 88, 0.94);
  936. }
  937. .game-punch-feedback--warning {
  938. background: rgba(196, 117, 18, 0.94);
  939. }
  940. .game-punch-feedback--fx-pop {
  941. animation: feedback-toast-pop 0.42s ease-out;
  942. }
  943. .game-punch-feedback--fx-success {
  944. animation: feedback-toast-success 0.58s ease-out;
  945. }
  946. .game-punch-feedback--fx-warning {
  947. animation: feedback-toast-warning 0.56s ease-out;
  948. }
  949. .game-content-card {
  950. position: absolute;
  951. left: 50%;
  952. top: 26%;
  953. width: 440rpx;
  954. max-width: calc(100vw - 72rpx);
  955. transform: translateX(-50%);
  956. padding: 28rpx 28rpx 24rpx;
  957. border-radius: 28rpx;
  958. background: rgba(248, 251, 244, 0.96);
  959. box-shadow: 0 18rpx 48rpx rgba(22, 48, 32, 0.18);
  960. box-sizing: border-box;
  961. z-index: 17;
  962. }
  963. .game-content-card__title {
  964. font-size: 34rpx;
  965. line-height: 1.2;
  966. font-weight: 700;
  967. color: #163020;
  968. }
  969. .game-content-card__body {
  970. margin-top: 12rpx;
  971. font-size: 24rpx;
  972. line-height: 1.5;
  973. color: #45624b;
  974. }
  975. .game-content-card__hint {
  976. margin-top: 16rpx;
  977. font-size: 20rpx;
  978. color: #809284;
  979. }
  980. .game-content-card--fx-pop {
  981. animation: content-card-pop 0.5s cubic-bezier(0.18, 0.88, 0.2, 1);
  982. }
  983. .game-content-card--fx-finish {
  984. animation: content-card-finish 0.68s cubic-bezier(0.18, 0.88, 0.2, 1);
  985. }
  986. .race-panel__action-button {
  987. display: flex;
  988. align-items: center;
  989. justify-content: center;
  990. min-width: 116rpx;
  991. min-height: 72rpx;
  992. padding: 0 20rpx;
  993. border-radius: 999rpx;
  994. background: rgba(78, 92, 106, 0.54);
  995. border: 2rpx solid rgba(210, 220, 228, 0.18);
  996. box-sizing: border-box;
  997. box-shadow: inset 0 0 0 2rpx rgba(255, 255, 255, 0.06);
  998. }
  999. .race-panel__action-button--active {
  1000. background: rgba(255, 226, 88, 0.98);
  1001. border-color: rgba(255, 247, 194, 0.98);
  1002. box-shadow: 0 0 0 4rpx rgba(255, 241, 158, 0.18), 0 0 28rpx rgba(255, 239, 122, 0.42);
  1003. animation: punch-button-ready 1s ease-in-out infinite;
  1004. }
  1005. .race-panel__action-button-text {
  1006. font-size: 24rpx;
  1007. line-height: 1;
  1008. font-weight: 700;
  1009. color: rgba(236, 241, 246, 0.86);
  1010. }
  1011. .race-panel__action-button--active .race-panel__action-button-text {
  1012. color: #775000;
  1013. }
  1014. @keyframes punch-button-ready {
  1015. 0% {
  1016. transform: scale(1);
  1017. box-shadow: 0 0 0 0 rgba(255, 241, 158, 0.22), 0 0 18rpx rgba(255, 239, 122, 0.28);
  1018. }
  1019. 50% {
  1020. transform: scale(1.06);
  1021. box-shadow: 0 0 0 8rpx rgba(255, 241, 158, 0.08), 0 0 34rpx rgba(255, 239, 122, 0.52);
  1022. }
  1023. 100% {
  1024. transform: scale(1);
  1025. box-shadow: 0 0 0 0 rgba(255, 241, 158, 0.22), 0 0 18rpx rgba(255, 239, 122, 0.28);
  1026. }
  1027. }
  1028. @keyframes punch-button-burst {
  1029. 0% {
  1030. transform: scale(1);
  1031. box-shadow: 0 12rpx 28rpx rgba(22, 34, 46, 0.22);
  1032. }
  1033. 34% {
  1034. transform: scale(1.12);
  1035. box-shadow: 0 0 0 9rpx rgba(149, 255, 244, 0.18), 0 0 34rpx rgba(92, 255, 237, 0.58);
  1036. }
  1037. 100% {
  1038. transform: scale(1);
  1039. box-shadow: 0 12rpx 28rpx rgba(22, 34, 46, 0.22);
  1040. }
  1041. }
  1042. @keyframes punch-button-warning {
  1043. 0%, 100% {
  1044. transform: translateX(0);
  1045. }
  1046. 20% {
  1047. transform: translateX(-6rpx) scale(1.02);
  1048. }
  1049. 40% {
  1050. transform: translateX(6rpx) scale(1.04);
  1051. }
  1052. 60% {
  1053. transform: translateX(-4rpx) scale(1.02);
  1054. }
  1055. 80% {
  1056. transform: translateX(4rpx);
  1057. }
  1058. }
  1059. @keyframes feedback-toast-pop {
  1060. 0% {
  1061. opacity: 0;
  1062. transform: translateX(-50%) translateY(18rpx) scale(0.88);
  1063. }
  1064. 100% {
  1065. opacity: 1;
  1066. transform: translateX(-50%) translateY(0) scale(1);
  1067. }
  1068. }
  1069. @keyframes feedback-toast-success {
  1070. 0% {
  1071. opacity: 0;
  1072. transform: translateX(-50%) translateY(18rpx) scale(0.88);
  1073. }
  1074. 55% {
  1075. opacity: 1;
  1076. transform: translateX(-50%) translateY(-6rpx) scale(1.04);
  1077. }
  1078. 100% {
  1079. opacity: 1;
  1080. transform: translateX(-50%) translateY(0) scale(1);
  1081. }
  1082. }
  1083. @keyframes feedback-toast-warning {
  1084. 0% {
  1085. opacity: 0;
  1086. transform: translateX(-50%) translateY(12rpx) scale(0.92);
  1087. }
  1088. 30% {
  1089. opacity: 1;
  1090. transform: translateX(calc(-50% - 6rpx)) translateY(0) scale(1.02);
  1091. }
  1092. 60% {
  1093. transform: translateX(calc(-50% + 6rpx)) translateY(0) scale(1.02);
  1094. }
  1095. 100% {
  1096. opacity: 1;
  1097. transform: translateX(-50%) translateY(0) scale(1);
  1098. }
  1099. }
  1100. @keyframes content-card-pop {
  1101. 0% {
  1102. opacity: 0;
  1103. transform: translateX(-50%) translateY(30rpx) scale(0.92);
  1104. }
  1105. 100% {
  1106. opacity: 1;
  1107. transform: translateX(-50%) translateY(0) scale(1);
  1108. }
  1109. }
  1110. @keyframes content-card-finish {
  1111. 0% {
  1112. opacity: 0;
  1113. transform: translateX(-50%) translateY(34rpx) scale(0.9);
  1114. box-shadow: 0 18rpx 48rpx rgba(22, 48, 32, 0.18);
  1115. }
  1116. 45% {
  1117. opacity: 1;
  1118. transform: translateX(-50%) translateY(-6rpx) scale(1.03);
  1119. box-shadow: 0 0 0 6rpx rgba(255, 232, 147, 0.18), 0 22rpx 52rpx rgba(22, 48, 32, 0.2);
  1120. }
  1121. 100% {
  1122. opacity: 1;
  1123. transform: translateX(-50%) translateY(0) scale(1);
  1124. box-shadow: 0 18rpx 48rpx rgba(22, 48, 32, 0.18);
  1125. }
  1126. }
  1127. @keyframes map-pulse-control {
  1128. 0% {
  1129. opacity: 0.94;
  1130. transform: scale(0.28);
  1131. border: 6rpx solid rgba(92, 255, 237, 0.98);
  1132. box-shadow: 0 0 0 0 rgba(92, 255, 237, 0.42);
  1133. }
  1134. 70% {
  1135. opacity: 0.32;
  1136. transform: scale(3.4);
  1137. border: 4rpx solid rgba(92, 255, 237, 0.52);
  1138. box-shadow: 0 0 0 10rpx rgba(92, 255, 237, 0.08);
  1139. }
  1140. 100% {
  1141. opacity: 0;
  1142. transform: scale(4.1);
  1143. border: 2rpx solid rgba(92, 255, 237, 0);
  1144. box-shadow: 0 0 0 0 rgba(92, 255, 237, 0);
  1145. }
  1146. }
  1147. @keyframes map-pulse-ready {
  1148. 0% {
  1149. opacity: 0.92;
  1150. transform: scale(0.22);
  1151. border: 5rpx solid rgba(255, 248, 184, 0.98);
  1152. box-shadow: 0 0 0 0 rgba(255, 248, 184, 0.28);
  1153. }
  1154. 68% {
  1155. opacity: 0.22;
  1156. transform: scale(2.4);
  1157. border: 3rpx solid rgba(255, 248, 184, 0.46);
  1158. box-shadow: 0 0 0 8rpx rgba(255, 248, 184, 0.08);
  1159. }
  1160. 100% {
  1161. opacity: 0;
  1162. transform: scale(3);
  1163. border: 2rpx solid rgba(255, 248, 184, 0);
  1164. box-shadow: 0 0 0 0 rgba(255, 248, 184, 0);
  1165. }
  1166. }
  1167. @keyframes map-pulse-finish {
  1168. 0% {
  1169. opacity: 0.98;
  1170. transform: scale(0.24);
  1171. border: 6rpx solid rgba(255, 231, 117, 1);
  1172. box-shadow: 0 0 0 0 rgba(255, 231, 117, 0.46);
  1173. }
  1174. 48% {
  1175. opacity: 0.52;
  1176. transform: scale(3.8);
  1177. border: 4rpx solid rgba(255, 231, 117, 0.72);
  1178. box-shadow: 0 0 0 14rpx rgba(255, 231, 117, 0.14);
  1179. }
  1180. 100% {
  1181. opacity: 0;
  1182. transform: scale(4.8);
  1183. border: 2rpx solid rgba(255, 231, 117, 0);
  1184. box-shadow: 0 0 0 0 rgba(255, 231, 117, 0);
  1185. }
  1186. }
  1187. @keyframes stage-fx-finish {
  1188. 0% {
  1189. opacity: 0;
  1190. background: radial-gradient(circle at 50% 50%, rgba(255, 241, 168, 0.22) 0%, rgba(255, 241, 168, 0.08) 28%, rgba(255, 255, 255, 0) 62%);
  1191. backdrop-filter: brightness(1);
  1192. }
  1193. 24% {
  1194. opacity: 1;
  1195. background: radial-gradient(circle at 50% 50%, rgba(255, 241, 168, 0.34) 0%, rgba(255, 241, 168, 0.14) 32%, rgba(255, 255, 255, 0.04) 74%);
  1196. backdrop-filter: brightness(1.08);
  1197. }
  1198. 100% {
  1199. opacity: 0;
  1200. background: radial-gradient(circle at 50% 50%, rgba(255, 241, 168, 0) 0%, rgba(255, 241, 168, 0) 100%);
  1201. backdrop-filter: brightness(1);
  1202. }
  1203. }