map.wxss 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941
  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. top: 0;
  1336. transform: translateX(-50%);
  1337. max-width: calc(100vw - 112rpx);
  1338. display: flex;
  1339. align-items: center;
  1340. gap: 12rpx;
  1341. padding: 14rpx 18rpx 14rpx 24rpx;
  1342. border-radius: 999rpx;
  1343. background: rgba(18, 33, 24, 0.78);
  1344. color: #f7fbf2;
  1345. font-size: 24rpx;
  1346. line-height: 1.2;
  1347. text-align: left;
  1348. z-index: 16;
  1349. pointer-events: auto;
  1350. }
  1351. .game-punch-hint__text {
  1352. flex: 1;
  1353. min-width: 0;
  1354. }
  1355. .game-punch-hint__close {
  1356. width: 40rpx;
  1357. height: 40rpx;
  1358. flex: 0 0 40rpx;
  1359. border-radius: 999rpx;
  1360. display: flex;
  1361. align-items: center;
  1362. justify-content: center;
  1363. color: rgba(247, 251, 242, 0.9);
  1364. font-size: 32rpx;
  1365. line-height: 1;
  1366. background: rgba(255, 255, 255, 0.08);
  1367. }
  1368. .game-punch-feedback {
  1369. position: absolute;
  1370. left: 50%;
  1371. top: 18%;
  1372. transform: translateX(-50%);
  1373. min-width: 240rpx;
  1374. padding: 20rpx 28rpx;
  1375. border-radius: 24rpx;
  1376. color: #ffffff;
  1377. font-size: 24rpx;
  1378. font-weight: 700;
  1379. text-align: center;
  1380. box-shadow: 0 16rpx 36rpx rgba(0, 0, 0, 0.18);
  1381. z-index: 17;
  1382. pointer-events: none;
  1383. }
  1384. .game-punch-feedback--neutral {
  1385. background: rgba(27, 109, 189, 0.92);
  1386. }
  1387. .game-punch-feedback--success {
  1388. background: rgba(37, 134, 88, 0.94);
  1389. }
  1390. .game-punch-feedback--warning {
  1391. background: rgba(196, 117, 18, 0.94);
  1392. }
  1393. .game-punch-feedback--fx-pop {
  1394. animation: feedback-toast-pop 0.42s ease-out;
  1395. }
  1396. .game-punch-feedback--fx-success {
  1397. animation: feedback-toast-success 0.58s ease-out;
  1398. }
  1399. .game-punch-feedback--fx-warning {
  1400. animation: feedback-toast-warning 0.56s ease-out;
  1401. }
  1402. .game-content-card {
  1403. position: absolute;
  1404. left: 50%;
  1405. top: 26%;
  1406. width: 440rpx;
  1407. max-width: calc(100vw - 72rpx);
  1408. transform: translateX(-50%);
  1409. padding: 28rpx 28rpx 24rpx;
  1410. border-radius: 28rpx;
  1411. background: rgba(248, 251, 244, 0.96);
  1412. box-shadow: 0 18rpx 48rpx rgba(22, 48, 32, 0.18);
  1413. box-sizing: border-box;
  1414. z-index: 17;
  1415. }
  1416. .game-content-card__title {
  1417. font-size: 34rpx;
  1418. line-height: 1.2;
  1419. font-weight: 700;
  1420. color: #163020;
  1421. }
  1422. .game-content-card__body {
  1423. margin-top: 12rpx;
  1424. font-size: 24rpx;
  1425. line-height: 1.5;
  1426. color: #45624b;
  1427. }
  1428. .game-content-card__hint {
  1429. margin-top: 16rpx;
  1430. font-size: 20rpx;
  1431. color: #809284;
  1432. }
  1433. .game-content-card--fx-pop {
  1434. animation: content-card-pop 0.5s cubic-bezier(0.18, 0.88, 0.2, 1);
  1435. }
  1436. .game-content-card--fx-finish {
  1437. animation: content-card-finish 0.68s cubic-bezier(0.18, 0.88, 0.2, 1);
  1438. }
  1439. .race-panel__action-button {
  1440. display: flex;
  1441. align-items: center;
  1442. justify-content: center;
  1443. min-width: 116rpx;
  1444. min-height: 72rpx;
  1445. padding: 0 20rpx;
  1446. border-radius: 999rpx;
  1447. background: rgba(78, 92, 106, 0.54);
  1448. border: 2rpx solid rgba(210, 220, 228, 0.18);
  1449. box-sizing: border-box;
  1450. box-shadow: inset 0 0 0 2rpx rgba(255, 255, 255, 0.06);
  1451. }
  1452. .race-panel__action-button--active {
  1453. background: rgba(255, 226, 88, 0.98);
  1454. border-color: rgba(255, 247, 194, 0.98);
  1455. box-shadow: 0 0 0 4rpx rgba(255, 241, 158, 0.18), 0 0 28rpx rgba(255, 239, 122, 0.42);
  1456. animation: punch-button-ready 1s ease-in-out infinite;
  1457. }
  1458. .race-panel__action-button-text {
  1459. font-size: 24rpx;
  1460. line-height: 1;
  1461. font-weight: 700;
  1462. color: rgba(236, 241, 246, 0.86);
  1463. }
  1464. .race-panel__action-button--active .race-panel__action-button-text {
  1465. color: #775000;
  1466. }
  1467. @keyframes punch-button-ready {
  1468. 0% {
  1469. transform: scale(1);
  1470. box-shadow: 0 0 0 0 rgba(255, 241, 158, 0.22), 0 0 18rpx rgba(255, 239, 122, 0.28);
  1471. }
  1472. 50% {
  1473. transform: scale(1.06);
  1474. box-shadow: 0 0 0 8rpx rgba(255, 241, 158, 0.08), 0 0 34rpx rgba(255, 239, 122, 0.52);
  1475. }
  1476. 100% {
  1477. transform: scale(1);
  1478. box-shadow: 0 0 0 0 rgba(255, 241, 158, 0.22), 0 0 18rpx rgba(255, 239, 122, 0.28);
  1479. }
  1480. }
  1481. @keyframes punch-button-burst {
  1482. 0% {
  1483. transform: scale(1);
  1484. box-shadow: 0 12rpx 28rpx rgba(22, 34, 46, 0.22);
  1485. }
  1486. 34% {
  1487. transform: scale(1.12);
  1488. box-shadow: 0 0 0 9rpx rgba(149, 255, 244, 0.18), 0 0 34rpx rgba(92, 255, 237, 0.58);
  1489. }
  1490. 100% {
  1491. transform: scale(1);
  1492. box-shadow: 0 12rpx 28rpx rgba(22, 34, 46, 0.22);
  1493. }
  1494. }
  1495. @keyframes punch-button-warning {
  1496. 0%, 100% {
  1497. transform: translateX(0);
  1498. }
  1499. 20% {
  1500. transform: translateX(-6rpx) scale(1.02);
  1501. }
  1502. 40% {
  1503. transform: translateX(6rpx) scale(1.04);
  1504. }
  1505. 60% {
  1506. transform: translateX(-4rpx) scale(1.02);
  1507. }
  1508. 80% {
  1509. transform: translateX(4rpx);
  1510. }
  1511. }
  1512. @keyframes feedback-toast-pop {
  1513. 0% {
  1514. opacity: 0;
  1515. transform: translateX(-50%) translateY(18rpx) scale(0.88);
  1516. }
  1517. 100% {
  1518. opacity: 1;
  1519. transform: translateX(-50%) translateY(0) scale(1);
  1520. }
  1521. }
  1522. @keyframes feedback-toast-success {
  1523. 0% {
  1524. opacity: 0;
  1525. transform: translateX(-50%) translateY(18rpx) scale(0.88);
  1526. }
  1527. 55% {
  1528. opacity: 1;
  1529. transform: translateX(-50%) translateY(-6rpx) scale(1.04);
  1530. }
  1531. 100% {
  1532. opacity: 1;
  1533. transform: translateX(-50%) translateY(0) scale(1);
  1534. }
  1535. }
  1536. @keyframes feedback-toast-warning {
  1537. 0% {
  1538. opacity: 0;
  1539. transform: translateX(-50%) translateY(12rpx) scale(0.92);
  1540. }
  1541. 30% {
  1542. opacity: 1;
  1543. transform: translateX(calc(-50% - 6rpx)) translateY(0) scale(1.02);
  1544. }
  1545. 60% {
  1546. transform: translateX(calc(-50% + 6rpx)) translateY(0) scale(1.02);
  1547. }
  1548. 100% {
  1549. opacity: 1;
  1550. transform: translateX(-50%) translateY(0) scale(1);
  1551. }
  1552. }
  1553. @keyframes content-card-pop {
  1554. 0% {
  1555. opacity: 0;
  1556. transform: translateX(-50%) translateY(30rpx) scale(0.92);
  1557. }
  1558. 100% {
  1559. opacity: 1;
  1560. transform: translateX(-50%) translateY(0) scale(1);
  1561. }
  1562. }
  1563. @keyframes content-card-finish {
  1564. 0% {
  1565. opacity: 0;
  1566. transform: translateX(-50%) translateY(34rpx) scale(0.9);
  1567. box-shadow: 0 18rpx 48rpx rgba(22, 48, 32, 0.18);
  1568. }
  1569. 45% {
  1570. opacity: 1;
  1571. transform: translateX(-50%) translateY(-6rpx) scale(1.03);
  1572. box-shadow: 0 0 0 6rpx rgba(255, 232, 147, 0.18), 0 22rpx 52rpx rgba(22, 48, 32, 0.2);
  1573. }
  1574. 100% {
  1575. opacity: 1;
  1576. transform: translateX(-50%) translateY(0) scale(1);
  1577. box-shadow: 0 18rpx 48rpx rgba(22, 48, 32, 0.18);
  1578. }
  1579. }
  1580. @keyframes map-pulse-control {
  1581. 0% {
  1582. opacity: 0.94;
  1583. transform: scale(0.28);
  1584. border: 6rpx solid rgba(92, 255, 237, 0.98);
  1585. box-shadow: 0 0 0 0 rgba(92, 255, 237, 0.42);
  1586. }
  1587. 70% {
  1588. opacity: 0.32;
  1589. transform: scale(3.4);
  1590. border: 4rpx solid rgba(92, 255, 237, 0.52);
  1591. box-shadow: 0 0 0 10rpx rgba(92, 255, 237, 0.08);
  1592. }
  1593. 100% {
  1594. opacity: 0;
  1595. transform: scale(4.1);
  1596. border: 2rpx solid rgba(92, 255, 237, 0);
  1597. box-shadow: 0 0 0 0 rgba(92, 255, 237, 0);
  1598. }
  1599. }
  1600. @keyframes map-pulse-ready {
  1601. 0% {
  1602. opacity: 0.92;
  1603. transform: scale(0.22);
  1604. border: 5rpx solid rgba(255, 248, 184, 0.98);
  1605. box-shadow: 0 0 0 0 rgba(255, 248, 184, 0.28);
  1606. }
  1607. 68% {
  1608. opacity: 0.22;
  1609. transform: scale(2.4);
  1610. border: 3rpx solid rgba(255, 248, 184, 0.46);
  1611. box-shadow: 0 0 0 8rpx rgba(255, 248, 184, 0.08);
  1612. }
  1613. 100% {
  1614. opacity: 0;
  1615. transform: scale(3);
  1616. border: 2rpx solid rgba(255, 248, 184, 0);
  1617. box-shadow: 0 0 0 0 rgba(255, 248, 184, 0);
  1618. }
  1619. }
  1620. @keyframes map-pulse-finish {
  1621. 0% {
  1622. opacity: 0.98;
  1623. transform: scale(0.24);
  1624. border: 6rpx solid rgba(255, 231, 117, 1);
  1625. box-shadow: 0 0 0 0 rgba(255, 231, 117, 0.46);
  1626. }
  1627. 48% {
  1628. opacity: 0.52;
  1629. transform: scale(3.8);
  1630. border: 4rpx solid rgba(255, 231, 117, 0.72);
  1631. box-shadow: 0 0 0 14rpx rgba(255, 231, 117, 0.14);
  1632. }
  1633. 100% {
  1634. opacity: 0;
  1635. transform: scale(4.8);
  1636. border: 2rpx solid rgba(255, 231, 117, 0);
  1637. box-shadow: 0 0 0 0 rgba(255, 231, 117, 0);
  1638. }
  1639. }
  1640. @keyframes stage-fx-finish {
  1641. 0% {
  1642. opacity: 0;
  1643. 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%);
  1644. backdrop-filter: brightness(1);
  1645. }
  1646. 24% {
  1647. opacity: 1;
  1648. 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%);
  1649. backdrop-filter: brightness(1.08);
  1650. }
  1651. 100% {
  1652. opacity: 0;
  1653. background: radial-gradient(circle at 50% 50%, rgba(255, 241, 168, 0) 0%, rgba(255, 241, 168, 0) 100%);
  1654. backdrop-filter: brightness(1);
  1655. }
  1656. }