globals.css 52 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031
  1. :root {
  2. --bg: #f4efe7;
  3. --panel: rgba(255, 252, 247, 0.88);
  4. --panel-strong: #fffaf3;
  5. --text: #241c16;
  6. --muted: #6c6258;
  7. --line: rgba(60, 42, 27, 0.12);
  8. --brand: #b85c38;
  9. --brand-soft: #e8c8b6;
  10. --shadow: 0 20px 60px rgba(58, 35, 18, 0.12);
  11. --radius-lg: 28px;
  12. --radius-md: 18px;
  13. --radius-sm: 12px;
  14. }
  15. * {
  16. box-sizing: border-box;
  17. }
  18. html {
  19. scroll-behavior: smooth;
  20. scrollbar-gutter: stable;
  21. }
  22. body {
  23. margin: 0;
  24. min-width: 320px;
  25. color: var(--text);
  26. background:
  27. radial-gradient(circle at top left, rgba(232, 200, 182, 0.7), transparent 30%),
  28. radial-gradient(circle at bottom right, rgba(184, 92, 56, 0.12), transparent 28%),
  29. linear-gradient(180deg, #f8f4ed 0%, var(--bg) 100%);
  30. font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  31. }
  32. body.reader-body {
  33. overflow: hidden;
  34. }
  35. body.chat-body {
  36. overflow: hidden;
  37. overscroll-behavior: none;
  38. background: var(--bg);
  39. }
  40. a {
  41. color: inherit;
  42. text-decoration: none;
  43. }
  44. button,
  45. input,
  46. textarea {
  47. font: inherit;
  48. }
  49. .page-shell {
  50. width: min(1200px, calc(100vw - 32px));
  51. margin: 0 auto;
  52. }
  53. .site-header {
  54. position: sticky;
  55. top: 0;
  56. z-index: 20;
  57. backdrop-filter: blur(12px);
  58. background: rgba(248, 244, 237, 0.72);
  59. border-bottom: 1px solid var(--line);
  60. }
  61. .site-header--menu-open {
  62. z-index: 40;
  63. }
  64. .site-header__inner {
  65. display: flex;
  66. align-items: center;
  67. justify-content: space-between;
  68. gap: 20px;
  69. padding: 16px 0;
  70. }
  71. .site-brand {
  72. display: flex;
  73. align-items: center;
  74. gap: 12px;
  75. }
  76. .site-brand__mark {
  77. width: 42px;
  78. height: 42px;
  79. border-radius: 14px;
  80. background: linear-gradient(135deg, #c26a46, #8d4529);
  81. color: white;
  82. display: grid;
  83. place-items: center;
  84. font-weight: 700;
  85. box-shadow: var(--shadow);
  86. }
  87. .site-brand__name {
  88. font-size: 1rem;
  89. font-weight: 700;
  90. }
  91. .site-brand__tag {
  92. margin-top: 2px;
  93. color: var(--muted);
  94. font-size: 0.88rem;
  95. }
  96. .site-nav {
  97. display: flex;
  98. flex-wrap: wrap;
  99. align-items: center;
  100. justify-content: flex-end;
  101. gap: 10px;
  102. }
  103. .site-nav a {
  104. padding: 10px 14px;
  105. border-radius: 999px;
  106. color: var(--muted);
  107. }
  108. .site-nav a.is-active {
  109. background: rgba(184, 92, 56, 0.1);
  110. color: #8f4b2f;
  111. }
  112. .site-nav a:hover {
  113. background: rgba(255, 250, 243, 0.92);
  114. color: var(--text);
  115. }
  116. .site-menu-button,
  117. .site-drawer,
  118. .site-drawer-backdrop {
  119. display: none;
  120. }
  121. .site-menu-button {
  122. width: 46px;
  123. height: 46px;
  124. padding: 0;
  125. border: 1px solid var(--line);
  126. border-radius: 14px;
  127. background: rgba(255, 250, 243, 0.92);
  128. align-items: center;
  129. justify-content: center;
  130. gap: 4px;
  131. cursor: pointer;
  132. }
  133. .site-menu-button span {
  134. width: 18px;
  135. height: 2px;
  136. border-radius: 999px;
  137. background: #6a5a4e;
  138. transition: transform 0.2s ease, opacity 0.2s ease;
  139. }
  140. .site-menu-button.is-open span:nth-child(1) {
  141. transform: translateY(6px) rotate(45deg);
  142. }
  143. .site-menu-button.is-open span:nth-child(2) {
  144. opacity: 0;
  145. }
  146. .site-menu-button.is-open span:nth-child(3) {
  147. transform: translateY(-6px) rotate(-45deg);
  148. }
  149. .site-drawer-backdrop {
  150. position: fixed;
  151. inset: 0;
  152. background: rgba(24, 18, 13, 0.36);
  153. opacity: 0;
  154. pointer-events: none;
  155. transition: opacity 0.2s ease;
  156. z-index: 44;
  157. }
  158. .site-drawer-backdrop.is-open {
  159. opacity: 1;
  160. pointer-events: auto;
  161. }
  162. .site-drawer {
  163. position: fixed;
  164. inset: 0;
  165. display: block;
  166. pointer-events: none;
  167. z-index: 45;
  168. background: transparent;
  169. opacity: 0;
  170. visibility: hidden;
  171. transition: opacity 0.2s ease, visibility 0.2s ease;
  172. }
  173. .site-drawer__panel {
  174. margin-left: auto;
  175. width: min(360px, 100vw);
  176. height: 100%;
  177. padding: 22px 18px 28px;
  178. background: linear-gradient(180deg, #fbf6ef 0%, #f1e8dc 100%);
  179. box-shadow: -24px 0 60px rgba(45, 31, 22, 0.18);
  180. transform: translateX(100%);
  181. transition: transform 0.22s ease;
  182. isolation: isolate;
  183. }
  184. .site-drawer.is-open {
  185. pointer-events: auto;
  186. opacity: 1;
  187. visibility: visible;
  188. }
  189. .site-drawer.is-open .site-drawer__panel {
  190. transform: translateX(0);
  191. }
  192. .site-drawer__top {
  193. display: flex;
  194. align-items: flex-start;
  195. justify-content: space-between;
  196. gap: 12px;
  197. margin-bottom: 18px;
  198. }
  199. .site-drawer__title {
  200. font-size: 1.2rem;
  201. font-weight: 700;
  202. }
  203. .site-drawer__hint {
  204. margin-top: 6px;
  205. color: var(--muted);
  206. line-height: 1.6;
  207. font-size: 0.92rem;
  208. }
  209. .site-drawer__close {
  210. min-height: 40px;
  211. padding: 0 14px;
  212. border: 1px solid var(--line);
  213. border-radius: 999px;
  214. background: rgba(255, 250, 243, 0.94);
  215. cursor: pointer;
  216. }
  217. .site-drawer__nav {
  218. display: grid;
  219. gap: 10px;
  220. }
  221. .site-drawer__nav a {
  222. min-height: 54px;
  223. padding: 0 16px;
  224. border-radius: 16px;
  225. display: flex;
  226. align-items: center;
  227. background: rgba(255, 250, 243, 0.86);
  228. border: 1px solid var(--line);
  229. }
  230. .site-drawer__nav a.is-active {
  231. background: rgba(184, 92, 56, 0.12);
  232. color: #8f4b2f;
  233. border-color: rgba(184, 92, 56, 0.24);
  234. }
  235. .hero {
  236. display: grid;
  237. grid-template-columns: 1.15fr 0.85fr;
  238. gap: 24px;
  239. padding: 44px 0 26px;
  240. }
  241. .card {
  242. background: var(--panel);
  243. border: 1px solid rgba(255, 255, 255, 0.7);
  244. box-shadow: var(--shadow);
  245. border-radius: var(--radius-lg);
  246. }
  247. .hero__main {
  248. padding: 36px;
  249. }
  250. .eyebrow {
  251. display: inline-flex;
  252. align-items: center;
  253. gap: 8px;
  254. padding: 8px 12px;
  255. border-radius: 999px;
  256. background: rgba(255, 250, 243, 0.88);
  257. color: var(--muted);
  258. font-size: 0.9rem;
  259. }
  260. .hero h1 {
  261. margin: 18px 0 14px;
  262. font-size: clamp(2.2rem, 5vw, 4.3rem);
  263. line-height: 1.05;
  264. }
  265. .hero p {
  266. margin: 0;
  267. color: var(--muted);
  268. font-size: 1.03rem;
  269. line-height: 1.75;
  270. }
  271. .hero__actions {
  272. display: flex;
  273. flex-wrap: wrap;
  274. gap: 12px;
  275. margin-top: 28px;
  276. }
  277. .button {
  278. display: inline-flex;
  279. align-items: center;
  280. justify-content: center;
  281. gap: 10px;
  282. min-height: 48px;
  283. padding: 0 18px;
  284. border-radius: 999px;
  285. border: 1px solid transparent;
  286. transition: transform 0.2s ease, background 0.2s ease;
  287. }
  288. .button:hover {
  289. transform: translateY(-1px);
  290. }
  291. .button--primary {
  292. background: var(--brand);
  293. color: white;
  294. }
  295. .button--secondary {
  296. background: rgba(255, 250, 243, 0.92);
  297. border-color: var(--line);
  298. }
  299. .hero__aside {
  300. display: grid;
  301. gap: 18px;
  302. }
  303. .stat-card,
  304. .feature-card,
  305. .section-card,
  306. .chat-layout,
  307. .reader-layout,
  308. .library-shell,
  309. .agents-shell {
  310. background: var(--panel);
  311. border: 1px solid rgba(255, 255, 255, 0.7);
  312. box-shadow: var(--shadow);
  313. }
  314. .stat-card {
  315. border-radius: 24px;
  316. padding: 24px;
  317. }
  318. .stat-card h3,
  319. .feature-card h3,
  320. .section-card h2 {
  321. margin: 0;
  322. }
  323. .stat-card p,
  324. .feature-card p,
  325. .section-card p {
  326. color: var(--muted);
  327. }
  328. .home-sections {
  329. display: grid;
  330. grid-template-columns: repeat(2, minmax(0, 1fr));
  331. gap: 24px;
  332. padding: 16px 0 48px;
  333. }
  334. .section-card {
  335. padding: 28px;
  336. border-radius: var(--radius-lg);
  337. }
  338. .section-card__list {
  339. display: grid;
  340. gap: 12px;
  341. margin: 24px 0;
  342. }
  343. .section-card__item {
  344. display: flex;
  345. gap: 12px;
  346. align-items: flex-start;
  347. padding: 14px 16px;
  348. border-radius: var(--radius-md);
  349. background: rgba(255, 250, 243, 0.75);
  350. border: 1px solid var(--line);
  351. }
  352. .section-card__index {
  353. flex: 0 0 auto;
  354. width: 28px;
  355. height: 28px;
  356. border-radius: 50%;
  357. background: var(--brand-soft);
  358. color: #6a341f;
  359. display: grid;
  360. place-items: center;
  361. font-weight: 700;
  362. font-size: 0.88rem;
  363. }
  364. .page-title {
  365. padding: 32px 0 18px;
  366. }
  367. .page-title h1 {
  368. margin: 0;
  369. font-size: clamp(2rem, 4vw, 3.2rem);
  370. }
  371. .page-title p {
  372. margin: 12px 0 0;
  373. max-width: 720px;
  374. color: var(--muted);
  375. line-height: 1.7;
  376. }
  377. .chat-layout {
  378. display: grid;
  379. grid-template-columns: 280px minmax(0, 1fr);
  380. gap: 0;
  381. border-radius: 32px;
  382. overflow: hidden;
  383. margin-bottom: 40px;
  384. }
  385. .chat-sidebar {
  386. padding: 22px;
  387. border-right: 1px solid var(--line);
  388. background: rgba(255, 248, 239, 0.96);
  389. }
  390. .chat-main {
  391. display: grid;
  392. grid-template-rows: auto 1fr auto;
  393. min-height: 72vh;
  394. }
  395. .chat-toolbar,
  396. .chat-composer {
  397. padding: 18px 22px;
  398. border-bottom: 1px solid var(--line);
  399. }
  400. .chat-composer {
  401. border-top: 1px solid var(--line);
  402. border-bottom: 0;
  403. }
  404. .chat-messages {
  405. padding: 22px;
  406. display: grid;
  407. gap: 16px;
  408. align-content: start;
  409. background:
  410. linear-gradient(180deg, rgba(255, 252, 247, 0.72), rgba(255, 248, 239, 0.85)),
  411. repeating-linear-gradient(
  412. 0deg,
  413. transparent,
  414. transparent 31px,
  415. rgba(153, 122, 96, 0.03) 32px
  416. );
  417. }
  418. .presence-list,
  419. .library-grid,
  420. .reader-meta,
  421. .reader-controls,
  422. .chapter-nav,
  423. .agents-grid,
  424. .agent-stats {
  425. display: grid;
  426. gap: 12px;
  427. }
  428. .presence-item,
  429. .message,
  430. .book-card,
  431. .chapter-card,
  432. .reader-panel,
  433. .agent-card,
  434. .agent-stat {
  435. border: 1px solid var(--line);
  436. border-radius: var(--radius-md);
  437. background: rgba(255, 250, 243, 0.88);
  438. }
  439. .presence-item {
  440. padding: 12px 14px;
  441. }
  442. .presence-item__meta,
  443. .chat-toolbar__hint,
  444. .message__file-meta,
  445. .chat-sidebar__hint {
  446. color: var(--muted);
  447. }
  448. .chat-sidebar__hint,
  449. .chat-toolbar__hint {
  450. margin-top: 8px;
  451. line-height: 1.6;
  452. font-size: 0.92rem;
  453. }
  454. .message {
  455. padding: 14px 16px;
  456. max-width: min(620px, 92%);
  457. overflow-wrap: anywhere;
  458. }
  459. .message--self {
  460. margin-left: auto;
  461. background: rgba(232, 200, 182, 0.62);
  462. }
  463. .message__meta {
  464. display: flex;
  465. justify-content: space-between;
  466. gap: 16px;
  467. color: var(--muted);
  468. font-size: 0.84rem;
  469. margin-bottom: 8px;
  470. }
  471. .message__file {
  472. margin-top: 10px;
  473. padding: 12px;
  474. background: rgba(255, 255, 255, 0.72);
  475. border-radius: 12px;
  476. }
  477. .message__content {
  478. line-height: 1.7;
  479. }
  480. .composer-grid {
  481. display: grid;
  482. grid-template-columns: 1fr auto;
  483. gap: 14px;
  484. align-items: stretch;
  485. }
  486. .composer-input-shell {
  487. display: grid;
  488. gap: 10px;
  489. min-height: 100%;
  490. }
  491. .composer-input-hint {
  492. color: var(--muted);
  493. font-size: 0.9rem;
  494. }
  495. .composer-input {
  496. min-height: 118px;
  497. width: 100%;
  498. resize: vertical;
  499. border: 1px solid var(--line);
  500. border-radius: 18px;
  501. background: rgba(255, 255, 255, 0.82);
  502. padding: 16px;
  503. }
  504. .composer-input--drop {
  505. min-height: 146px;
  506. border-style: dashed;
  507. border-width: 1.5px;
  508. }
  509. .composer-actions {
  510. display: grid;
  511. gap: 12px;
  512. align-content: stretch;
  513. }
  514. .composer-actions--stacked {
  515. width: 228px;
  516. height: 146px;
  517. grid-template-rows: 1fr 1fr;
  518. }
  519. .composer-actions--stacked .button {
  520. width: 100%;
  521. height: 100%;
  522. min-height: 0;
  523. border-radius: 18px;
  524. }
  525. .library-shell {
  526. padding: 22px;
  527. border-radius: 32px;
  528. margin-bottom: 40px;
  529. }
  530. .agents-shell {
  531. padding: 22px;
  532. border-radius: 32px;
  533. margin-bottom: 40px;
  534. }
  535. .library-grid {
  536. grid-template-columns: repeat(3, minmax(0, 1fr));
  537. }
  538. .agents-grid {
  539. grid-template-columns: repeat(3, minmax(0, 1fr));
  540. }
  541. .agent-stats {
  542. grid-template-columns: repeat(4, minmax(0, 1fr));
  543. margin-bottom: 22px;
  544. }
  545. .agents-intro {
  546. display: grid;
  547. grid-template-columns: 1.2fr 0.8fr;
  548. gap: 18px;
  549. margin-bottom: 22px;
  550. }
  551. .agents-intro__main,
  552. .agents-intro__aside,
  553. .agent-summary-card {
  554. height: 100%;
  555. }
  556. .agents-intro__main {
  557. padding: 24px 26px;
  558. border-radius: 24px;
  559. border: 1px solid var(--line);
  560. background: linear-gradient(180deg, rgba(255, 251, 246, 0.98), rgba(255, 245, 235, 0.9));
  561. }
  562. .agents-intro__main h2 {
  563. margin: 14px 0 10px;
  564. font-size: clamp(1.5rem, 3vw, 2rem);
  565. }
  566. .agents-intro__main p {
  567. margin: 0;
  568. color: var(--muted);
  569. line-height: 1.75;
  570. }
  571. .agent-summary-card {
  572. padding: 24px;
  573. border-radius: 24px;
  574. border: 1px solid rgba(148, 84, 57, 0.14);
  575. background:
  576. radial-gradient(circle at top right, rgba(184, 92, 56, 0.18), transparent 35%),
  577. linear-gradient(180deg, rgba(255, 247, 240, 0.98), rgba(247, 236, 227, 0.94));
  578. }
  579. .agent-summary-card__label {
  580. color: var(--muted);
  581. font-size: 0.88rem;
  582. }
  583. .agent-summary-card strong {
  584. display: block;
  585. margin-top: 12px;
  586. font-size: 1.45rem;
  587. }
  588. .agent-summary-card p {
  589. margin: 12px 0 0;
  590. color: var(--muted);
  591. line-height: 1.7;
  592. }
  593. .agent-stat {
  594. padding: 18px;
  595. }
  596. .agent-stat strong {
  597. display: block;
  598. font-size: 1.5rem;
  599. margin-top: 8px;
  600. }
  601. .agent-card {
  602. padding: 20px;
  603. display: grid;
  604. gap: 16px;
  605. }
  606. .agent-card--dense {
  607. gap: 14px;
  608. padding: 18px;
  609. }
  610. .agent-card-link {
  611. display: block;
  612. }
  613. .agent-card--dashboard {
  614. min-height: 100%;
  615. transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  616. }
  617. .agent-card--dashboard:hover {
  618. transform: translateY(-3px);
  619. box-shadow: 0 24px 44px rgba(76, 45, 25, 0.14);
  620. border-color: rgba(184, 92, 56, 0.24);
  621. }
  622. .agent-card__header {
  623. display: flex;
  624. align-items: center;
  625. gap: 14px;
  626. }
  627. .agent-card__name {
  628. font-size: 1.1rem;
  629. font-weight: 700;
  630. }
  631. .agent-card__role {
  632. color: var(--muted);
  633. font-size: 0.92rem;
  634. margin-top: 4px;
  635. }
  636. .status-pill {
  637. display: inline-flex;
  638. align-items: center;
  639. gap: 8px;
  640. width: fit-content;
  641. padding: 8px 12px;
  642. border-radius: 999px;
  643. font-size: 0.9rem;
  644. font-weight: 600;
  645. }
  646. .status-pill::before {
  647. content: "";
  648. width: 8px;
  649. height: 8px;
  650. border-radius: 50%;
  651. background: currentColor;
  652. }
  653. .status-pill--working {
  654. background: rgba(74, 145, 88, 0.14);
  655. color: #2f7c46;
  656. }
  657. .status-pill--idle {
  658. background: rgba(88, 108, 132, 0.12);
  659. color: #526579;
  660. }
  661. .status-pill--warning {
  662. background: rgba(201, 140, 53, 0.14);
  663. color: #9f6117;
  664. }
  665. .status-pill--offline {
  666. background: rgba(144, 109, 101, 0.14);
  667. color: #8a645e;
  668. }
  669. .agent-card__status-line {
  670. display: flex;
  671. align-items: center;
  672. justify-content: space-between;
  673. gap: 12px;
  674. }
  675. .agent-card__updated {
  676. color: var(--muted);
  677. font-size: 0.88rem;
  678. }
  679. .agent-avatar {
  680. --avatar-face: #f6dcc7;
  681. --avatar-hair: #4d362c;
  682. --avatar-accent: #ca764c;
  683. --avatar-cloth: #d7b39c;
  684. --avatar-shadow: #6f4838;
  685. width: 62px;
  686. height: 62px;
  687. flex: 0 0 auto;
  688. position: relative;
  689. border-radius: 20px;
  690. display: grid;
  691. place-items: center;
  692. background: linear-gradient(180deg, rgba(255, 248, 242, 0.96), rgba(242, 225, 210, 0.92));
  693. box-shadow: 0 14px 30px rgba(89, 55, 35, 0.16);
  694. border: 1px solid rgba(145, 91, 63, 0.16);
  695. }
  696. .agent-avatar--large {
  697. width: 82px;
  698. height: 82px;
  699. border-radius: 24px;
  700. }
  701. .agent-avatar__hair {
  702. position: absolute;
  703. top: 12px;
  704. left: 50%;
  705. width: 42px;
  706. height: 22px;
  707. transform: translateX(-50%);
  708. border-radius: 18px 18px 10px 10px;
  709. background: var(--avatar-hair);
  710. z-index: 2;
  711. }
  712. .agent-avatar__head {
  713. width: 34px;
  714. height: 36px;
  715. position: relative;
  716. z-index: 3;
  717. border-radius: 14px 14px 16px 16px;
  718. background: var(--avatar-face);
  719. border: 3px solid var(--avatar-shadow);
  720. }
  721. .agent-avatar--large .agent-avatar__head {
  722. width: 44px;
  723. height: 46px;
  724. border-radius: 16px;
  725. }
  726. .agent-avatar__brows {
  727. position: absolute;
  728. left: 8px;
  729. right: 8px;
  730. top: 8px;
  731. display: flex;
  732. justify-content: space-between;
  733. }
  734. .agent-avatar__brows span {
  735. width: 8px;
  736. height: 2px;
  737. border-radius: 999px;
  738. background: var(--avatar-shadow);
  739. }
  740. .agent-avatar__eyes {
  741. position: absolute;
  742. left: 7px;
  743. right: 7px;
  744. top: 14px;
  745. display: flex;
  746. justify-content: space-between;
  747. }
  748. .agent-avatar__eyes span {
  749. width: 6px;
  750. height: 8px;
  751. border-radius: 6px;
  752. background: var(--avatar-shadow);
  753. }
  754. .agent-avatar__nose {
  755. position: absolute;
  756. left: 50%;
  757. top: 22px;
  758. width: 7px;
  759. height: 5px;
  760. transform: translateX(-50%);
  761. border-radius: 8px;
  762. background: var(--avatar-accent);
  763. }
  764. .agent-avatar__mouth {
  765. position: absolute;
  766. left: 50%;
  767. bottom: 7px;
  768. width: 12px;
  769. height: 6px;
  770. transform: translateX(-50%);
  771. border-bottom: 3px solid var(--avatar-shadow);
  772. border-radius: 0 0 10px 10px;
  773. }
  774. .agent-avatar__body {
  775. position: absolute;
  776. bottom: 6px;
  777. left: 50%;
  778. width: 34px;
  779. height: 14px;
  780. transform: translateX(-50%);
  781. border-radius: 12px 12px 6px 6px;
  782. background: var(--avatar-cloth);
  783. z-index: 1;
  784. }
  785. .agent-avatar__accent {
  786. position: absolute;
  787. bottom: 10px;
  788. right: 10px;
  789. width: 10px;
  790. height: 10px;
  791. border-radius: 50%;
  792. background: var(--avatar-accent);
  793. border: 2px solid rgba(255, 255, 255, 0.9);
  794. z-index: 4;
  795. }
  796. .agent-avatar--female-analyst {
  797. --avatar-face: #f4d8c8;
  798. --avatar-hair: #4b2f2f;
  799. --avatar-accent: #d76d5a;
  800. --avatar-cloth: #c9d5ee;
  801. --avatar-shadow: #6d4540;
  802. }
  803. .agent-avatar--female-analyst .agent-avatar__hair {
  804. width: 44px;
  805. height: 24px;
  806. border-radius: 18px 18px 12px 12px;
  807. }
  808. .agent-avatar--male-ops {
  809. --avatar-face: #efcfb9;
  810. --avatar-hair: #2f2b2d;
  811. --avatar-accent: #5a87c8;
  812. --avatar-cloth: #cdd5df;
  813. --avatar-shadow: #5b4a42;
  814. }
  815. .agent-avatar--male-ops .agent-avatar__hair {
  816. width: 36px;
  817. height: 16px;
  818. top: 13px;
  819. border-radius: 12px 12px 8px 8px;
  820. }
  821. .agent-avatar--female-researcher {
  822. --avatar-face: #f0d0ba;
  823. --avatar-hair: #5b3c30;
  824. --avatar-accent: #d9885b;
  825. --avatar-cloth: #d8c5e6;
  826. --avatar-shadow: #714f46;
  827. }
  828. .agent-avatar--female-researcher .agent-avatar__hair {
  829. width: 46px;
  830. height: 26px;
  831. top: 11px;
  832. }
  833. .agent-avatar--male-dispatcher {
  834. --avatar-face: #e8c6ad;
  835. --avatar-hair: #3d3533;
  836. --avatar-accent: #c78153;
  837. --avatar-cloth: #d7c3b6;
  838. --avatar-shadow: #5c4a42;
  839. }
  840. .agent-avatar--male-dispatcher .agent-avatar__hair {
  841. width: 38px;
  842. height: 17px;
  843. top: 12px;
  844. }
  845. .agent-avatar--female-observer {
  846. --avatar-face: #f5dcca;
  847. --avatar-hair: #2d313d;
  848. --avatar-accent: #d46c8b;
  849. --avatar-cloth: #c8d6d1;
  850. --avatar-shadow: #57535a;
  851. }
  852. .agent-avatar--female-observer .agent-avatar__hair {
  853. width: 44px;
  854. height: 24px;
  855. }
  856. .agent-avatar--male-maintainer {
  857. --avatar-face: #d9b89c;
  858. --avatar-hair: #43362d;
  859. --avatar-accent: #7c9b54;
  860. --avatar-cloth: #d7d2bb;
  861. --avatar-shadow: #634c40;
  862. }
  863. .agent-avatar--male-maintainer .agent-avatar__hair {
  864. width: 36px;
  865. height: 16px;
  866. top: 13px;
  867. }
  868. .agent-card__meta {
  869. display: grid;
  870. gap: 12px;
  871. }
  872. .agent-quick-grid {
  873. display: grid;
  874. grid-template-columns: repeat(3, minmax(0, 1fr));
  875. gap: 10px;
  876. }
  877. .agent-mini-stat {
  878. padding: 12px;
  879. border-radius: 14px;
  880. border: 1px solid rgba(114, 80, 60, 0.12);
  881. background: rgba(255, 248, 241, 0.92);
  882. }
  883. .agent-mini-stat span {
  884. display: block;
  885. color: var(--muted);
  886. font-size: 0.82rem;
  887. }
  888. .agent-mini-stat strong {
  889. display: block;
  890. margin-top: 8px;
  891. font-size: 1rem;
  892. }
  893. .agent-row {
  894. display: grid;
  895. grid-template-columns: 88px minmax(0, 1fr);
  896. gap: 10px;
  897. align-items: start;
  898. }
  899. .agent-row__label {
  900. color: var(--muted);
  901. font-size: 0.88rem;
  902. }
  903. .agent-row__value {
  904. line-height: 1.65;
  905. }
  906. .agent-row__value--strong {
  907. font-weight: 700;
  908. }
  909. .agent-card__footer {
  910. padding-top: 6px;
  911. color: #8c5435;
  912. font-weight: 600;
  913. }
  914. .agents-toolbar {
  915. display: flex;
  916. align-items: center;
  917. justify-content: space-between;
  918. gap: 16px;
  919. padding: 0 2px 22px;
  920. }
  921. .agents-toolbar__hint {
  922. color: var(--muted);
  923. font-size: 0.92rem;
  924. }
  925. .agents-shell--compact {
  926. padding: 20px 22px 24px;
  927. }
  928. .agents-monitor-top {
  929. display: flex;
  930. align-items: center;
  931. justify-content: space-between;
  932. gap: 16px;
  933. margin-bottom: 14px;
  934. }
  935. .agents-monitor-source {
  936. display: grid;
  937. gap: 6px;
  938. }
  939. .agents-monitor-source strong {
  940. font-size: 1.02rem;
  941. }
  942. .agents-monitor-source span {
  943. color: var(--muted);
  944. font-size: 0.92rem;
  945. }
  946. .agents-monitor-strip {
  947. display: grid;
  948. grid-template-columns: repeat(5, minmax(0, 1fr));
  949. gap: 10px;
  950. margin-bottom: 16px;
  951. }
  952. .agents-monitor-strip__item {
  953. min-height: 52px;
  954. padding: 0 16px;
  955. border: 1px solid var(--line);
  956. border-radius: 16px;
  957. background: rgba(255, 250, 243, 0.82);
  958. display: flex;
  959. align-items: center;
  960. justify-content: center;
  961. color: #5f544b;
  962. font-weight: 600;
  963. }
  964. .agents-worklist {
  965. display: grid;
  966. grid-template-columns: repeat(4, minmax(0, 1fr));
  967. gap: 14px;
  968. }
  969. .agents-worklist__link {
  970. display: block;
  971. }
  972. .agents-workitem {
  973. padding: 14px 14px 15px;
  974. border: 1px solid var(--line);
  975. border-radius: 20px;
  976. background: rgba(255, 250, 243, 0.88);
  977. transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  978. min-height: 100%;
  979. }
  980. .agents-workitem:hover {
  981. transform: translateY(-2px);
  982. box-shadow: 0 22px 40px rgba(76, 45, 25, 0.1);
  983. border-color: rgba(184, 92, 56, 0.22);
  984. }
  985. .agents-workitem__head {
  986. display: flex;
  987. align-items: flex-start;
  988. justify-content: space-between;
  989. gap: 12px;
  990. }
  991. .agents-workitem__identity {
  992. display: flex;
  993. align-items: flex-start;
  994. gap: 12px;
  995. min-width: 0;
  996. }
  997. .agents-workitem__name-row {
  998. display: flex;
  999. align-items: center;
  1000. gap: 10px;
  1001. flex-wrap: wrap;
  1002. }
  1003. .agents-workitem__name-row strong {
  1004. font-size: 1rem;
  1005. }
  1006. .agents-workitem__role {
  1007. margin-top: 3px;
  1008. color: var(--muted);
  1009. font-size: 0.88rem;
  1010. }
  1011. .agents-workitem__metrics {
  1012. display: grid;
  1013. gap: 4px;
  1014. flex-wrap: wrap;
  1015. justify-items: end;
  1016. color: var(--muted);
  1017. font-size: 0.82rem;
  1018. text-align: right;
  1019. }
  1020. .agents-workitem__task,
  1021. .agents-workitem__output {
  1022. margin-top: 12px;
  1023. padding-top: 12px;
  1024. border-top: 1px solid rgba(93, 68, 53, 0.08);
  1025. }
  1026. .agents-workitem__label {
  1027. color: var(--muted);
  1028. font-size: 0.8rem;
  1029. margin-bottom: 5px;
  1030. }
  1031. .agents-workitem__value {
  1032. line-height: 1.6;
  1033. font-size: 0.95rem;
  1034. display: -webkit-box;
  1035. -webkit-line-clamp: 3;
  1036. -webkit-box-orient: vertical;
  1037. overflow: hidden;
  1038. }
  1039. .agents-workitem__meta {
  1040. display: flex;
  1041. align-items: center;
  1042. flex-wrap: wrap;
  1043. gap: 6px 10px;
  1044. margin-top: 10px;
  1045. color: var(--muted);
  1046. font-size: 0.8rem;
  1047. }
  1048. .agents-workitem__error {
  1049. margin-top: 7px;
  1050. color: #9f6117;
  1051. font-size: 0.82rem;
  1052. }
  1053. .filter-chip {
  1054. display: inline-flex;
  1055. align-items: center;
  1056. justify-content: center;
  1057. min-height: 40px;
  1058. padding: 0 16px;
  1059. border-radius: 999px;
  1060. border: 1px solid var(--line);
  1061. background: rgba(255, 250, 243, 0.9);
  1062. color: var(--muted);
  1063. transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  1064. cursor: pointer;
  1065. }
  1066. .filter-chip:hover {
  1067. transform: translateY(-1px);
  1068. border-color: rgba(184, 92, 56, 0.26);
  1069. }
  1070. .filter-chip--active {
  1071. background: rgba(184, 92, 56, 0.12);
  1072. border-color: rgba(184, 92, 56, 0.32);
  1073. color: #8a472d;
  1074. font-weight: 700;
  1075. }
  1076. .agent-detail-hero {
  1077. display: flex;
  1078. align-items: flex-start;
  1079. justify-content: space-between;
  1080. gap: 18px;
  1081. padding: 24px 26px;
  1082. border-radius: 24px;
  1083. border: 1px solid var(--line);
  1084. background: linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(247, 238, 230, 0.92));
  1085. margin-bottom: 22px;
  1086. }
  1087. .agent-detail-hero__main {
  1088. min-width: 0;
  1089. }
  1090. .agent-detail-hero__actions {
  1091. flex: 0 0 auto;
  1092. }
  1093. .agent-detail-grid {
  1094. display: grid;
  1095. grid-template-columns: repeat(2, minmax(0, 1fr));
  1096. gap: 18px;
  1097. }
  1098. .agent-detail-section__title {
  1099. margin-bottom: 14px;
  1100. font-size: 1rem;
  1101. font-weight: 700;
  1102. }
  1103. .agent-detail-list {
  1104. display: grid;
  1105. gap: 12px;
  1106. }
  1107. .agent-detail-highlight {
  1108. padding: 16px 18px;
  1109. border-radius: 18px;
  1110. background: rgba(184, 92, 56, 0.08);
  1111. border: 1px solid rgba(184, 92, 56, 0.16);
  1112. font-weight: 600;
  1113. }
  1114. .agent-detail-note,
  1115. .agent-detail-paragraph {
  1116. margin-top: 14px;
  1117. color: var(--muted);
  1118. line-height: 1.75;
  1119. }
  1120. .book-card {
  1121. overflow: hidden;
  1122. }
  1123. .book-cover {
  1124. aspect-ratio: 3 / 4.3;
  1125. background:
  1126. linear-gradient(180deg, rgba(19, 15, 12, 0.1), rgba(19, 15, 12, 0.36)),
  1127. var(--cover, linear-gradient(135deg, #c06b49, #7c3c26));
  1128. padding: 22px;
  1129. color: white;
  1130. display: flex;
  1131. flex-direction: column;
  1132. justify-content: flex-end;
  1133. }
  1134. .book-cover__chip {
  1135. align-self: flex-start;
  1136. margin-bottom: auto;
  1137. padding: 8px 10px;
  1138. border-radius: 999px;
  1139. background: rgba(255, 255, 255, 0.16);
  1140. border: 1px solid rgba(255, 255, 255, 0.18);
  1141. font-size: 0.84rem;
  1142. }
  1143. .book-cover__title {
  1144. margin: 0;
  1145. font-size: 1.45rem;
  1146. }
  1147. .book-cover__author {
  1148. margin: 8px 0 0;
  1149. color: rgba(255, 255, 255, 0.85);
  1150. }
  1151. .book-body {
  1152. padding: 18px;
  1153. }
  1154. .book-body p {
  1155. color: var(--muted);
  1156. line-height: 1.7;
  1157. }
  1158. .reader-layout {
  1159. display: grid;
  1160. grid-template-columns: 280px minmax(0, 1fr);
  1161. gap: 0;
  1162. border-radius: 32px;
  1163. overflow: hidden;
  1164. min-height: 76vh;
  1165. margin-bottom: 44px;
  1166. }
  1167. .reader-sidebar {
  1168. padding: 24px;
  1169. border-right: 1px solid var(--line);
  1170. background: rgba(255, 248, 239, 0.96);
  1171. }
  1172. .reader-main {
  1173. padding: 0;
  1174. display: grid;
  1175. grid-template-rows: auto 1fr auto;
  1176. }
  1177. .reader-topbar,
  1178. .reader-footer {
  1179. display: flex;
  1180. align-items: center;
  1181. justify-content: space-between;
  1182. gap: 14px;
  1183. padding: 18px 22px;
  1184. border-bottom: 1px solid var(--line);
  1185. }
  1186. .reader-footer {
  1187. border-top: 1px solid var(--line);
  1188. border-bottom: 0;
  1189. }
  1190. .reader-content {
  1191. padding: 0 24px 28px;
  1192. }
  1193. .reader-paper {
  1194. width: min(860px, 100%);
  1195. margin: 24px auto 0;
  1196. padding: clamp(24px, 4vw, 54px);
  1197. border-radius: 28px;
  1198. background: #fffdf8;
  1199. border: 1px solid rgba(112, 86, 62, 0.09);
  1200. box-shadow: 0 20px 60px rgba(54, 33, 21, 0.08);
  1201. }
  1202. .reader-paper h1 {
  1203. margin: 0 0 10px;
  1204. font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  1205. }
  1206. .reader-paper h2 {
  1207. margin: 0 0 20px;
  1208. color: var(--muted);
  1209. font-size: 1rem;
  1210. font-weight: 500;
  1211. }
  1212. .reader-paper p {
  1213. margin: 0 0 1.3em;
  1214. font-size: clamp(1.02rem, 2vw, 1.14rem);
  1215. line-height: 2;
  1216. text-indent: 2em;
  1217. }
  1218. .reader-stage {
  1219. height: 100vh;
  1220. padding: 0 24px;
  1221. background:
  1222. radial-gradient(circle at top left, rgba(255, 240, 220, 0.3), transparent 28%),
  1223. linear-gradient(180deg, #dcd6ce 0%, #d4cec5 100%);
  1224. overflow: auto;
  1225. display: flex;
  1226. align-items: stretch;
  1227. justify-content: center;
  1228. position: relative;
  1229. }
  1230. .reader-desktop-layout {
  1231. width: fit-content;
  1232. max-width: 100%;
  1233. margin: 0 auto;
  1234. display: grid;
  1235. grid-template-columns: 78px var(--reader-shell-width, min(980px, calc(100vw - 280px))) 78px;
  1236. gap: 18px;
  1237. align-items: start;
  1238. }
  1239. .reader-qq-shell {
  1240. width: var(--reader-shell-width, min(980px, calc(100vw - 280px)));
  1241. min-height: 100vh;
  1242. overflow: visible;
  1243. }
  1244. .reader-mobile-bar,
  1245. .reader-catalog-mobile-mask,
  1246. .reader-catalog-mobile-sheet {
  1247. display: none;
  1248. }
  1249. .reader-qq-paper {
  1250. min-height: 100%;
  1251. background: #f7f0e4;
  1252. box-shadow: 0 22px 60px rgba(54, 33, 21, 0.08);
  1253. display: flex;
  1254. flex-direction: column;
  1255. border-radius: 0;
  1256. }
  1257. .reader-qq-paper--desktop-hidden {
  1258. display: none;
  1259. }
  1260. .reader-qq-header {
  1261. padding: 44px 72px 26px;
  1262. border-bottom: 1px solid rgba(53, 44, 38, 0.1);
  1263. text-align: center;
  1264. }
  1265. .reader-qq-header h1 {
  1266. margin: 0;
  1267. font-size: clamp(2rem, 4vw, 3rem);
  1268. line-height: 1.25;
  1269. }
  1270. .reader-qq-meta {
  1271. display: flex;
  1272. flex-wrap: wrap;
  1273. justify-content: center;
  1274. gap: 18px 26px;
  1275. margin-top: 18px;
  1276. color: #9c9288;
  1277. font-size: 0.92rem;
  1278. }
  1279. .reader-qq-content {
  1280. padding: 28px 72px 80px;
  1281. flex: 1 1 auto;
  1282. }
  1283. .reader-qq-content p {
  1284. margin: 0 0 1.6em;
  1285. color: #2d2621;
  1286. font-size: clamp(1.14rem, 2vw, 1.28rem);
  1287. line-height: 2.35;
  1288. text-indent: 2em;
  1289. }
  1290. .reader-float {
  1291. position: sticky;
  1292. top: 160px;
  1293. z-index: 15;
  1294. display: grid;
  1295. gap: 10px;
  1296. }
  1297. .reader-float--left,
  1298. .reader-float--right {
  1299. width: 78px;
  1300. }
  1301. .reader-progress-rail {
  1302. position: fixed;
  1303. top: 0;
  1304. right: 0;
  1305. width: 12px;
  1306. height: 100vh;
  1307. z-index: 16;
  1308. pointer-events: none;
  1309. }
  1310. .reader-progress-rail__track {
  1311. width: 4px;
  1312. height: calc(100vh - 24px);
  1313. margin: 12px 4px 12px auto;
  1314. border-radius: 999px;
  1315. background: rgba(86, 70, 56, 0.16);
  1316. overflow: hidden;
  1317. }
  1318. .reader-progress-rail__fill {
  1319. width: 100%;
  1320. height: 0;
  1321. margin-top: auto;
  1322. background: linear-gradient(180deg, #c78255, #a45834);
  1323. }
  1324. .reader-float__button {
  1325. width: 78px;
  1326. min-height: 78px;
  1327. padding: 12px 10px;
  1328. border: 0;
  1329. border-radius: 12px;
  1330. background: rgba(255, 255, 255, 0.92);
  1331. box-shadow: 0 10px 26px rgba(40, 28, 20, 0.08);
  1332. display: grid;
  1333. align-content: center;
  1334. justify-items: center;
  1335. gap: 6px;
  1336. color: #5f544b;
  1337. cursor: pointer;
  1338. transition: transform 0.18s ease, background 0.18s ease;
  1339. }
  1340. .reader-float__button:hover {
  1341. transform: translateY(-1px);
  1342. background: rgba(255, 250, 243, 0.98);
  1343. }
  1344. .reader-float__button strong {
  1345. font-size: 1rem;
  1346. }
  1347. .reader-float__button span {
  1348. font-size: 0.82rem;
  1349. }
  1350. .reader-catalog-inline {
  1351. min-height: 100%;
  1352. background: #e1d6c8;
  1353. padding: 28px 40px 36px;
  1354. box-shadow: 0 22px 60px rgba(54, 33, 21, 0.08);
  1355. border-radius: 0;
  1356. }
  1357. .reader-catalog__header {
  1358. display: flex;
  1359. align-items: center;
  1360. justify-content: space-between;
  1361. gap: 16px;
  1362. margin-bottom: 18px;
  1363. }
  1364. .reader-catalog__header h2 {
  1365. margin: 0;
  1366. font-size: 2rem;
  1367. }
  1368. .reader-catalog__close {
  1369. border: 0;
  1370. background: transparent;
  1371. color: var(--muted);
  1372. cursor: pointer;
  1373. }
  1374. .reader-catalog__grid {
  1375. display: grid;
  1376. grid-template-columns: repeat(2, minmax(0, 1fr));
  1377. gap: 12px 26px;
  1378. }
  1379. .reader-catalog__item {
  1380. display: grid;
  1381. gap: 8px;
  1382. padding: 14px 0;
  1383. border-bottom: 1px solid rgba(91, 71, 56, 0.08);
  1384. }
  1385. .reader-catalog__item span {
  1386. color: var(--muted);
  1387. font-size: 0.9rem;
  1388. }
  1389. .reader-catalog__item strong {
  1390. font-size: 1.06rem;
  1391. font-weight: 600;
  1392. }
  1393. .reader-catalog__item--active {
  1394. color: #ba5f39;
  1395. font-weight: 700;
  1396. }
  1397. .reader-qq-footer {
  1398. display: grid;
  1399. grid-template-columns: 180px 1fr 1fr;
  1400. gap: 18px;
  1401. padding: 0 72px 48px;
  1402. margin-top: auto;
  1403. }
  1404. .reader-qq-footer__ghost,
  1405. .reader-qq-footer__button {
  1406. min-height: 54px;
  1407. border-radius: 999px;
  1408. display: inline-flex;
  1409. align-items: center;
  1410. justify-content: center;
  1411. border: 0;
  1412. }
  1413. .reader-qq-footer__ghost {
  1414. background: rgba(198, 141, 108, 0.14);
  1415. color: #9a5e3d;
  1416. }
  1417. .reader-qq-footer__button {
  1418. background: linear-gradient(180deg, #6ab1ff, #4f8adb);
  1419. color: white;
  1420. }
  1421. .reader-qq-footer__button--disabled {
  1422. background: rgba(129, 164, 205, 0.34);
  1423. color: rgba(255, 255, 255, 0.86);
  1424. }
  1425. .chip-row {
  1426. display: flex;
  1427. flex-wrap: wrap;
  1428. gap: 10px;
  1429. }
  1430. .chip {
  1431. padding: 8px 12px;
  1432. border-radius: 999px;
  1433. background: rgba(255, 250, 243, 0.92);
  1434. border: 1px solid var(--line);
  1435. color: var(--muted);
  1436. font-size: 0.9rem;
  1437. }
  1438. .chat-wechat-page {
  1439. min-height: calc(100vh - 74px);
  1440. height: calc(100vh - 74px);
  1441. padding: 0 0 24px;
  1442. overflow: hidden;
  1443. overscroll-behavior: none;
  1444. display: grid;
  1445. grid-template-rows: auto minmax(0, 1fr);
  1446. gap: 0;
  1447. }
  1448. .chat-wechat-page-title {
  1449. padding-bottom: 18px;
  1450. }
  1451. .chat-wechat-shell {
  1452. width: 100%;
  1453. min-height: 0;
  1454. height: 100%;
  1455. border-radius: 30px;
  1456. overflow: hidden;
  1457. border: 1px solid rgba(255, 255, 255, 0.72);
  1458. background: rgba(255, 252, 248, 0.9);
  1459. box-shadow: var(--shadow);
  1460. display: grid;
  1461. grid-template-columns: 280px minmax(0, 1fr);
  1462. }
  1463. .chat-wechat-sidebar {
  1464. padding: 22px 18px;
  1465. border-right: 1px solid var(--line);
  1466. background: rgba(255, 248, 240, 0.92);
  1467. display: grid;
  1468. grid-template-rows: auto auto minmax(0, 1fr);
  1469. gap: 8px;
  1470. }
  1471. .chat-wechat-sidebar__title {
  1472. font-size: 1.12rem;
  1473. font-weight: 700;
  1474. }
  1475. .chat-wechat-sidebar__meta {
  1476. color: var(--muted);
  1477. font-size: 0.9rem;
  1478. }
  1479. .chat-wechat-member-list {
  1480. display: grid;
  1481. gap: 10px;
  1482. align-content: start;
  1483. overflow: auto;
  1484. padding-right: 4px;
  1485. }
  1486. .chat-wechat-member {
  1487. display: flex;
  1488. align-items: center;
  1489. gap: 12px;
  1490. padding: 12px;
  1491. border-radius: 18px;
  1492. border: 1px solid rgba(91, 71, 56, 0.08);
  1493. background: rgba(255, 255, 255, 0.76);
  1494. }
  1495. .chat-wechat-member--self {
  1496. background: rgba(184, 92, 56, 0.12);
  1497. border-color: rgba(184, 92, 56, 0.18);
  1498. }
  1499. .chat-wechat-member__body {
  1500. min-width: 0;
  1501. display: grid;
  1502. gap: 4px;
  1503. }
  1504. .chat-wechat-member__body strong {
  1505. font-size: 0.96rem;
  1506. white-space: nowrap;
  1507. overflow: hidden;
  1508. text-overflow: ellipsis;
  1509. }
  1510. .chat-wechat-member__body span {
  1511. color: var(--muted);
  1512. font-size: 0.84rem;
  1513. }
  1514. .chat-wechat-main {
  1515. min-width: 0;
  1516. min-height: 0;
  1517. overflow: hidden;
  1518. display: grid;
  1519. grid-template-rows: auto minmax(0, 1fr) auto;
  1520. }
  1521. .chat-wechat-header {
  1522. padding: 22px 24px 18px;
  1523. border-bottom: 1px solid var(--line);
  1524. background: rgba(255, 248, 240, 0.92);
  1525. }
  1526. .chat-wechat-header__row {
  1527. display: flex;
  1528. align-items: center;
  1529. justify-content: space-between;
  1530. gap: 16px;
  1531. }
  1532. .chat-wechat-header__title {
  1533. font-size: 1.5rem;
  1534. font-weight: 700;
  1535. }
  1536. .chat-wechat-header__meta {
  1537. margin-top: 6px;
  1538. color: var(--muted);
  1539. }
  1540. .chat-wechat-header__presence {
  1541. display: none;
  1542. }
  1543. .chat-wechat-header__avatars {
  1544. display: flex;
  1545. align-items: center;
  1546. gap: 6px;
  1547. }
  1548. .chat-wechat-header__avatar {
  1549. width: 28px;
  1550. height: 28px;
  1551. border-radius: 10px;
  1552. border: 2px solid rgba(255, 248, 240, 0.96);
  1553. background: rgba(184, 92, 56, 0.16);
  1554. color: #9a583a;
  1555. display: inline-flex;
  1556. align-items: center;
  1557. justify-content: center;
  1558. font-size: 0.7rem;
  1559. font-weight: 700;
  1560. }
  1561. .chat-wechat-header__presence-text {
  1562. color: var(--muted);
  1563. font-size: 0.84rem;
  1564. }
  1565. .chat-wechat-status {
  1566. display: inline-flex;
  1567. align-items: center;
  1568. gap: 10px;
  1569. flex: 0 0 auto;
  1570. }
  1571. .chat-wechat-status__text {
  1572. color: var(--muted);
  1573. font-size: 0.92rem;
  1574. white-space: nowrap;
  1575. }
  1576. .chat-wechat-status__icon {
  1577. min-width: 34px;
  1578. height: 34px;
  1579. padding: 0 10px;
  1580. border-radius: 12px;
  1581. display: inline-flex;
  1582. align-items: center;
  1583. justify-content: center;
  1584. background: rgba(184, 92, 56, 0.12);
  1585. color: #9a583a;
  1586. font-size: 0.72rem;
  1587. font-weight: 700;
  1588. }
  1589. .chat-wechat-member__avatar,
  1590. .chat-wechat-avatar {
  1591. width: 38px;
  1592. height: 38px;
  1593. border-radius: 14px;
  1594. display: grid;
  1595. place-items: center;
  1596. background: rgba(184, 92, 56, 0.16);
  1597. color: #9a583a;
  1598. font-size: 0.88rem;
  1599. font-weight: 700;
  1600. }
  1601. .chat-wechat-messages {
  1602. padding: 22px 24px;
  1603. display: grid;
  1604. gap: 16px;
  1605. align-content: start;
  1606. overflow: auto;
  1607. min-height: 0;
  1608. background:
  1609. linear-gradient(180deg, rgba(255, 252, 248, 0.94), rgba(250, 245, 238, 0.98));
  1610. }
  1611. .chat-wechat-empty {
  1612. padding: 18px;
  1613. border-radius: 18px;
  1614. text-align: center;
  1615. color: var(--muted);
  1616. background: rgba(255, 255, 255, 0.72);
  1617. }
  1618. .chat-wechat-message {
  1619. display: flex;
  1620. align-items: flex-start;
  1621. gap: 12px;
  1622. }
  1623. .chat-wechat-message--self {
  1624. justify-content: flex-end;
  1625. }
  1626. .chat-wechat-avatar--self {
  1627. background: rgba(110, 154, 90, 0.18);
  1628. color: #4f7740;
  1629. }
  1630. .chat-wechat-message__body {
  1631. max-width: min(620px, 100%);
  1632. display: inline-flex;
  1633. flex-direction: column;
  1634. align-items: flex-start;
  1635. }
  1636. .chat-wechat-message__body--image {
  1637. max-width: min(320px, 100%);
  1638. }
  1639. .chat-wechat-message__name,
  1640. .chat-wechat-message__time {
  1641. color: var(--muted);
  1642. font-size: 0.82rem;
  1643. }
  1644. .chat-wechat-message__name {
  1645. margin-bottom: 6px;
  1646. }
  1647. .chat-wechat-message__time {
  1648. margin-top: 6px;
  1649. }
  1650. .chat-wechat-message--self .chat-wechat-message__time {
  1651. text-align: right;
  1652. width: 100%;
  1653. }
  1654. .chat-wechat-bubble {
  1655. display: inline-block;
  1656. width: fit-content;
  1657. max-width: 100%;
  1658. padding: 14px 16px;
  1659. border-radius: 8px 18px 18px 18px;
  1660. background: #ffffff;
  1661. border: 1px solid rgba(91, 71, 56, 0.08);
  1662. box-shadow: 0 8px 18px rgba(45, 31, 22, 0.04);
  1663. }
  1664. .chat-wechat-message--self .chat-wechat-bubble {
  1665. border-radius: 18px 8px 18px 18px;
  1666. background: #dff2d8;
  1667. }
  1668. .chat-wechat-bubble__text {
  1669. line-height: 1.75;
  1670. overflow-wrap: anywhere;
  1671. }
  1672. .chat-wechat-bubble--attachment-only {
  1673. padding: 10px;
  1674. }
  1675. .chat-wechat-bubble--image {
  1676. padding: 10px;
  1677. max-width: min(320px, 100%);
  1678. }
  1679. .chat-wechat-file {
  1680. margin-top: 10px;
  1681. padding: 12px;
  1682. border-radius: 14px;
  1683. background: rgba(255, 255, 255, 0.8);
  1684. }
  1685. .chat-wechat-file--image {
  1686. margin-top: 0;
  1687. padding: 0;
  1688. background: transparent;
  1689. display: inline-grid;
  1690. width: fit-content;
  1691. max-width: 100%;
  1692. }
  1693. .chat-wechat-file--download {
  1694. min-width: 260px;
  1695. }
  1696. .chat-wechat-file__image-button {
  1697. display: inline-block;
  1698. padding: 0;
  1699. border: 0;
  1700. background: transparent;
  1701. cursor: pointer;
  1702. }
  1703. .chat-wechat-file__image {
  1704. width: min(280px, 100%);
  1705. display: block;
  1706. margin-bottom: 10px;
  1707. border-radius: 12px;
  1708. object-fit: cover;
  1709. }
  1710. .chat-wechat-file__meta {
  1711. margin-top: 6px;
  1712. color: var(--muted);
  1713. font-size: 0.86rem;
  1714. }
  1715. .chat-wechat-file__link {
  1716. color: inherit;
  1717. text-decoration: none;
  1718. border: 0;
  1719. background: transparent;
  1720. padding: 0;
  1721. text-align: left;
  1722. cursor: pointer;
  1723. }
  1724. .chat-wechat-file__link strong {
  1725. display: inline-block;
  1726. }
  1727. .chat-wechat-file__download {
  1728. width: 100%;
  1729. display: grid;
  1730. grid-template-columns: 38px minmax(0, 1fr);
  1731. gap: 10px;
  1732. align-items: center;
  1733. padding: 10px 12px;
  1734. border: 0;
  1735. border-radius: 14px;
  1736. background: rgba(255, 255, 255, 0.78);
  1737. cursor: pointer;
  1738. text-align: left;
  1739. }
  1740. .chat-wechat-file__icon {
  1741. width: 38px;
  1742. height: 38px;
  1743. border-radius: 12px;
  1744. background: rgba(184, 92, 56, 0.14);
  1745. color: #9a583a;
  1746. display: inline-flex;
  1747. align-items: center;
  1748. justify-content: center;
  1749. font-size: 0.88rem;
  1750. font-weight: 700;
  1751. }
  1752. .chat-wechat-file__info {
  1753. display: grid;
  1754. gap: 4px;
  1755. }
  1756. .chat-wechat-file__info span {
  1757. color: var(--muted);
  1758. font-size: 0.82rem;
  1759. }
  1760. .chat-wechat-composer {
  1761. padding: 16px 18px 18px;
  1762. border-top: 1px solid var(--line);
  1763. background: rgba(249, 244, 236, 0.98);
  1764. }
  1765. .chat-wechat-composer__tools {
  1766. display: flex;
  1767. align-items: center;
  1768. justify-content: space-between;
  1769. gap: 10px;
  1770. margin-bottom: 10px;
  1771. }
  1772. .chat-wechat-tools-left {
  1773. display: flex;
  1774. align-items: center;
  1775. gap: 8px;
  1776. }
  1777. .chat-wechat-composer__row {
  1778. display: grid;
  1779. grid-template-columns: minmax(0, 1fr) 74px;
  1780. gap: 10px;
  1781. align-items: stretch;
  1782. }
  1783. .chat-wechat-tool,
  1784. .chat-wechat-send {
  1785. min-height: 44px;
  1786. border: 0;
  1787. border-radius: 14px;
  1788. }
  1789. .chat-wechat-tool {
  1790. background: rgba(255, 255, 255, 0.88);
  1791. cursor: pointer;
  1792. width: 44px;
  1793. min-width: 44px;
  1794. display: inline-flex;
  1795. align-items: center;
  1796. justify-content: center;
  1797. font-size: 1.1rem;
  1798. }
  1799. .chat-wechat-tool__icon {
  1800. width: 18px;
  1801. height: 18px;
  1802. display: block;
  1803. }
  1804. .chat-wechat-send {
  1805. background: #7bb463;
  1806. color: white;
  1807. cursor: pointer;
  1808. }
  1809. .chat-wechat-input {
  1810. min-height: 44px;
  1811. height: 44px;
  1812. max-height: 120px;
  1813. width: 100%;
  1814. resize: none;
  1815. border: 0;
  1816. border-radius: 16px;
  1817. background: rgba(255, 255, 255, 0.96);
  1818. padding: 12px 14px;
  1819. }
  1820. .chat-wechat-tool.is-active {
  1821. background: rgba(123, 180, 99, 0.16);
  1822. color: #467536;
  1823. }
  1824. .chat-wechat-tool--danger {
  1825. color: #b24a2f;
  1826. background: rgba(214, 108, 77, 0.12);
  1827. font-size: 0;
  1828. position: relative;
  1829. }
  1830. .chat-wechat-tool--danger::before {
  1831. content: "";
  1832. width: 18px;
  1833. height: 18px;
  1834. display: block;
  1835. background-repeat: no-repeat;
  1836. background-position: center;
  1837. background-size: 18px 18px;
  1838. background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b24a2f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4.5h6m-8 3h10m-8.5 0 .6 10.2c.1 1 1 1.8 2 1.8h2.8c1 0 1.9-.8 2-1.8l.6-10.2M10 10.5v5.5M14 10.5v5.5'/%3E%3C/svg%3E");
  1839. }
  1840. .chat-wechat-emoji-panel {
  1841. display: flex;
  1842. flex-wrap: wrap;
  1843. gap: 8px;
  1844. padding: 10px;
  1845. margin-bottom: 10px;
  1846. border-radius: 18px;
  1847. background: rgba(255, 255, 255, 0.76);
  1848. }
  1849. .chat-wechat-emoji-panel button {
  1850. width: 40px;
  1851. height: 40px;
  1852. border: 0;
  1853. border-radius: 12px;
  1854. background: rgba(245, 239, 231, 0.96);
  1855. cursor: pointer;
  1856. }
  1857. .chat-wechat-error {
  1858. color: #b24a2f;
  1859. font-size: 0.86rem;
  1860. }
  1861. .chat-wechat-attachment {
  1862. display: grid;
  1863. grid-template-columns: auto minmax(0, 1fr) 36px;
  1864. gap: 10px;
  1865. align-items: center;
  1866. padding: 10px 12px;
  1867. margin-bottom: 10px;
  1868. border-radius: 16px;
  1869. background: rgba(255, 255, 255, 0.78);
  1870. }
  1871. .chat-wechat-attachment__image {
  1872. width: 44px;
  1873. height: 44px;
  1874. border-radius: 10px;
  1875. object-fit: cover;
  1876. }
  1877. .chat-wechat-attachment__meta {
  1878. display: grid;
  1879. gap: 4px;
  1880. }
  1881. .chat-wechat-attachment__meta span {
  1882. color: var(--muted);
  1883. font-size: 0.84rem;
  1884. }
  1885. .chat-wechat-attachment button {
  1886. width: 36px;
  1887. height: 36px;
  1888. border: 0;
  1889. border-radius: 10px;
  1890. background: rgba(184, 92, 56, 0.12);
  1891. color: #9a583a;
  1892. cursor: pointer;
  1893. }
  1894. .chat-wechat-send:disabled {
  1895. opacity: 0.72;
  1896. cursor: default;
  1897. }
  1898. .chat-wechat-image-viewer {
  1899. position: fixed;
  1900. inset: 0;
  1901. z-index: 60;
  1902. display: grid;
  1903. place-items: center;
  1904. padding: 20px;
  1905. background: rgba(14, 12, 10, 0.88);
  1906. }
  1907. .chat-wechat-image-viewer__image {
  1908. max-width: min(92vw, 980px);
  1909. max-height: 92vh;
  1910. object-fit: contain;
  1911. border-radius: 16px;
  1912. }
  1913. @media (max-width: 960px) {
  1914. .site-nav {
  1915. display: none;
  1916. }
  1917. .site-menu-button {
  1918. display: inline-flex;
  1919. flex-direction: column;
  1920. }
  1921. .site-drawer,
  1922. .site-drawer-backdrop {
  1923. display: block;
  1924. }
  1925. body.reader-body {
  1926. overflow: hidden;
  1927. }
  1928. .hero,
  1929. .home-sections,
  1930. .chat-layout,
  1931. .reader-layout {
  1932. grid-template-columns: 1fr;
  1933. }
  1934. .chat-sidebar,
  1935. .reader-sidebar {
  1936. border-right: 0;
  1937. border-bottom: 1px solid var(--line);
  1938. }
  1939. .library-grid {
  1940. grid-template-columns: repeat(2, minmax(0, 1fr));
  1941. }
  1942. .agents-grid {
  1943. grid-template-columns: repeat(2, minmax(0, 1fr));
  1944. }
  1945. .agent-stats {
  1946. grid-template-columns: repeat(2, minmax(0, 1fr));
  1947. }
  1948. .agents-intro,
  1949. .agent-detail-grid {
  1950. grid-template-columns: 1fr;
  1951. }
  1952. .agents-monitor-top {
  1953. flex-direction: column;
  1954. align-items: stretch;
  1955. }
  1956. .agents-monitor-strip {
  1957. grid-template-columns: repeat(2, minmax(0, 1fr));
  1958. }
  1959. .agents-worklist {
  1960. grid-template-columns: repeat(2, minmax(0, 1fr));
  1961. }
  1962. .agents-workitem__head {
  1963. flex-direction: column;
  1964. align-items: stretch;
  1965. }
  1966. .agents-workitem__metrics {
  1967. justify-content: flex-start;
  1968. }
  1969. .reader-stage {
  1970. height: 100dvh;
  1971. padding: 72px 0 86px;
  1972. overflow: auto;
  1973. display: block;
  1974. background: var(--reader-page) !important;
  1975. }
  1976. .reader-desktop-layout {
  1977. display: block;
  1978. width: auto;
  1979. max-width: none;
  1980. }
  1981. .reader-qq-shell {
  1982. width: 100% !important;
  1983. min-height: calc(100dvh - 158px);
  1984. overflow: visible;
  1985. background: var(--reader-page);
  1986. }
  1987. .reader-float {
  1988. display: none;
  1989. }
  1990. .reader-progress-rail {
  1991. display: none;
  1992. }
  1993. .reader-catalog__grid,
  1994. .reader-qq-footer {
  1995. grid-template-columns: 1fr;
  1996. }
  1997. .reader-mobile-bar {
  1998. position: fixed;
  1999. left: 0;
  2000. right: 0;
  2001. z-index: 28;
  2002. display: grid;
  2003. gap: 0;
  2004. padding: 10px 14px;
  2005. background: var(--reader-page);
  2006. backdrop-filter: blur(14px);
  2007. }
  2008. .reader-mobile-bar--top {
  2009. top: 0;
  2010. grid-template-columns: 1fr 56px 56px;
  2011. align-items: center;
  2012. border-bottom: 1px solid rgba(91, 71, 56, 0.08);
  2013. }
  2014. .reader-mobile-bar--bottom {
  2015. bottom: 0;
  2016. grid-template-columns: repeat(3, minmax(0, 1fr));
  2017. border-top: 1px solid rgba(91, 71, 56, 0.08);
  2018. }
  2019. .reader-mobile-bar__icon,
  2020. .reader-mobile-bar__action {
  2021. min-height: 42px;
  2022. padding: 0 12px;
  2023. border: 0;
  2024. border-radius: 0;
  2025. background: transparent;
  2026. box-shadow: none;
  2027. display: flex;
  2028. align-items: center;
  2029. justify-content: center;
  2030. color: #54483f;
  2031. }
  2032. .reader-mobile-bar__icon {
  2033. font-size: 0.92rem;
  2034. font-weight: 600;
  2035. white-space: nowrap;
  2036. }
  2037. .reader-mobile-bar__icon--back,
  2038. .reader-mobile-bar__icon:first-child {
  2039. justify-content: flex-start;
  2040. padding-left: 4px;
  2041. }
  2042. .reader-mobile-bar__action {
  2043. font-size: 0.9rem;
  2044. border-right: 1px solid rgba(91, 71, 56, 0.08);
  2045. }
  2046. .reader-mobile-bar__action:last-child {
  2047. border-right: 0;
  2048. }
  2049. .reader-mobile-bar__action--disabled {
  2050. color: #a99a8d;
  2051. }
  2052. .reader-qq-paper,
  2053. .reader-catalog-inline {
  2054. min-height: calc(100dvh - 158px);
  2055. }
  2056. .reader-qq-paper--desktop-hidden {
  2057. display: flex;
  2058. }
  2059. .reader-qq-paper {
  2060. box-shadow: none;
  2061. background: var(--reader-page) !important;
  2062. }
  2063. .reader-qq-header {
  2064. padding: 28px 20px 18px;
  2065. background: var(--reader-page);
  2066. }
  2067. .reader-qq-content {
  2068. padding: 20px 20px 28px;
  2069. background: var(--reader-page);
  2070. }
  2071. .reader-qq-content p {
  2072. margin-bottom: 1.35em;
  2073. font-size: clamp(1rem, 4vw, 1.12rem);
  2074. line-height: 2.08;
  2075. }
  2076. .reader-catalog-inline {
  2077. padding: 22px 20px 28px;
  2078. }
  2079. .reader-catalog-mobile-mask {
  2080. position: fixed;
  2081. inset: 0;
  2082. display: block;
  2083. background: rgba(28, 21, 16, 0.38);
  2084. z-index: 26;
  2085. }
  2086. .reader-catalog-mobile-mask[hidden] {
  2087. display: none;
  2088. }
  2089. .reader-catalog-mobile-sheet {
  2090. position: fixed;
  2091. left: 0;
  2092. right: 0;
  2093. bottom: 0;
  2094. display: block;
  2095. max-height: min(72dvh, 680px);
  2096. padding: 18px 18px 28px;
  2097. border-radius: 26px 26px 0 0;
  2098. box-shadow: 0 -20px 40px rgba(28, 21, 16, 0.2);
  2099. transform: translateY(102%);
  2100. transition: transform 0.22s ease;
  2101. z-index: 27;
  2102. overflow: auto;
  2103. pointer-events: none;
  2104. }
  2105. .reader-catalog-mobile-sheet.is-open {
  2106. transform: translateY(0);
  2107. pointer-events: auto;
  2108. }
  2109. .reader-catalog-mobile-sheet .reader-catalog__header {
  2110. position: sticky;
  2111. top: 0;
  2112. z-index: 1;
  2113. background: inherit;
  2114. }
  2115. .reader-catalog-inline {
  2116. display: none;
  2117. }
  2118. .reader-catalog__header {
  2119. position: sticky;
  2120. top: 0;
  2121. padding-bottom: 14px;
  2122. background: inherit;
  2123. z-index: 1;
  2124. }
  2125. .reader-qq-footer {
  2126. padding: 0 20px 22px;
  2127. gap: 12px;
  2128. }
  2129. .reader-qq-footer {
  2130. display: none;
  2131. }
  2132. .reader-qq-footer__ghost,
  2133. .reader-qq-footer__button {
  2134. min-height: 48px;
  2135. }
  2136. .agent-quick-grid {
  2137. grid-template-columns: repeat(3, minmax(0, 1fr));
  2138. }
  2139. }
  2140. @media (max-width: 640px) {
  2141. body.chat-body {
  2142. overflow: hidden;
  2143. position: static;
  2144. width: auto;
  2145. min-height: 100svh;
  2146. }
  2147. .chat-wechat-page {
  2148. padding: 0;
  2149. height: calc(100svh - 74px);
  2150. min-height: calc(100svh - 74px);
  2151. overflow: hidden;
  2152. width: 100%;
  2153. max-width: 100%;
  2154. min-width: 0;
  2155. margin: 0;
  2156. display: grid;
  2157. grid-template-rows: minmax(0, 1fr);
  2158. gap: 0;
  2159. background: #efeae2;
  2160. }
  2161. .chat-wechat-page-title {
  2162. display: none;
  2163. }
  2164. .chat-wechat-shell {
  2165. width: 100%;
  2166. min-height: 0;
  2167. height: 100%;
  2168. border-radius: 0;
  2169. border: 0;
  2170. box-shadow: none;
  2171. background: #efeae2;
  2172. display: grid;
  2173. grid-template-columns: 1fr;
  2174. grid-template-rows: minmax(0, 1fr);
  2175. }
  2176. .chat-wechat-main {
  2177. height: 100%;
  2178. min-height: 0;
  2179. }
  2180. .chat-wechat-sidebar {
  2181. display: none;
  2182. }
  2183. .chat-wechat-header {
  2184. padding: 14px 16px 10px;
  2185. background: #f6efe6;
  2186. }
  2187. .chat-wechat-header__row {
  2188. align-items: center;
  2189. justify-content: space-between;
  2190. gap: 10px;
  2191. }
  2192. .chat-wechat-header__main {
  2193. min-width: 0;
  2194. flex: 1 1 auto;
  2195. display: flex;
  2196. align-items: baseline;
  2197. justify-content: space-between;
  2198. gap: 10px;
  2199. }
  2200. .chat-wechat-header__title {
  2201. font-size: 1.15rem;
  2202. white-space: nowrap;
  2203. }
  2204. .chat-wechat-header__meta {
  2205. margin-top: 0;
  2206. font-size: 0.78rem;
  2207. white-space: nowrap;
  2208. text-align: right;
  2209. overflow: hidden;
  2210. text-overflow: ellipsis;
  2211. }
  2212. .chat-wechat-status {
  2213. display: none;
  2214. }
  2215. .chat-wechat-status__text {
  2216. font-size: 0.84rem;
  2217. }
  2218. .chat-wechat-status__icon {
  2219. min-width: 30px;
  2220. height: 30px;
  2221. padding: 0 8px;
  2222. border-radius: 10px;
  2223. }
  2224. .chat-wechat-messages {
  2225. padding: 14px 12px 18px;
  2226. gap: 12px;
  2227. background: #efeae2;
  2228. overflow: auto;
  2229. min-height: 0;
  2230. padding-bottom: 18px;
  2231. }
  2232. .chat-wechat-header__presence {
  2233. margin-top: 10px;
  2234. display: flex;
  2235. align-items: center;
  2236. justify-content: space-between;
  2237. gap: 12px;
  2238. }
  2239. .chat-wechat-header__avatars {
  2240. gap: 8px;
  2241. }
  2242. .chat-wechat-message {
  2243. gap: 8px;
  2244. }
  2245. .chat-wechat-avatar {
  2246. width: 34px;
  2247. height: 34px;
  2248. border-radius: 12px;
  2249. }
  2250. .chat-wechat-message__body {
  2251. max-width: calc(100% - 48px);
  2252. }
  2253. .chat-wechat-bubble {
  2254. padding: 12px 13px;
  2255. border-radius: 6px 16px 16px 16px;
  2256. box-shadow: none;
  2257. }
  2258. .chat-wechat-message--self .chat-wechat-bubble {
  2259. border-radius: 16px 6px 16px 16px;
  2260. }
  2261. .chat-wechat-composer {
  2262. padding: 10px 12px calc(12px + env(safe-area-inset-bottom));
  2263. background: rgba(245, 239, 231, 0.98);
  2264. backdrop-filter: blur(12px);
  2265. z-index: 6;
  2266. margin-top: 0;
  2267. position: relative;
  2268. box-shadow: 0 -10px 26px rgba(49, 34, 22, 0.06);
  2269. }
  2270. .chat-wechat-composer::after {
  2271. content: "";
  2272. position: absolute;
  2273. left: 0;
  2274. right: 0;
  2275. bottom: calc(-1 * env(safe-area-inset-bottom));
  2276. height: env(safe-area-inset-bottom);
  2277. background: rgba(245, 239, 231, 0.98);
  2278. }
  2279. .chat-wechat-composer__tools {
  2280. margin-bottom: 8px;
  2281. }
  2282. .chat-wechat-tool,
  2283. .chat-wechat-send {
  2284. min-height: 42px;
  2285. }
  2286. .chat-wechat-tool {
  2287. width: 42px;
  2288. min-width: 42px;
  2289. border-radius: 12px;
  2290. }
  2291. .chat-wechat-composer__row {
  2292. grid-template-columns: minmax(0, 1fr) 72px;
  2293. gap: 8px;
  2294. }
  2295. .chat-wechat-input {
  2296. min-height: 42px;
  2297. height: 42px;
  2298. padding: 10px 12px;
  2299. border-radius: 14px;
  2300. }
  2301. .chat-wechat-emoji-panel {
  2302. padding: 8px;
  2303. border-radius: 16px;
  2304. }
  2305. .chat-wechat-emoji-panel button {
  2306. width: 38px;
  2307. height: 38px;
  2308. border-radius: 10px;
  2309. }
  2310. .chat-wechat-attachment {
  2311. grid-template-columns: auto minmax(0, 1fr) 32px;
  2312. padding: 9px 10px;
  2313. }
  2314. .chat-wechat-attachment__image {
  2315. width: 40px;
  2316. height: 40px;
  2317. }
  2318. .chat-wechat-attachment button {
  2319. width: 32px;
  2320. height: 32px;
  2321. }
  2322. .chat-wechat-image-viewer {
  2323. padding: 14px;
  2324. }
  2325. .chat-wechat-image-viewer__image {
  2326. max-width: calc(100vw - 28px);
  2327. max-height: calc(100svh - 28px);
  2328. }
  2329. .site-header {
  2330. position: sticky;
  2331. top: 0;
  2332. background: #fbf6ef;
  2333. backdrop-filter: none;
  2334. }
  2335. .page-shell {
  2336. width: min(100vw - 20px, 100%);
  2337. }
  2338. .site-header__inner {
  2339. padding: 12px 0;
  2340. }
  2341. .site-drawer,
  2342. .site-drawer-backdrop {
  2343. display: block;
  2344. }
  2345. .site-drawer {
  2346. background: transparent;
  2347. }
  2348. .site-drawer__panel {
  2349. margin-left: 0;
  2350. width: 100vw;
  2351. min-width: 0;
  2352. min-height: 100dvh;
  2353. height: 100dvh;
  2354. padding-top: 88px;
  2355. background: #fbf6ef;
  2356. box-shadow: none;
  2357. }
  2358. .site-brand__name {
  2359. color: #241c16;
  2360. }
  2361. .site-menu-button {
  2362. border-color: rgba(60, 42, 27, 0.14);
  2363. background: #fff8f0;
  2364. }
  2365. .hero {
  2366. padding-top: 18px;
  2367. gap: 16px;
  2368. }
  2369. .hero__main,
  2370. .section-card,
  2371. .library-shell,
  2372. .agents-shell,
  2373. .chat-sidebar,
  2374. .chat-toolbar,
  2375. .chat-messages,
  2376. .chat-composer,
  2377. .reader-sidebar,
  2378. .reader-topbar,
  2379. .reader-footer,
  2380. .reader-content {
  2381. padding-left: 16px;
  2382. padding-right: 16px;
  2383. }
  2384. .library-grid {
  2385. grid-template-columns: 1fr;
  2386. }
  2387. .book-card {
  2388. display: grid;
  2389. grid-template-columns: 112px minmax(0, 1fr);
  2390. }
  2391. .book-cover {
  2392. aspect-ratio: auto;
  2393. min-height: 100%;
  2394. padding: 16px;
  2395. }
  2396. .book-cover__title {
  2397. font-size: 1.1rem;
  2398. }
  2399. .agents-grid {
  2400. grid-template-columns: 1fr;
  2401. }
  2402. .agent-stats {
  2403. grid-template-columns: 1fr;
  2404. }
  2405. .agents-monitor-strip {
  2406. grid-template-columns: 1fr;
  2407. }
  2408. .agents-worklist {
  2409. grid-template-columns: 1fr;
  2410. }
  2411. .agents-workitem {
  2412. padding: 14px 14px 16px;
  2413. border-radius: 18px;
  2414. }
  2415. .agents-workitem__identity {
  2416. align-items: flex-start;
  2417. }
  2418. .agents-workitem__name-row {
  2419. gap: 8px;
  2420. }
  2421. .agents-workitem__metrics,
  2422. .agents-workitem__meta {
  2423. gap: 8px 10px;
  2424. }
  2425. .reader-qq-header {
  2426. padding: 24px 16px 16px;
  2427. }
  2428. .reader-qq-header h1 {
  2429. font-size: clamp(1.6rem, 8vw, 2.1rem);
  2430. }
  2431. .reader-qq-meta {
  2432. justify-content: flex-start;
  2433. gap: 8px 14px;
  2434. font-size: 0.84rem;
  2435. }
  2436. .reader-catalog-inline {
  2437. padding: 18px 16px 24px;
  2438. }
  2439. .reader-catalog__header h2 {
  2440. font-size: 1.5rem;
  2441. }
  2442. .reader-qq-footer {
  2443. padding-left: 16px;
  2444. padding-right: 16px;
  2445. }
  2446. .agent-quick-grid {
  2447. grid-template-columns: 1fr;
  2448. }
  2449. .agents-toolbar,
  2450. .agent-detail-hero {
  2451. flex-direction: column;
  2452. align-items: stretch;
  2453. }
  2454. .agent-row {
  2455. grid-template-columns: 1fr;
  2456. gap: 6px;
  2457. }
  2458. .composer-grid {
  2459. grid-template-columns: 1fr;
  2460. }
  2461. .chat-layout {
  2462. border-radius: 24px;
  2463. overflow: hidden;
  2464. background: rgba(255, 250, 243, 0.92);
  2465. margin-bottom: 18px;
  2466. }
  2467. .page-title--compact-mobile {
  2468. padding: 14px 0 10px;
  2469. }
  2470. .page-title--compact-mobile h1 {
  2471. font-size: 2rem;
  2472. }
  2473. .page-title--compact-mobile p {
  2474. display: none;
  2475. }
  2476. .chat-sidebar {
  2477. padding-top: 14px;
  2478. padding-bottom: 12px;
  2479. background: rgba(255, 247, 239, 0.96);
  2480. }
  2481. .presence-list {
  2482. grid-auto-flow: column;
  2483. grid-auto-columns: minmax(180px, 78%);
  2484. overflow-x: auto;
  2485. padding-bottom: 4px;
  2486. scroll-snap-type: x proximity;
  2487. }
  2488. .presence-item {
  2489. min-height: 100%;
  2490. scroll-snap-align: start;
  2491. }
  2492. .chat-main {
  2493. min-height: auto;
  2494. grid-template-rows: auto minmax(0, 1fr) auto;
  2495. background: rgba(255, 250, 243, 0.84);
  2496. }
  2497. .chat-toolbar strong {
  2498. display: block;
  2499. font-size: 1.05rem;
  2500. }
  2501. .chat-toolbar__hint,
  2502. .chat-sidebar__hint {
  2503. display: none;
  2504. }
  2505. .chat-messages {
  2506. padding-top: 14px;
  2507. padding-bottom: 16px;
  2508. max-height: 44vh;
  2509. overflow: auto;
  2510. }
  2511. .message {
  2512. max-width: 100%;
  2513. padding: 12px 14px;
  2514. border-radius: 18px;
  2515. }
  2516. .composer-input-hint {
  2517. font-size: 0.86rem;
  2518. line-height: 1.5;
  2519. }
  2520. .composer-input--drop {
  2521. min-height: 64px;
  2522. border-radius: 18px;
  2523. resize: none;
  2524. padding: 14px 16px;
  2525. }
  2526. .composer-actions--stacked {
  2527. width: 100%;
  2528. height: auto;
  2529. grid-template-columns: minmax(0, 1fr) 92px;
  2530. grid-template-rows: none;
  2531. align-items: stretch;
  2532. gap: 10px;
  2533. }
  2534. .composer-actions--stacked .button {
  2535. min-height: 46px;
  2536. white-space: nowrap;
  2537. }
  2538. .chat-composer {
  2539. position: sticky;
  2540. bottom: 0;
  2541. background: rgba(251, 246, 239, 0.96);
  2542. backdrop-filter: blur(12px);
  2543. box-shadow: 0 -12px 30px rgba(49, 34, 22, 0.08);
  2544. }
  2545. .button {
  2546. width: 100%;
  2547. }
  2548. .hero__actions {
  2549. display: grid;
  2550. }
  2551. .home-sections {
  2552. gap: 16px;
  2553. padding-bottom: 28px;
  2554. }
  2555. .reader-paper {
  2556. padding: 22px 18px;
  2557. border-radius: 22px;
  2558. }
  2559. .site-brand__tag {
  2560. display: none;
  2561. }
  2562. .reader-mobile-bar--top {
  2563. grid-template-columns: 1fr 92px 92px;
  2564. }
  2565. .reader-mobile-bar__icon,
  2566. .reader-mobile-bar__action {
  2567. min-height: 42px;
  2568. }
  2569. .reader-catalog-mobile-sheet {
  2570. max-height: 78dvh;
  2571. padding: 16px 16px 24px;
  2572. }
  2573. }