map.wxss 40 KB

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