map.wxss 37 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919
  1. .page {
  2. height: 100vh;
  3. position: relative;
  4. overflow: hidden;
  5. background: #dbeed4;
  6. color: #163020;
  7. }
  8. .app-edge-glow {
  9. position: absolute;
  10. inset: 0;
  11. border-radius: 0;
  12. pointer-events: none;
  13. z-index: 40;
  14. }
  15. .app-edge-glow--orange {
  16. animation: app-edge-breathe-orange 1.55s ease-in-out infinite;
  17. }
  18. .app-edge-glow--red {
  19. animation: app-edge-breathe-red 1.15s ease-in-out infinite;
  20. }
  21. .map-stage {
  22. position: absolute;
  23. inset: 0;
  24. overflow: hidden;
  25. background: #dbeed4;
  26. }
  27. .map-content {
  28. position: absolute;
  29. inset: 0;
  30. }
  31. .map-canvas {
  32. position: absolute;
  33. inset: 0;
  34. width: 100%;
  35. height: 100%;
  36. display: block;
  37. }
  38. .map-canvas--base {
  39. z-index: 1;
  40. }
  41. .map-canvas--labels {
  42. z-index: 2;
  43. pointer-events: none;
  44. }
  45. .map-stage__map-pulse {
  46. position: absolute;
  47. width: 44rpx;
  48. height: 44rpx;
  49. margin-left: -22rpx;
  50. margin-top: -22rpx;
  51. border-radius: 50%;
  52. pointer-events: none;
  53. z-index: 6;
  54. }
  55. .map-stage__map-pulse--control {
  56. animation: map-pulse-control 0.82s ease-out 1;
  57. }
  58. .map-stage__map-pulse--ready {
  59. animation: map-pulse-ready 0.72s ease-out 1;
  60. }
  61. .map-stage__map-pulse--finish {
  62. animation: map-pulse-finish 0.82s ease-out 1;
  63. }
  64. .map-stage__stage-fx {
  65. position: absolute;
  66. inset: 0;
  67. pointer-events: none;
  68. z-index: 5;
  69. }
  70. .map-stage__stage-fx--finish {
  71. animation: stage-fx-finish 0.76s ease-out 1;
  72. }
  73. .map-stage__overlay {
  74. position: absolute;
  75. inset: 0;
  76. display: flex;
  77. flex-direction: column;
  78. justify-content: flex-end;
  79. padding: 0 24rpx 248rpx;
  80. box-sizing: border-box;
  81. pointer-events: none;
  82. z-index: 4;
  83. }
  84. .map-stage__overlay-center-layer {
  85. position: absolute;
  86. inset: 0;
  87. pointer-events: none;
  88. z-index: 4;
  89. }
  90. .center-scale-ruler {
  91. position: absolute;
  92. width: 220rpx;
  93. transform: translate(-50%, -100%);
  94. pointer-events: none;
  95. z-index: 12;
  96. }
  97. .center-scale-ruler__axis {
  98. position: absolute;
  99. left: 50%;
  100. top: 0;
  101. bottom: 0;
  102. width: 4rpx;
  103. margin-left: -2rpx;
  104. border-radius: 999rpx;
  105. background: rgba(19, 20, 18, 0.92);
  106. }
  107. .center-scale-ruler__arrow {
  108. position: absolute;
  109. left: 50%;
  110. top: -34rpx;
  111. width: 0;
  112. height: 0;
  113. margin-left: -14rpx;
  114. border-left: 14rpx solid transparent;
  115. border-right: 14rpx solid transparent;
  116. border-bottom: 34rpx solid rgba(19, 20, 18, 0.96);
  117. }
  118. .center-scale-ruler__tick {
  119. position: absolute;
  120. left: 50%;
  121. width: 18rpx;
  122. height: 4rpx;
  123. margin-left: -9rpx;
  124. margin-top: -2rpx;
  125. border-radius: 999rpx;
  126. background: rgba(19, 20, 18, 0.82);
  127. }
  128. .center-scale-ruler__tick--major {
  129. width: 32rpx;
  130. margin-left: -16rpx;
  131. height: 5rpx;
  132. margin-top: -2.5rpx;
  133. background: rgba(12, 14, 12, 0.96);
  134. }
  135. .center-scale-ruler__tick--zero {
  136. width: 34rpx;
  137. margin-left: -17rpx;
  138. }
  139. .center-scale-ruler__label {
  140. position: absolute;
  141. left: 50%;
  142. margin-left: 18rpx;
  143. transform: translateY(-50%);
  144. font-size: 22rpx;
  145. line-height: 1;
  146. font-weight: 800;
  147. color: rgba(19, 20, 18, 0.96);
  148. text-shadow: 0 1rpx 0 rgba(255, 255, 255, 0.28);
  149. white-space: nowrap;
  150. }
  151. .center-scale-ruler__label--zero {
  152. transform: translateY(-24%);
  153. font-size: 24rpx;
  154. }
  155. .map-stage__topbar {
  156. display: flex;
  157. align-items: flex-start;
  158. justify-content: flex-start;
  159. }
  160. .map-stage__meta {
  161. max-width: 68%;
  162. padding: 18rpx 20rpx 20rpx;
  163. border-radius: 28rpx;
  164. background: rgba(248, 251, 244, 0.92);
  165. box-shadow: 0 14rpx 36rpx rgba(22, 48, 32, 0.12);
  166. backdrop-filter: blur(12rpx);
  167. }
  168. .map-stage__eyebrow {
  169. font-size: 20rpx;
  170. letter-spacing: 4rpx;
  171. color: #5f7a65;
  172. }
  173. .map-stage__title {
  174. margin-top: 8rpx;
  175. font-size: 38rpx;
  176. font-weight: 600;
  177. }
  178. .map-stage__badge {
  179. display: inline-flex;
  180. margin-top: 14rpx;
  181. padding: 8rpx 18rpx;
  182. border-radius: 999rpx;
  183. background: rgba(22, 48, 32, 0.9);
  184. color: #f7fbf2;
  185. font-size: 22rpx;
  186. }
  187. .screen-button-layer {
  188. position: absolute;
  189. width: 116rpx;
  190. min-height: 116rpx;
  191. padding: 18rpx 0 14rpx;
  192. border-radius: 30rpx;
  193. background: rgba(248, 251, 244, 0.96);
  194. box-shadow: 0 14rpx 36rpx rgba(22, 48, 32, 0.14);
  195. display: flex;
  196. flex-direction: column;
  197. align-items: center;
  198. justify-content: center;
  199. box-sizing: border-box;
  200. z-index: 20;
  201. }
  202. .screen-button-layer__icon {
  203. position: relative;
  204. width: 54rpx;
  205. height: 32rpx;
  206. margin: 0 auto;
  207. border: 4rpx solid #163020;
  208. border-radius: 8rpx;
  209. box-sizing: border-box;
  210. }
  211. .screen-button-layer__line {
  212. position: absolute;
  213. left: 8rpx;
  214. right: 8rpx;
  215. bottom: 6rpx;
  216. height: 4rpx;
  217. border-radius: 999rpx;
  218. background: rgba(22, 48, 32, 0.3);
  219. }
  220. .screen-button-layer__stand {
  221. position: absolute;
  222. left: 50%;
  223. bottom: -12rpx;
  224. width: 18rpx;
  225. height: 4rpx;
  226. margin-left: -9rpx;
  227. border-radius: 999rpx;
  228. background: #163020;
  229. }
  230. .screen-button-layer__text {
  231. margin-top: 18rpx;
  232. text-align: center;
  233. font-size: 22rpx;
  234. font-weight: 600;
  235. color: #163020;
  236. line-height: 1.2;
  237. }
  238. .map-stage__bottom {
  239. display: flex;
  240. align-items: flex-end;
  241. justify-content: center;
  242. width: 100%;
  243. }
  244. .screen-button-layer--bottom-left {
  245. left: 24rpx;
  246. bottom: 244rpx;
  247. }
  248. .screen-button-layer--start-left {
  249. left: 24rpx;
  250. bottom: 378rpx;
  251. min-height: 96rpx;
  252. padding: 0 18rpx;
  253. background: rgba(255, 226, 88, 0.96);
  254. box-shadow: 0 14rpx 36rpx rgba(120, 89, 0, 0.2), 0 0 0 3rpx rgba(255, 246, 186, 0.38);
  255. }
  256. .screen-button-layer__text--start {
  257. margin-top: 0;
  258. font-size: 30rpx;
  259. font-weight: 800;
  260. color: #6d4b00;
  261. letter-spacing: 2rpx;
  262. }
  263. .map-side-toggle {
  264. position: absolute;
  265. left: 24rpx;
  266. z-index: 19;
  267. }
  268. .map-side-column {
  269. position: absolute;
  270. display: flex;
  271. flex-direction: column;
  272. gap: 16rpx;
  273. padding-top: 12rpx;
  274. z-index: 18;
  275. }
  276. .map-side-column--left {
  277. left: 24rpx;
  278. }
  279. .map-side-column--left-group {
  280. padding-top: 106rpx;
  281. }
  282. .map-side-column--right-main {
  283. right: 118rpx;
  284. }
  285. .map-side-column--right-sub {
  286. right: 24rpx;
  287. }
  288. .map-side-button {
  289. width: 78rpx;
  290. height: 78rpx;
  291. border-radius: 22rpx;
  292. background: rgba(248, 251, 244, 0.96);
  293. box-shadow: 0 10rpx 26rpx rgba(22, 48, 32, 0.14);
  294. display: flex;
  295. align-items: center;
  296. justify-content: center;
  297. box-sizing: border-box;
  298. }
  299. .map-side-button--default {
  300. background: rgba(248, 251, 244, 0.96);
  301. }
  302. .map-side-button--icon {
  303. width: 90rpx;
  304. height: 90rpx;
  305. padding: 0;
  306. background: transparent;
  307. box-shadow: none;
  308. border-radius: 0;
  309. }
  310. .map-side-button__image {
  311. width: 100%;
  312. height: 100%;
  313. }
  314. .map-side-button__rotate-image {
  315. width: 100%;
  316. height: 100%;
  317. border-radius: 16rpx;
  318. box-sizing: border-box;
  319. }
  320. .map-side-button__rotate-image--active {
  321. border: 1px solid rgba(231, 54, 33, 0.98);
  322. }
  323. .map-side-button--muted {
  324. background: rgba(229, 233, 230, 0.92);
  325. }
  326. .map-side-button--muted .map-side-button__action-image {
  327. opacity: 0.46;
  328. filter: grayscale(1);
  329. }
  330. .map-side-button--active {
  331. background: rgba(255, 226, 88, 0.98);
  332. box-shadow: 0 0 0 4rpx rgba(255, 241, 158, 0.18), 0 12rpx 28rpx rgba(120, 89, 0, 0.2);
  333. }
  334. .map-side-button__text {
  335. font-size: 18rpx;
  336. line-height: 1.1;
  337. font-weight: 700;
  338. color: #163020;
  339. text-align: center;
  340. letter-spacing: 1rpx;
  341. }
  342. .map-side-button__action-image {
  343. width: 100%;
  344. height: 100%;
  345. border-radius: 22rpx;
  346. }
  347. .map-side-button--active .map-side-button__action-image {
  348. opacity: 1;
  349. }
  350. .compass-widget {
  351. display: flex;
  352. flex-direction: column;
  353. align-items: center;
  354. gap: 6rpx;
  355. flex-shrink: 0;
  356. position: relative;
  357. z-index: 20;
  358. }
  359. .compass-widget__heading-wrap {
  360. display: flex;
  361. flex-direction: column;
  362. align-items: center;
  363. gap: 0;
  364. position: relative;
  365. z-index: 21;
  366. }
  367. .compass-widget__heading {
  368. min-width: 96rpx;
  369. padding: 6rpx 12rpx;
  370. font-size: 20rpx;
  371. line-height: 1;
  372. font-weight: 600;
  373. color: rgba(32, 42, 34, 0.72);
  374. text-shadow: 0 1rpx 0 rgba(255, 255, 255, 0.35);
  375. text-align: center;
  376. }
  377. .compass-widget__edge-arrow-wrap {
  378. display: flex;
  379. align-items: center;
  380. justify-content: center;
  381. width: 40rpx;
  382. height: 20rpx;
  383. margin-top: -2rpx;
  384. margin-bottom: -4rpx;
  385. }
  386. .compass-widget__dial {
  387. position: relative;
  388. width: 196rpx;
  389. height: 196rpx;
  390. border-radius: 50%;
  391. 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%);
  392. border: 2rpx solid rgba(18, 24, 18, 0.48);
  393. box-shadow: 0 6rpx 14rpx rgba(0, 0, 0, 0.14), inset 0 0 0 2rpx rgba(255, 255, 255, 0.24);
  394. overflow: hidden;
  395. }
  396. .compass-widget__dial--active {
  397. border-color: rgba(250, 252, 187, 0.98);
  398. 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);
  399. }
  400. .compass-widget__glass,
  401. .compass-widget__inner-shadow {
  402. position: absolute;
  403. inset: 0;
  404. border-radius: 50%;
  405. pointer-events: none;
  406. }
  407. .compass-widget__glass {
  408. 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%);
  409. }
  410. .compass-widget__inner-shadow {
  411. box-shadow: inset 0 0 0 12rpx rgba(0, 0, 0, 0.07), inset 0 0 18rpx rgba(255, 255, 255, 0.22);
  412. }
  413. .compass-widget__card {
  414. position: absolute;
  415. inset: 0;
  416. transform-origin: center;
  417. }
  418. .compass-widget__north-arrow {
  419. position: absolute;
  420. left: 50%;
  421. top: 50%;
  422. width: 54rpx;
  423. height: 176rpx;
  424. transform: translate(-50%, -52%);
  425. display: block;
  426. pointer-events: none;
  427. z-index: 1;
  428. opacity: 0.42;
  429. }
  430. .compass-widget__north-arrow-outline,
  431. .compass-widget__north-arrow-fill,
  432. .compass-widget__north-arrow-tail-outline,
  433. .compass-widget__north-arrow-tail-fill {
  434. display: none;
  435. }
  436. .compass-widget__tick-anchor,
  437. .compass-widget__mark-anchor,
  438. .compass-widget__needle-anchor {
  439. position: absolute;
  440. left: 50%;
  441. top: 50%;
  442. }
  443. .compass-widget__tick {
  444. position: absolute;
  445. left: 50%;
  446. top: 50%;
  447. width: 2rpx;
  448. border-radius: 999rpx;
  449. transform: translate(-50%, -90rpx);
  450. background: rgba(28, 33, 28, 0.72);
  451. }
  452. .compass-widget__tick--short {
  453. height: 8rpx;
  454. }
  455. .compass-widget__tick--long {
  456. height: 12rpx;
  457. }
  458. .compass-widget__tick--major {
  459. width: 3rpx;
  460. height: 18rpx;
  461. background: rgba(18, 22, 18, 0.88);
  462. }
  463. .compass-widget__mark {
  464. position: absolute;
  465. left: 50%;
  466. top: 50%;
  467. line-height: 1;
  468. color: rgba(40, 42, 37, 0.88);
  469. text-shadow: 0 1rpx 0 rgba(255, 255, 255, 0.22);
  470. white-space: nowrap;
  471. transform-origin: center;
  472. }
  473. .compass-widget__mark--cardinal {
  474. font-size: 26rpx;
  475. font-weight: 700;
  476. }
  477. .compass-widget__mark--intermediate {
  478. font-size: 14rpx;
  479. font-weight: 600;
  480. }
  481. .compass-widget__mark--north {
  482. color: #d62323;
  483. }
  484. .compass-widget__mark--northeast,
  485. .compass-widget__mark--northwest {
  486. color: #577347;
  487. }
  488. .compass-widget__needle-anchor {
  489. width: 0;
  490. height: 0;
  491. }
  492. .compass-widget__needle-north,
  493. .compass-widget__needle-south {
  494. position: absolute;
  495. left: 50%;
  496. top: 50%;
  497. }
  498. .compass-widget__needle-north {
  499. width: 0;
  500. height: 0;
  501. border-left: 8rpx solid transparent;
  502. border-right: 8rpx solid transparent;
  503. border-bottom: 64rpx solid #ef2f2f;
  504. transform: translate(-50%, -74rpx);
  505. filter: drop-shadow(0 2rpx 3rpx rgba(96, 0, 0, 0.24));
  506. }
  507. .compass-widget__needle-south {
  508. width: 7rpx;
  509. height: 72rpx;
  510. border-radius: 999rpx;
  511. background: linear-gradient(180deg, rgba(236, 238, 232, 0.98) 0%, rgba(146, 151, 143, 0.98) 100%);
  512. transform: translate(-50%, 2rpx);
  513. box-shadow: 0 1rpx 3rpx rgba(32, 34, 31, 0.18);
  514. }
  515. .compass-widget__hub {
  516. position: absolute;
  517. left: 50%;
  518. top: 50%;
  519. width: 26rpx;
  520. height: 26rpx;
  521. transform: translate(-50%, -52%);
  522. border-radius: 50%;
  523. background: radial-gradient(circle at 34% 32%, #f4f3e7 0%, #d7d2bd 40%, #928b78 72%, #5a554b 100%);
  524. box-shadow: inset 0 0 0 2rpx rgba(255, 255, 255, 0.32), 0 2rpx 5rpx rgba(0, 0, 0, 0.16);
  525. }
  526. .compass-widget__hub-core {
  527. position: absolute;
  528. left: 50%;
  529. top: 50%;
  530. width: 10rpx;
  531. height: 10rpx;
  532. transform: translate(-50%, -52%);
  533. border-radius: 50%;
  534. background: rgba(173, 170, 156, 0.92);
  535. box-shadow: inset 0 0 0 2rpx rgba(255, 255, 255, 0.2);
  536. }
  537. .compass-widget__edge-arrow {
  538. width: 0;
  539. height: 0;
  540. border-left: 8rpx solid transparent;
  541. border-right: 8rpx solid transparent;
  542. border-top: 14rpx solid rgba(58, 49, 37, 0.72);
  543. filter: drop-shadow(0 1rpx 1rpx rgba(255, 255, 255, 0.18));
  544. }
  545. .compass-widget__hint {
  546. max-width: 196rpx;
  547. padding: 4rpx 10rpx;
  548. border-radius: 999rpx;
  549. background: rgba(219, 238, 212, 0.94);
  550. font-size: 16rpx;
  551. line-height: 1.3;
  552. color: #d62828;
  553. text-align: center;
  554. font-weight: 700;
  555. text-shadow: 0 1rpx 0 rgba(255, 255, 255, 0.24);
  556. box-shadow: 0 2rpx 8rpx rgba(22, 48, 32, 0.08);
  557. }
  558. .race-panel-swiper {
  559. position: absolute;
  560. left: 0;
  561. right: 0;
  562. bottom: 0;
  563. height: 216rpx;
  564. z-index: 15;
  565. }
  566. .race-panel {
  567. position: relative;
  568. height: 100%;
  569. background: linear-gradient(180deg, #1d8fd2 0%, #197dba 100%);
  570. box-shadow: 0 -10rpx 24rpx rgba(18, 101, 150, 0.2);
  571. overflow: hidden;
  572. }
  573. .race-panel--tone-blue {
  574. background: linear-gradient(180deg, #1d8fd2 0%, #197dba 100%);
  575. box-shadow: 0 -10rpx 24rpx rgba(18, 101, 150, 0.22);
  576. }
  577. .race-panel--tone-purple {
  578. background: linear-gradient(180deg, #5317d4 0%, #4310b7 100%);
  579. box-shadow: 0 -10rpx 24rpx rgba(58, 16, 145, 0.24);
  580. }
  581. .race-panel--tone-green {
  582. background: linear-gradient(180deg, #08c805 0%, #05ab03 100%);
  583. box-shadow: 0 -10rpx 24rpx rgba(6, 112, 9, 0.24);
  584. }
  585. .race-panel--tone-yellow {
  586. background: linear-gradient(180deg, #ffbf1f 0%, #ffad0f 100%);
  587. box-shadow: 0 -10rpx 24rpx rgba(163, 105, 0, 0.24);
  588. }
  589. .race-panel--tone-yellow .race-panel__cell,
  590. .race-panel--tone-yellow .race-panel__tag,
  591. .race-panel--tone-orange .race-panel__tag,
  592. .race-panel--tone-red .race-panel__tag {
  593. color: #fff;
  594. }
  595. .race-panel--tone-orange {
  596. background: linear-gradient(180deg, #ff7b12 0%, #ff6500 100%);
  597. box-shadow: 0 -10rpx 24rpx rgba(156, 68, 0, 0.26);
  598. }
  599. .race-panel--tone-red {
  600. background: linear-gradient(180deg, #e1122c 0%, #c90e27 100%);
  601. box-shadow: 0 -10rpx 24rpx rgba(141, 16, 38, 0.28);
  602. }
  603. @keyframes app-edge-breathe-orange {
  604. 0%,
  605. 100% {
  606. box-shadow:
  607. inset 0 0 22rpx 6rpx rgba(255, 123, 18, 0.12),
  608. inset 0 0 54rpx 14rpx rgba(255, 148, 46, 0.06);
  609. }
  610. 50% {
  611. box-shadow:
  612. inset 0 0 34rpx 12rpx rgba(255, 133, 36, 0.24),
  613. inset 0 0 78rpx 24rpx rgba(255, 160, 78, 0.12);
  614. }
  615. }
  616. @keyframes app-edge-breathe-red {
  617. 0%,
  618. 100% {
  619. box-shadow:
  620. inset 0 0 24rpx 7rpx rgba(225, 18, 44, 0.14),
  621. inset 0 0 58rpx 16rpx rgba(233, 44, 67, 0.07);
  622. }
  623. 50% {
  624. box-shadow:
  625. inset 0 0 38rpx 14rpx rgba(233, 44, 67, 0.28),
  626. inset 0 0 86rpx 26rpx rgba(241, 82, 104, 0.14);
  627. }
  628. }
  629. .race-panel-pager {
  630. position: absolute;
  631. left: 50%;
  632. bottom: 18rpx;
  633. transform: translateX(-50%);
  634. display: flex;
  635. align-items: center;
  636. gap: 10rpx;
  637. z-index: 16;
  638. pointer-events: none;
  639. }
  640. .race-panel-pager__dot {
  641. width: 12rpx;
  642. height: 12rpx;
  643. border-radius: 50%;
  644. background: rgba(255, 255, 255, 0.35);
  645. box-shadow: 0 0 0 2rpx rgba(255, 255, 255, 0.08);
  646. }
  647. .race-panel-pager__dot--active {
  648. background: rgba(255, 255, 255, 0.92);
  649. box-shadow: 0 0 0 4rpx rgba(255, 255, 255, 0.12);
  650. }
  651. .race-panel__grid {
  652. position: relative;
  653. z-index: 2;
  654. display: grid;
  655. grid-template-columns: 1fr 1fr 1fr;
  656. grid-template-rows: 1fr 1fr;
  657. width: 100%;
  658. height: 100%;
  659. }
  660. .race-panel__cell {
  661. position: relative;
  662. display: flex;
  663. align-items: center;
  664. justify-content: center;
  665. color: #ffffff;
  666. box-sizing: border-box;
  667. }
  668. .race-panel__cell--action,
  669. .race-panel__cell--timer,
  670. .race-panel__cell--mileage {
  671. padding-top: 10rpx;
  672. }
  673. .race-panel__cell--distance,
  674. .race-panel__cell--progress,
  675. .race-panel__cell--speed {
  676. padding-top: 2rpx;
  677. }
  678. .race-panel__cell--action {
  679. justify-content: center;
  680. padding-left: 0;
  681. }
  682. .race-panel__cell--timer {
  683. padding-left: 0;
  684. padding-right: 0;
  685. }
  686. .race-panel__cell--mileage {
  687. justify-content: center;
  688. padding-right: 0;
  689. }
  690. .race-panel__cell--distance {
  691. justify-content: center;
  692. padding-left: 0;
  693. }
  694. .race-panel__cell--progress {
  695. padding-left: 0;
  696. padding-right: 0;
  697. }
  698. .race-panel__cell--speed {
  699. justify-content: center;
  700. padding-right: 0;
  701. }
  702. .race-panel__play {
  703. width: 0;
  704. height: 0;
  705. margin-left: 2rpx;
  706. border-top: 20rpx solid transparent;
  707. border-bottom: 20rpx solid transparent;
  708. border-left: 30rpx solid #ffffff;
  709. filter: drop-shadow(0 2rpx 0 rgba(255, 255, 255, 0.25));
  710. transform: translateX(16rpx);
  711. }
  712. .race-panel__timer {
  713. max-width: 100%;
  714. box-sizing: border-box;
  715. font-size: 50rpx;
  716. line-height: 1;
  717. letter-spacing: 2rpx;
  718. font-family: 'Courier New', monospace;
  719. text-shadow: 0 2rpx 0 rgba(255, 255, 255, 0.2);
  720. }
  721. .race-panel__mileage {
  722. max-width: 100%;
  723. box-sizing: border-box;
  724. font-size: 40rpx;
  725. line-height: 1;
  726. font-weight: 300;
  727. text-shadow: 0 2rpx 0 rgba(255, 255, 255, 0.16);
  728. }
  729. .race-panel__mileage-wrap {
  730. display: flex;
  731. align-items: center;
  732. justify-content: center;
  733. gap: 10rpx;
  734. transform: translateX(-16rpx);
  735. }
  736. .race-panel__metric-group {
  737. max-width: 100%;
  738. box-sizing: border-box;
  739. display: flex;
  740. align-items: baseline;
  741. color: #ffffff;
  742. }
  743. .race-panel__metric-group--left {
  744. justify-content: center;
  745. transform: translateX(16rpx);
  746. }
  747. .race-panel__metric-group--right {
  748. justify-content: center;
  749. transform: translateX(-16rpx);
  750. }
  751. .race-panel__metric-value {
  752. line-height: 1;
  753. text-shadow: 0 2rpx 0 rgba(255, 255, 255, 0.16);
  754. }
  755. .race-panel__metric-value--distance {
  756. font-size: 54rpx;
  757. font-weight: 700;
  758. }
  759. .race-panel__metric-value--speed {
  760. font-size: 48rpx;
  761. font-weight: 400;
  762. }
  763. .race-panel__metric-value--telemetry {
  764. font-size: 46rpx;
  765. font-weight: 600;
  766. }
  767. .race-panel__metric-value--telemetry-secondary {
  768. font-size: 42rpx;
  769. font-weight: 500;
  770. }
  771. .race-panel__metric-unit {
  772. line-height: 1;
  773. margin-left: 6rpx;
  774. opacity: 0.95;
  775. }
  776. .race-panel__metric-unit--distance {
  777. font-size: 24rpx;
  778. font-weight: 600;
  779. }
  780. .race-panel__metric-unit--speed {
  781. font-size: 18rpx;
  782. font-weight: 500;
  783. }
  784. .race-panel__metric-unit--telemetry {
  785. font-size: 18rpx;
  786. font-weight: 600;
  787. }
  788. .race-panel__progress {
  789. max-width: 100%;
  790. box-sizing: border-box;
  791. font-size: 50rpx;
  792. line-height: 1;
  793. font-weight: 400;
  794. text-shadow: 0 2rpx 0 rgba(255, 255, 255, 0.16);
  795. }
  796. .race-panel__zone {
  797. display: flex;
  798. flex-direction: column;
  799. align-items: center;
  800. justify-content: center;
  801. gap: 6rpx;
  802. max-width: calc(100% - 12rpx);
  803. text-align: center;
  804. }
  805. .race-panel__zone-name {
  806. font-size: 32rpx;
  807. line-height: 1.08;
  808. font-weight: 700;
  809. color: #ffffff;
  810. text-shadow: 0 2rpx 0 rgba(255, 255, 255, 0.14);
  811. }
  812. .race-panel__zone-range {
  813. font-size: 20rpx;
  814. line-height: 1;
  815. color: rgba(255, 255, 255, 0.86);
  816. letter-spacing: 1rpx;
  817. }
  818. .race-panel__tag {
  819. position: absolute;
  820. z-index: 3;
  821. min-width: 56rpx;
  822. height: 32rpx;
  823. padding: 0 10rpx;
  824. background: #000000;
  825. color: #ffffff;
  826. font-size: 16rpx;
  827. line-height: 32rpx;
  828. text-align: center;
  829. letter-spacing: 2rpx;
  830. }
  831. .race-panel__tag--top-left {
  832. top: 0;
  833. left: 0;
  834. }
  835. .race-panel__tag--top-right {
  836. top: 0;
  837. right: 0;
  838. }
  839. .race-panel__tag--bottom-left {
  840. left: 0;
  841. bottom: 0;
  842. }
  843. .race-panel__tag--bottom-right {
  844. right: 0;
  845. bottom: 0;
  846. }
  847. .map-punch-button {
  848. position: absolute;
  849. right: 24rpx;
  850. bottom: 244rpx;
  851. width: 92rpx;
  852. height: 92rpx;
  853. border-radius: 50%;
  854. background: rgba(78, 92, 106, 0.82);
  855. box-shadow: 0 12rpx 28rpx rgba(22, 34, 46, 0.22), inset 0 0 0 2rpx rgba(255, 255, 255, 0.08);
  856. z-index: 18;
  857. }
  858. .map-punch-button__text {
  859. font-size: 20rpx;
  860. line-height: 92rpx;
  861. font-weight: 800;
  862. text-align: center;
  863. color: rgba(236, 241, 246, 0.88);
  864. }
  865. .map-punch-button--active {
  866. background: rgba(92, 255, 237, 0.96);
  867. box-shadow: 0 0 0 5rpx rgba(149, 255, 244, 0.18), 0 0 30rpx rgba(92, 255, 237, 0.5);
  868. animation: punch-button-ready 1s ease-in-out infinite;
  869. }
  870. .map-punch-button--active .map-punch-button__text {
  871. color: #064d46;
  872. }
  873. .map-punch-button--fx-ready-a,
  874. .map-punch-button--fx-ready-b {
  875. animation: punch-button-burst 0.92s ease-out 1;
  876. }
  877. .map-punch-button--fx-warning-a,
  878. .map-punch-button--fx-warning-b {
  879. animation: punch-button-warning 0.56s ease-in-out 1;
  880. }
  881. .race-panel__line {
  882. position: absolute;
  883. z-index: 1;
  884. height: 2rpx;
  885. box-shadow: 0 0 6rpx rgba(255, 255, 255, 0.2);
  886. }
  887. .race-panel__line--center {
  888. left: 33.3333%;
  889. right: 33.3333%;
  890. top: 50%;
  891. transform: translateY(-50%);
  892. background: rgba(255, 255, 255, 0.86);
  893. }
  894. .race-panel__line--left-mid {
  895. left: 0;
  896. width: 33.3333%;
  897. top: 50%;
  898. transform: translateY(-50%);
  899. background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.78) 100%);
  900. }
  901. .race-panel__line--right-mid {
  902. right: 0;
  903. width: 33.3333%;
  904. top: 50%;
  905. transform: translateY(-50%);
  906. background: linear-gradient(90deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.08) 100%);
  907. }
  908. .race-panel__line--left-top,
  909. .race-panel__line--left-bottom,
  910. .race-panel__line--right-top,
  911. .race-panel__line--right-bottom {
  912. width: 23%;
  913. top: 50%;
  914. }
  915. .race-panel__line--left-top {
  916. right: 66.6667%;
  917. transform-origin: right center;
  918. transform: translateY(-50%) rotate(70deg);
  919. background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.82) 100%);
  920. }
  921. .race-panel__line--left-bottom {
  922. right: 66.6667%;
  923. transform-origin: right center;
  924. transform: translateY(-50%) rotate(-70deg);
  925. background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.82) 100%);
  926. }
  927. .race-panel__line--right-top {
  928. left: 66.6667%;
  929. transform-origin: left center;
  930. transform: translateY(-50%) rotate(-70deg);
  931. background: linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.08) 100%);
  932. }
  933. .race-panel__line--right-bottom {
  934. left: 66.6667%;
  935. transform-origin: left center;
  936. transform: translateY(-50%) rotate(70deg);
  937. background: linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.08) 100%);
  938. }
  939. .race-panel__chevrons {
  940. position: relative;
  941. width: 24rpx;
  942. height: 24rpx;
  943. opacity: 0.5;
  944. flex-shrink: 0;
  945. }
  946. .race-panel__chevron {
  947. position: absolute;
  948. right: 6rpx;
  949. top: 50%;
  950. width: 10rpx;
  951. height: 10rpx;
  952. border-top: 3rpx solid rgba(255, 255, 255, 0.78);
  953. border-right: 3rpx solid rgba(255, 255, 255, 0.78);
  954. transform: translateY(-50%) rotate(45deg);
  955. }
  956. .race-panel__chevron--offset {
  957. right: 0;
  958. }
  959. .game-info-modal {
  960. position: absolute;
  961. inset: 0;
  962. display: flex;
  963. align-items: flex-end;
  964. justify-content: center;
  965. padding: 0 20rpx 28rpx;
  966. box-sizing: border-box;
  967. background: rgba(7, 18, 12, 0.34);
  968. z-index: 31;
  969. }
  970. .game-info-modal__dialog {
  971. width: 100%;
  972. max-height: 72vh;
  973. border-radius: 36rpx;
  974. background: rgba(248, 251, 244, 0.98);
  975. box-shadow: 0 20rpx 60rpx rgba(7, 18, 12, 0.24);
  976. overflow: hidden;
  977. }
  978. .game-info-modal__header {
  979. display: flex;
  980. align-items: center;
  981. justify-content: space-between;
  982. gap: 24rpx;
  983. padding: 22rpx 28rpx 18rpx;
  984. border-bottom: 1rpx solid rgba(22, 48, 32, 0.08);
  985. }
  986. .game-info-modal__header-main {
  987. flex: 1;
  988. min-width: 0;
  989. }
  990. .game-info-modal__header-actions {
  991. flex-shrink: 0;
  992. display: flex;
  993. align-items: center;
  994. justify-content: flex-end;
  995. }
  996. .game-info-modal__eyebrow {
  997. font-size: 22rpx;
  998. font-weight: 800;
  999. letter-spacing: 4rpx;
  1000. color: #5f7a65;
  1001. line-height: 1;
  1002. }
  1003. .game-info-modal__title {
  1004. margin-top: 12rpx;
  1005. font-size: 42rpx;
  1006. line-height: 1.08;
  1007. font-weight: 700;
  1008. color: #163020;
  1009. }
  1010. .game-info-modal__subtitle {
  1011. margin-top: 10rpx;
  1012. font-size: 22rpx;
  1013. line-height: 1.3;
  1014. color: #5f7a65;
  1015. }
  1016. .game-info-modal__close {
  1017. flex-shrink: 0;
  1018. min-width: 108rpx;
  1019. padding: 14rpx 22rpx;
  1020. border-radius: 999rpx;
  1021. background: #163020;
  1022. color: #f7fbf2;
  1023. font-size: 24rpx;
  1024. text-align: center;
  1025. }
  1026. .game-info-modal__content {
  1027. max-height: calc(72vh - 132rpx);
  1028. padding: 12rpx 24rpx 30rpx;
  1029. box-sizing: border-box;
  1030. }
  1031. .debug-section--info {
  1032. margin-top: 14rpx;
  1033. }
  1034. .debug-modal {
  1035. position: absolute;
  1036. inset: 0;
  1037. display: flex;
  1038. align-items: flex-end;
  1039. justify-content: center;
  1040. padding: 0 20rpx 28rpx;
  1041. box-sizing: border-box;
  1042. background: rgba(7, 18, 12, 0.34);
  1043. z-index: 30;
  1044. }
  1045. .debug-modal__dialog {
  1046. width: 100%;
  1047. max-height: 72vh;
  1048. border-radius: 36rpx;
  1049. background: rgba(248, 251, 244, 0.98);
  1050. box-shadow: 0 20rpx 60rpx rgba(7, 18, 12, 0.24);
  1051. overflow: hidden;
  1052. }
  1053. .debug-modal__header {
  1054. display: flex;
  1055. align-items: center;
  1056. justify-content: space-between;
  1057. gap: 24rpx;
  1058. padding: 22rpx 28rpx 18rpx;
  1059. border-bottom: 1rpx solid rgba(22, 48, 32, 0.08);
  1060. }
  1061. .debug-modal__header-main {
  1062. flex: 1;
  1063. min-width: 0;
  1064. }
  1065. .debug-modal__header-actions {
  1066. flex-shrink: 0;
  1067. display: flex;
  1068. align-items: center;
  1069. justify-content: flex-end;
  1070. }
  1071. .debug-modal__eyebrow {
  1072. font-size: 22rpx;
  1073. font-weight: 800;
  1074. letter-spacing: 4rpx;
  1075. color: #5f7a65;
  1076. line-height: 1;
  1077. flex-shrink: 0;
  1078. }
  1079. .debug-modal__build {
  1080. margin-top: 10rpx;
  1081. display: inline-flex;
  1082. padding: 8rpx 14rpx;
  1083. border-radius: 999rpx;
  1084. background: rgba(22, 48, 32, 0.08);
  1085. color: #45624b;
  1086. font-size: 20rpx;
  1087. line-height: 1;
  1088. letter-spacing: 1rpx;
  1089. flex-shrink: 0;
  1090. }
  1091. .debug-modal__close {
  1092. flex-shrink: 0;
  1093. min-width: 108rpx;
  1094. padding: 14rpx 22rpx;
  1095. border-radius: 999rpx;
  1096. background: #163020;
  1097. color: #f7fbf2;
  1098. font-size: 24rpx;
  1099. text-align: center;
  1100. }
  1101. .debug-modal__content {
  1102. max-height: calc(72vh - 108rpx);
  1103. padding: 12rpx 24rpx 30rpx;
  1104. box-sizing: border-box;
  1105. }
  1106. .debug-section {
  1107. margin-top: 16rpx;
  1108. padding: 18rpx 20rpx 22rpx;
  1109. border-radius: 24rpx;
  1110. background: rgba(242, 247, 239, 0.98);
  1111. box-shadow: inset 0 0 0 1rpx rgba(22, 48, 32, 0.05);
  1112. }
  1113. .debug-section:first-child {
  1114. margin-top: 0;
  1115. }
  1116. .debug-section__header {
  1117. margin-bottom: 12rpx;
  1118. }
  1119. .debug-section__title {
  1120. font-size: 24rpx;
  1121. line-height: 1.2;
  1122. font-weight: 800;
  1123. letter-spacing: 2rpx;
  1124. color: #163020;
  1125. text-transform: uppercase;
  1126. }
  1127. .debug-section__desc {
  1128. margin-top: 6rpx;
  1129. font-size: 20rpx;
  1130. line-height: 1.45;
  1131. color: #6a826f;
  1132. }
  1133. .info-panel__row {
  1134. display: flex;
  1135. align-items: flex-start;
  1136. justify-content: space-between;
  1137. gap: 24rpx;
  1138. padding: 10rpx 0;
  1139. border-bottom: 1rpx solid rgba(22, 48, 32, 0.08);
  1140. }
  1141. .info-panel__row--stack {
  1142. align-items: flex-start;
  1143. }
  1144. .info-panel__row:last-of-type {
  1145. border-bottom: none;
  1146. }
  1147. .info-panel__label {
  1148. width: 148rpx;
  1149. flex-shrink: 0;
  1150. font-size: 22rpx;
  1151. letter-spacing: 2rpx;
  1152. color: #5f7a65;
  1153. text-align: left;
  1154. text-transform: uppercase;
  1155. }
  1156. .info-panel__value {
  1157. flex: 1;
  1158. min-width: 0;
  1159. font-size: 25rpx;
  1160. line-height: 1.45;
  1161. color: #163020;
  1162. text-align: right;
  1163. word-break: break-all;
  1164. }
  1165. .info-panel__row--stack .info-panel__value {
  1166. margin-top: 0;
  1167. text-align: right;
  1168. color: #45624b;
  1169. }
  1170. .debug-input {
  1171. flex: 1;
  1172. min-height: 72rpx;
  1173. padding: 0 22rpx;
  1174. border-radius: 18rpx;
  1175. background: rgba(255, 255, 255, 0.92);
  1176. box-shadow: inset 0 0 0 2rpx rgba(22, 48, 32, 0.08);
  1177. font-size: 24rpx;
  1178. color: #244132;
  1179. text-align: left;
  1180. }
  1181. .debug-inline-stack {
  1182. flex: 1;
  1183. display: flex;
  1184. flex-direction: column;
  1185. gap: 14rpx;
  1186. }
  1187. .debug-device-list {
  1188. display: flex;
  1189. flex-direction: column;
  1190. gap: 12rpx;
  1191. margin-top: 16rpx;
  1192. }
  1193. .debug-device-card {
  1194. display: flex;
  1195. align-items: center;
  1196. justify-content: space-between;
  1197. gap: 16rpx;
  1198. padding: 16rpx 18rpx;
  1199. border-radius: 18rpx;
  1200. background: rgba(255, 255, 255, 0.82);
  1201. box-shadow: inset 0 0 0 2rpx rgba(22, 48, 32, 0.06);
  1202. }
  1203. .debug-device-card__main {
  1204. flex: 1;
  1205. min-width: 0;
  1206. }
  1207. .debug-device-card__title-row {
  1208. display: flex;
  1209. align-items: center;
  1210. gap: 10rpx;
  1211. }
  1212. .debug-device-card__name {
  1213. flex: 1;
  1214. min-width: 0;
  1215. font-size: 24rpx;
  1216. line-height: 1.3;
  1217. font-weight: 700;
  1218. color: #163020;
  1219. word-break: break-all;
  1220. }
  1221. .debug-device-card__badge {
  1222. flex-shrink: 0;
  1223. padding: 4rpx 10rpx;
  1224. border-radius: 999rpx;
  1225. background: rgba(45, 106, 79, 0.14);
  1226. color: #2d6a4f;
  1227. font-size: 18rpx;
  1228. line-height: 1;
  1229. font-weight: 700;
  1230. }
  1231. .debug-device-card__meta {
  1232. margin-top: 8rpx;
  1233. font-size: 20rpx;
  1234. line-height: 1.2;
  1235. color: #6a826f;
  1236. }
  1237. .debug-device-card__action {
  1238. flex-shrink: 0;
  1239. min-width: 96rpx;
  1240. padding: 16rpx 18rpx;
  1241. border-radius: 999rpx;
  1242. background: #eef6ea;
  1243. color: #2d6a4f;
  1244. font-size: 22rpx;
  1245. line-height: 1;
  1246. text-align: center;
  1247. font-weight: 700;
  1248. }
  1249. .debug-device-card__action--active {
  1250. background: #2d6a4f;
  1251. color: #f7fbf2;
  1252. }
  1253. .control-row {
  1254. display: flex;
  1255. gap: 14rpx;
  1256. margin-top: 18rpx;
  1257. }
  1258. .control-row--compact {
  1259. margin-top: 0;
  1260. }
  1261. .control-row--compact .control-chip {
  1262. padding: 16rpx 10rpx;
  1263. font-size: 22rpx;
  1264. }
  1265. .control-row--single .control-chip {
  1266. flex: none;
  1267. width: 100%;
  1268. }
  1269. .debug-section .control-row:last-child {
  1270. margin-bottom: 0;
  1271. }
  1272. .control-row--triple .control-chip {
  1273. font-size: 23rpx;
  1274. }
  1275. .control-chip {
  1276. flex: 1;
  1277. min-width: 0;
  1278. padding: 20rpx 16rpx;
  1279. border-radius: 999rpx;
  1280. background: #d7e8da;
  1281. color: #163020;
  1282. font-size: 26rpx;
  1283. text-align: center;
  1284. box-sizing: border-box;
  1285. }
  1286. .control-chip--primary {
  1287. background: #2d6a4f;
  1288. color: #f7fbf2;
  1289. }
  1290. .control-chip--secondary {
  1291. background: #eef6ea;
  1292. color: #45624b;
  1293. }
  1294. .control-chip--active {
  1295. background: #2d6a4f;
  1296. color: #f7fbf2;
  1297. }
  1298. .race-panel__cell--action {
  1299. justify-content: flex-start;
  1300. padding-left: 44rpx;
  1301. }
  1302. .race-panel__cell--timer {
  1303. padding-left: 12rpx;
  1304. padding-right: 12rpx;
  1305. }
  1306. .race-panel__cell--mileage {
  1307. justify-content: flex-end;
  1308. padding-right: 56rpx;
  1309. }
  1310. .race-panel__cell--distance {
  1311. justify-content: flex-start;
  1312. padding-left: 28rpx;
  1313. }
  1314. .race-panel__cell--progress {
  1315. padding-left: 8rpx;
  1316. padding-right: 8rpx;
  1317. }
  1318. .race-panel__cell--speed {
  1319. justify-content: flex-end;
  1320. padding-right: 32rpx;
  1321. }
  1322. .race-panel__timer,
  1323. .race-panel__progress,
  1324. .race-panel__mileage,
  1325. .race-panel__metric-group {
  1326. max-width: 100%;
  1327. box-sizing: border-box;
  1328. }
  1329. .race-panel__metric-group--panel {
  1330. max-width: calc(100% - 8rpx);
  1331. }
  1332. .game-punch-hint {
  1333. position: absolute;
  1334. left: 50%;
  1335. bottom: 280rpx;
  1336. transform: translateX(-50%);
  1337. max-width: 72vw;
  1338. padding: 14rpx 24rpx;
  1339. border-radius: 999rpx;
  1340. background: rgba(18, 33, 24, 0.78);
  1341. color: #f7fbf2;
  1342. font-size: 24rpx;
  1343. line-height: 1.2;
  1344. text-align: center;
  1345. z-index: 16;
  1346. pointer-events: none;
  1347. }
  1348. .game-punch-feedback {
  1349. position: absolute;
  1350. left: 50%;
  1351. top: 18%;
  1352. transform: translateX(-50%);
  1353. min-width: 240rpx;
  1354. padding: 20rpx 28rpx;
  1355. border-radius: 24rpx;
  1356. color: #ffffff;
  1357. font-size: 24rpx;
  1358. font-weight: 700;
  1359. text-align: center;
  1360. box-shadow: 0 16rpx 36rpx rgba(0, 0, 0, 0.18);
  1361. z-index: 17;
  1362. pointer-events: none;
  1363. }
  1364. .game-punch-feedback--neutral {
  1365. background: rgba(27, 109, 189, 0.92);
  1366. }
  1367. .game-punch-feedback--success {
  1368. background: rgba(37, 134, 88, 0.94);
  1369. }
  1370. .game-punch-feedback--warning {
  1371. background: rgba(196, 117, 18, 0.94);
  1372. }
  1373. .game-punch-feedback--fx-pop {
  1374. animation: feedback-toast-pop 0.42s ease-out;
  1375. }
  1376. .game-punch-feedback--fx-success {
  1377. animation: feedback-toast-success 0.58s ease-out;
  1378. }
  1379. .game-punch-feedback--fx-warning {
  1380. animation: feedback-toast-warning 0.56s ease-out;
  1381. }
  1382. .game-content-card {
  1383. position: absolute;
  1384. left: 50%;
  1385. top: 26%;
  1386. width: 440rpx;
  1387. max-width: calc(100vw - 72rpx);
  1388. transform: translateX(-50%);
  1389. padding: 28rpx 28rpx 24rpx;
  1390. border-radius: 28rpx;
  1391. background: rgba(248, 251, 244, 0.96);
  1392. box-shadow: 0 18rpx 48rpx rgba(22, 48, 32, 0.18);
  1393. box-sizing: border-box;
  1394. z-index: 17;
  1395. }
  1396. .game-content-card__title {
  1397. font-size: 34rpx;
  1398. line-height: 1.2;
  1399. font-weight: 700;
  1400. color: #163020;
  1401. }
  1402. .game-content-card__body {
  1403. margin-top: 12rpx;
  1404. font-size: 24rpx;
  1405. line-height: 1.5;
  1406. color: #45624b;
  1407. }
  1408. .game-content-card__hint {
  1409. margin-top: 16rpx;
  1410. font-size: 20rpx;
  1411. color: #809284;
  1412. }
  1413. .game-content-card--fx-pop {
  1414. animation: content-card-pop 0.5s cubic-bezier(0.18, 0.88, 0.2, 1);
  1415. }
  1416. .game-content-card--fx-finish {
  1417. animation: content-card-finish 0.68s cubic-bezier(0.18, 0.88, 0.2, 1);
  1418. }
  1419. .race-panel__action-button {
  1420. display: flex;
  1421. align-items: center;
  1422. justify-content: center;
  1423. min-width: 116rpx;
  1424. min-height: 72rpx;
  1425. padding: 0 20rpx;
  1426. border-radius: 999rpx;
  1427. background: rgba(78, 92, 106, 0.54);
  1428. border: 2rpx solid rgba(210, 220, 228, 0.18);
  1429. box-sizing: border-box;
  1430. box-shadow: inset 0 0 0 2rpx rgba(255, 255, 255, 0.06);
  1431. }
  1432. .race-panel__action-button--active {
  1433. background: rgba(255, 226, 88, 0.98);
  1434. border-color: rgba(255, 247, 194, 0.98);
  1435. box-shadow: 0 0 0 4rpx rgba(255, 241, 158, 0.18), 0 0 28rpx rgba(255, 239, 122, 0.42);
  1436. animation: punch-button-ready 1s ease-in-out infinite;
  1437. }
  1438. .race-panel__action-button-text {
  1439. font-size: 24rpx;
  1440. line-height: 1;
  1441. font-weight: 700;
  1442. color: rgba(236, 241, 246, 0.86);
  1443. }
  1444. .race-panel__action-button--active .race-panel__action-button-text {
  1445. color: #775000;
  1446. }
  1447. @keyframes punch-button-ready {
  1448. 0% {
  1449. transform: scale(1);
  1450. box-shadow: 0 0 0 0 rgba(255, 241, 158, 0.22), 0 0 18rpx rgba(255, 239, 122, 0.28);
  1451. }
  1452. 50% {
  1453. transform: scale(1.06);
  1454. box-shadow: 0 0 0 8rpx rgba(255, 241, 158, 0.08), 0 0 34rpx rgba(255, 239, 122, 0.52);
  1455. }
  1456. 100% {
  1457. transform: scale(1);
  1458. box-shadow: 0 0 0 0 rgba(255, 241, 158, 0.22), 0 0 18rpx rgba(255, 239, 122, 0.28);
  1459. }
  1460. }
  1461. @keyframes punch-button-burst {
  1462. 0% {
  1463. transform: scale(1);
  1464. box-shadow: 0 12rpx 28rpx rgba(22, 34, 46, 0.22);
  1465. }
  1466. 34% {
  1467. transform: scale(1.12);
  1468. box-shadow: 0 0 0 9rpx rgba(149, 255, 244, 0.18), 0 0 34rpx rgba(92, 255, 237, 0.58);
  1469. }
  1470. 100% {
  1471. transform: scale(1);
  1472. box-shadow: 0 12rpx 28rpx rgba(22, 34, 46, 0.22);
  1473. }
  1474. }
  1475. @keyframes punch-button-warning {
  1476. 0%, 100% {
  1477. transform: translateX(0);
  1478. }
  1479. 20% {
  1480. transform: translateX(-6rpx) scale(1.02);
  1481. }
  1482. 40% {
  1483. transform: translateX(6rpx) scale(1.04);
  1484. }
  1485. 60% {
  1486. transform: translateX(-4rpx) scale(1.02);
  1487. }
  1488. 80% {
  1489. transform: translateX(4rpx);
  1490. }
  1491. }
  1492. @keyframes feedback-toast-pop {
  1493. 0% {
  1494. opacity: 0;
  1495. transform: translateX(-50%) translateY(18rpx) scale(0.88);
  1496. }
  1497. 100% {
  1498. opacity: 1;
  1499. transform: translateX(-50%) translateY(0) scale(1);
  1500. }
  1501. }
  1502. @keyframes feedback-toast-success {
  1503. 0% {
  1504. opacity: 0;
  1505. transform: translateX(-50%) translateY(18rpx) scale(0.88);
  1506. }
  1507. 55% {
  1508. opacity: 1;
  1509. transform: translateX(-50%) translateY(-6rpx) scale(1.04);
  1510. }
  1511. 100% {
  1512. opacity: 1;
  1513. transform: translateX(-50%) translateY(0) scale(1);
  1514. }
  1515. }
  1516. @keyframes feedback-toast-warning {
  1517. 0% {
  1518. opacity: 0;
  1519. transform: translateX(-50%) translateY(12rpx) scale(0.92);
  1520. }
  1521. 30% {
  1522. opacity: 1;
  1523. transform: translateX(calc(-50% - 6rpx)) translateY(0) scale(1.02);
  1524. }
  1525. 60% {
  1526. transform: translateX(calc(-50% + 6rpx)) translateY(0) scale(1.02);
  1527. }
  1528. 100% {
  1529. opacity: 1;
  1530. transform: translateX(-50%) translateY(0) scale(1);
  1531. }
  1532. }
  1533. @keyframes content-card-pop {
  1534. 0% {
  1535. opacity: 0;
  1536. transform: translateX(-50%) translateY(30rpx) scale(0.92);
  1537. }
  1538. 100% {
  1539. opacity: 1;
  1540. transform: translateX(-50%) translateY(0) scale(1);
  1541. }
  1542. }
  1543. @keyframes content-card-finish {
  1544. 0% {
  1545. opacity: 0;
  1546. transform: translateX(-50%) translateY(34rpx) scale(0.9);
  1547. box-shadow: 0 18rpx 48rpx rgba(22, 48, 32, 0.18);
  1548. }
  1549. 45% {
  1550. opacity: 1;
  1551. transform: translateX(-50%) translateY(-6rpx) scale(1.03);
  1552. box-shadow: 0 0 0 6rpx rgba(255, 232, 147, 0.18), 0 22rpx 52rpx rgba(22, 48, 32, 0.2);
  1553. }
  1554. 100% {
  1555. opacity: 1;
  1556. transform: translateX(-50%) translateY(0) scale(1);
  1557. box-shadow: 0 18rpx 48rpx rgba(22, 48, 32, 0.18);
  1558. }
  1559. }
  1560. @keyframes map-pulse-control {
  1561. 0% {
  1562. opacity: 0.94;
  1563. transform: scale(0.28);
  1564. border: 6rpx solid rgba(92, 255, 237, 0.98);
  1565. box-shadow: 0 0 0 0 rgba(92, 255, 237, 0.42);
  1566. }
  1567. 70% {
  1568. opacity: 0.32;
  1569. transform: scale(3.4);
  1570. border: 4rpx solid rgba(92, 255, 237, 0.52);
  1571. box-shadow: 0 0 0 10rpx rgba(92, 255, 237, 0.08);
  1572. }
  1573. 100% {
  1574. opacity: 0;
  1575. transform: scale(4.1);
  1576. border: 2rpx solid rgba(92, 255, 237, 0);
  1577. box-shadow: 0 0 0 0 rgba(92, 255, 237, 0);
  1578. }
  1579. }
  1580. @keyframes map-pulse-ready {
  1581. 0% {
  1582. opacity: 0.92;
  1583. transform: scale(0.22);
  1584. border: 5rpx solid rgba(255, 248, 184, 0.98);
  1585. box-shadow: 0 0 0 0 rgba(255, 248, 184, 0.28);
  1586. }
  1587. 68% {
  1588. opacity: 0.22;
  1589. transform: scale(2.4);
  1590. border: 3rpx solid rgba(255, 248, 184, 0.46);
  1591. box-shadow: 0 0 0 8rpx rgba(255, 248, 184, 0.08);
  1592. }
  1593. 100% {
  1594. opacity: 0;
  1595. transform: scale(3);
  1596. border: 2rpx solid rgba(255, 248, 184, 0);
  1597. box-shadow: 0 0 0 0 rgba(255, 248, 184, 0);
  1598. }
  1599. }
  1600. @keyframes map-pulse-finish {
  1601. 0% {
  1602. opacity: 0.98;
  1603. transform: scale(0.24);
  1604. border: 6rpx solid rgba(255, 231, 117, 1);
  1605. box-shadow: 0 0 0 0 rgba(255, 231, 117, 0.46);
  1606. }
  1607. 48% {
  1608. opacity: 0.52;
  1609. transform: scale(3.8);
  1610. border: 4rpx solid rgba(255, 231, 117, 0.72);
  1611. box-shadow: 0 0 0 14rpx rgba(255, 231, 117, 0.14);
  1612. }
  1613. 100% {
  1614. opacity: 0;
  1615. transform: scale(4.8);
  1616. border: 2rpx solid rgba(255, 231, 117, 0);
  1617. box-shadow: 0 0 0 0 rgba(255, 231, 117, 0);
  1618. }
  1619. }
  1620. @keyframes stage-fx-finish {
  1621. 0% {
  1622. opacity: 0;
  1623. 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%);
  1624. backdrop-filter: brightness(1);
  1625. }
  1626. 24% {
  1627. opacity: 1;
  1628. 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%);
  1629. backdrop-filter: brightness(1.08);
  1630. }
  1631. 100% {
  1632. opacity: 0;
  1633. background: radial-gradient(circle at 50% 50%, rgba(255, 241, 168, 0) 0%, rgba(255, 241, 168, 0) 100%);
  1634. backdrop-filter: brightness(1);
  1635. }
  1636. }