@abraca/junis 2.83.0 → 2.85.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/README.md +2 -2
  2. package/dist/module.json +1 -1
  3. package/dist/module.mjs +49 -5
  4. package/dist/runtime/assets/css/jun.css +1 -1
  5. package/dist/runtime/components/JunBlobBackdrop.client.vue +1 -1
  6. package/dist/runtime/components/JunCampfireChat.vue +6 -4
  7. package/dist/runtime/components/JunCampfireComposer.d.vue.ts +27 -0
  8. package/dist/runtime/components/JunCampfireComposer.vue +158 -0
  9. package/dist/runtime/components/JunCampfireComposer.vue.d.ts +27 -0
  10. package/dist/runtime/components/JunCampfirePanel.vue +8 -18
  11. package/dist/runtime/components/JunCampfirePresence.client.vue +102 -2
  12. package/dist/runtime/components/JunCampfireReactions.d.vue.ts +13 -0
  13. package/dist/runtime/components/JunCampfireReactions.vue +142 -0
  14. package/dist/runtime/components/JunCampfireReactions.vue.d.ts +13 -0
  15. package/dist/runtime/components/JunCampfireRoster.vue +82 -31
  16. package/dist/runtime/components/JunHead.vue +37 -5
  17. package/dist/runtime/components/JunLogo.vue +10 -45
  18. package/dist/runtime/components/JunMosaicPane.client.d.vue.ts +9 -0
  19. package/dist/runtime/components/JunMosaicPane.client.vue +63 -3
  20. package/dist/runtime/components/JunMosaicPane.client.vue.d.ts +9 -0
  21. package/dist/runtime/components/JunPatternBackdrop.client.vue +1 -1
  22. package/dist/runtime/components/JunShaderBackdrop.client.vue +1 -1
  23. package/dist/runtime/components/JunStudioBar.client.vue +2 -1
  24. package/dist/runtime/components/renderers/JunConfigRenderer.vue +14 -14
  25. package/dist/runtime/components/renderers/JunEntryRenderer.vue +6 -8
  26. package/dist/runtime/components/renderers/JunFestivalRenderer.vue +1 -1
  27. package/dist/runtime/components/renderers/JunHomeRenderer.vue +3 -3
  28. package/dist/runtime/components/renderers/JunLiveRenderer.vue +1 -1
  29. package/dist/runtime/components/renderers/JunMosaicRenderer.vue +14 -12
  30. package/dist/runtime/components/renderers/JunNowRenderer.vue +2 -2
  31. package/dist/runtime/components/renderers/JunUsesRenderer.vue +6 -8
  32. package/dist/runtime/composables/useJunCampfire.d.ts +2 -0
  33. package/dist/runtime/composables/useJunCampfire.js +11 -1
  34. package/dist/runtime/composables/useJunDocMenu.d.ts +16 -1
  35. package/dist/runtime/composables/useJunDocMenu.js +8 -0
  36. package/dist/runtime/composables/useJunOptions.d.ts +1 -0
  37. package/dist/runtime/composables/useJunTheme.js +9 -48
  38. package/dist/runtime/layouts/jun.vue +10 -0
  39. package/dist/runtime/plugins/jun-sw.client.d.ts +2 -0
  40. package/dist/runtime/plugins/jun-sw.client.js +36 -0
  41. package/dist/runtime/server/plugins/jun-janitor.js +2 -1
  42. package/dist/runtime/server/routes/jun-icon.png.get.d.ts +2 -0
  43. package/dist/runtime/server/routes/jun-icon.png.get.js +25 -0
  44. package/dist/runtime/server/routes/jun-icon.svg.get.d.ts +2 -0
  45. package/dist/runtime/server/routes/jun-icon.svg.get.js +9 -0
  46. package/dist/runtime/server/routes/jun-splash.png.get.d.ts +2 -0
  47. package/dist/runtime/server/routes/jun-splash.png.get.js +37 -0
  48. package/dist/runtime/server/routes/jun-sw.js.get.d.ts +2 -0
  49. package/dist/runtime/server/routes/jun-sw.js.get.js +126 -0
  50. package/dist/runtime/server/routes/manifest.webmanifest.get.d.ts +24 -0
  51. package/dist/runtime/server/routes/manifest.webmanifest.get.js +51 -0
  52. package/dist/runtime/server/utils/junBrand.d.ts +4 -0
  53. package/dist/runtime/server/utils/junBrand.js +9 -0
  54. package/dist/runtime/server/utils/junIcon.d.ts +44 -0
  55. package/dist/runtime/server/utils/junIcon.js +374 -0
  56. package/dist/runtime/types.d.ts +51 -2
  57. package/dist/runtime/utils/junIdentity.d.ts +121 -0
  58. package/dist/runtime/utils/junIdentity.js +115 -0
  59. package/dist/runtime/utils/junMark.d.ts +254 -0
  60. package/dist/runtime/utils/junMark.js +169 -0
  61. package/package.json +7 -7
package/README.md CHANGED
@@ -8,14 +8,14 @@ visitor interaction — all driven by documents rather than code.
8
8
  > **Status: pre-1.0, and honest about it.** All **23** page types render and are
9
9
  > exercised on every boot from an **empty database** — the playground ships no
10
10
  > database, deliberately, because one that ships a database never proves its
11
- > seeder works. A cold start seeds **64 documents**, **19 bodies** and two
11
+ > seeder works. A cold start seeds **98 documents**, **34 bodies** and two
12
12
  > generated photographs for the wall.
13
13
  >
14
14
  > Verified on every change, and these numbers are what the commands print:
15
15
  >
16
16
  > | | |
17
17
  > |---|---|
18
- > | `pnpm parity` | **394** SSR assertions across all 23 types |
18
+ > | `pnpm parity` | **619** SSR assertions across all 23 types |
19
19
  > | `pnpm parity:nav` | **56** assertions — the only check that catches broken client-side navigation |
20
20
  > | `pnpm test` | **150** assertions, no server needed |
21
21
  > | `pnpm lint` · `pnpm typecheck` | clean |
package/dist/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": ">=4.0.0"
6
6
  },
7
- "version": "2.83.0",
7
+ "version": "2.85.0",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "1.0.2",
10
10
  "unbuild": "3.6.1"
package/dist/module.mjs CHANGED
@@ -424,12 +424,21 @@ const DEFAULT_CAMPFIRE = {
424
424
  roster: true,
425
425
  identity: true,
426
426
  reactions: true,
427
+ bubbles: true,
427
428
  follow: true,
428
429
  showPages: true,
429
430
  showBots: false,
430
431
  allowRename: true,
431
- // Warmth, welcome, a shared drink. Never sparkles.
432
- reactionSet: ["\u{1F525}", "\u2764\uFE0F", "\u{1F44B}", "\u2615"],
432
+ // The QUICK row — one press each, no picker. Warmth, welcome, agreement, a
433
+ // shared drink, and enough range that a passing traveller has something to
434
+ // say that is not just approval. Never sparkles.
435
+ //
436
+ // Eight rather than four: the footer row was laid out for eight from the
437
+ // start and shipped with half of them, so a visitor's whole vocabulary was
438
+ // fire, heart, wave, coffee. Anything beyond this row lives in the picker
439
+ // (`JunCampfireReactions`), which is the full set and always available —
440
+ // this is the shortcut, not the ceiling.
441
+ reactionSet: ["\u{1F525}", "\u2764\uFE0F", "\u{1F44B}", "\u2615", "\u{1F604}", "\u{1F389}", "\u{1F44F}", "\u{1F914}"],
433
442
  historyLimit: 60,
434
443
  placement: "bottom-right",
435
444
  size: "md",
@@ -511,6 +520,9 @@ const module$1 = defineNuxtModule({
511
520
  awareBlobs: true,
512
521
  // Kept, deliberately unmounted — see runtime/types.ts for why.
513
522
  peerCursors: false,
523
+ // ON: unlike cursors, this shows exactly one person's selection and only
524
+ // while you have chosen to follow them. That is company, not surveillance.
525
+ peerSelection: true,
514
526
  travellersChip: false,
515
527
  campfire: false,
516
528
  studio: true,
@@ -667,6 +679,10 @@ Switch them off with \`jun.pageTypes: { ${missing.map((e) => `${e.key}: false`).
667
679
  logoMark: options.brand?.logoMark ?? "sun",
668
680
  logoVariant: options.brand?.logoVariant ?? "mark",
669
681
  themeColor: options.brand?.themeColor ?? "#0e0f11",
682
+ // The app-icon tile. Defaults to the theme colour so a site gets one
683
+ // consistent chrome colour across its status bar, its splash and its
684
+ // home-screen square without configuring three things.
685
+ iconBackground: options.brand?.iconBackground ?? options.brand?.themeColor ?? "#0e0f11",
670
686
  schemaType: options.brand?.schemaType ?? "Person"
671
687
  },
672
688
  features: {
@@ -696,6 +712,9 @@ Switch them off with \`jun.pageTypes: { ${missing.map((e) => `${e.key}: false`).
696
712
  palettes: options.palettes ?? DEFAULT_PALETTES,
697
713
  paletteMap: options.paletteMap ?? defaultPaletteMap(),
698
714
  apiBase: options.apiBase ?? "/api/_jun",
715
+ // Read by the service-worker plugin, which has no access to module
716
+ // options — a site that opted out must not get a worker registered on it.
717
+ pwa: options.pwa !== false,
699
718
  mapboxToken: options.mapboxToken ?? "",
700
719
  embeds: { remoteThumbnails: options.embeds?.remoteThumbnails ?? false },
701
720
  mosaic: {
@@ -893,6 +912,23 @@ Switch them off with \`jun.pageTypes: { ${missing.map((e) => `${e.key}: false`).
893
912
  if (runtime.features.sitemap) {
894
913
  addServerHandler({ route: "/sitemap.xml", handler: resolver.resolve("./runtime/server/routes/sitemap.xml.get") });
895
914
  }
915
+ if (options.pwa !== false) {
916
+ const iconPng = resolver.resolve("./runtime/server/routes/jun-icon.png.get");
917
+ addServerHandler({ route: "/jun-icon.png", handler: iconPng });
918
+ addServerHandler({ route: "/jun-icon.svg", handler: resolver.resolve("./runtime/server/routes/jun-icon.svg.get") });
919
+ addServerHandler({ route: "/jun-splash.png", handler: resolver.resolve("./runtime/server/routes/jun-splash.png.get") });
920
+ addServerHandler({ route: "/apple-touch-icon.png", handler: iconPng });
921
+ addServerHandler({ route: "/apple-touch-icon-precomposed.png", handler: iconPng });
922
+ addServerHandler({ route: "/favicon.ico", handler: resolver.resolve("./runtime/server/routes/jun-icon.svg.get") });
923
+ if (!hasNuxtModule("@vite-pwa/nuxt")) {
924
+ addServerHandler({
925
+ route: "/manifest.webmanifest",
926
+ handler: resolver.resolve("./runtime/server/routes/manifest.webmanifest.get")
927
+ });
928
+ addServerHandler({ route: "/jun-sw.js", handler: resolver.resolve("./runtime/server/routes/jun-sw.js.get") });
929
+ addPlugin(resolver.resolve("./runtime/plugins/jun-sw.client"));
930
+ }
931
+ }
896
932
  if (runtime.features.docCache) {
897
933
  addServerPlugin(resolver.resolve("./runtime/server/plugins/jun-doc-cache"));
898
934
  nuxt.options.nitro.experimental = defu(nuxt.options.nitro.experimental, { tasks: true });
@@ -929,9 +965,17 @@ Switch them off with \`jun.pageTypes: { ${missing.map((e) => `${e.key}: false`).
929
965
  display: "standalone",
930
966
  background_color: runtime.brand.themeColor,
931
967
  theme_color: runtime.brand.themeColor,
932
- // No default icons: pointing the manifest at files a site does not
933
- // have produces a broken install prompt rather than none.
934
- ...options.brand?.icons?.length ? { icons: options.brand.icons } : {}
968
+ // The module's own icon routes, unless the site named its own files.
969
+ // These used to be omitted entirely ("pointing the manifest at files
970
+ // a site does not have produces a broken install prompt rather than
971
+ // none") — which was correct while icons meant committed PNGs. They
972
+ // are RENDERED from the site's mark now, so there is always something
973
+ // real behind these URLs.
974
+ icons: options.brand?.icons?.length ? options.brand.icons : [
975
+ { src: "/jun-icon.png?size=192", sizes: "192x192", type: "image/png", purpose: "any" },
976
+ { src: "/jun-icon.png?size=512", sizes: "512x512", type: "image/png", purpose: "any" },
977
+ { src: "/jun-icon.png?size=512&maskable=1", sizes: "512x512", type: "image/png", purpose: "maskable" }
978
+ ]
935
979
  },
936
980
  workbox: {
937
981
  globPatterns: ["**/*.{js,css,html,ico,png,svg,webmanifest,woff2}"],
@@ -10,4 +10,4 @@
10
10
  dark:from-neutral-900/65 dark:to-neutral-900/45
11
11
  border border-white/10 dark:border-white/5
12
12
  ring-1 ring-black/5 dark:ring-white/10
13
- shadow-lg shadow-black/10}}@layer base{.jun-flow-page{padding-top:6rem}html[data-jun-nav=bottom] .jun-flow-page,html[data-jun-nav=rail-left] .jun-flow-page,html[data-jun-nav=rail-right] .jun-flow-page{padding-top:2rem}html[data-jun-nav=rail-left] .jun-flow-page{padding-left:var(--jun-nav-rail-w,0)}html[data-jun-nav=rail-right] .jun-flow-page{padding-right:var(--jun-nav-rail-w,0)}html[data-jun-nav=bottom] .jun-flow-page{padding-bottom:7rem}body,html{color-scheme:light dark;overscroll-behavior-y:none;scroll-behavior:smooth}body{-webkit-tap-highlight-color:transparent;padding-top:env(safe-area-inset-top);touch-action:manipulation}html{overflow-y:scroll;scrollbar-gutter:stable}:root[style*="--scrollbar-width"] body,body[data-scroll-locked]{margin-right:0!important;padding-right:0!important}html.jun-viewport-bound,html.jun-viewport-bound body{height:100vh;overflow:hidden}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--ui-border);border:2px solid transparent;border-radius:9999px}::-webkit-scrollbar-thumb:hover{background-color:var(--ui-border-accented)}::-webkit-scrollbar-corner{background:transparent}*{scrollbar-color:var(--ui-border) transparent;scrollbar-width:thin}.jun-scrollbar-hide::-webkit-scrollbar{display:none}.jun-scrollbar-hide{-ms-overflow-style:none;scrollbar-width:none}.ProseMirror[contenteditable=false] .meta-field-chip,.ProseMirror[contenteditable=false] [data-type=document-meta],.aeditor-breadcrumb{display:none!important}html[data-jun-player] body{padding-bottom:calc(4rem + env(safe-area-inset-bottom, 0px))}html[data-jun-player][data-jun-nav=bottom] body{padding-bottom:0}.jun-player{bottom:calc(1rem + env(safe-area-inset-bottom, 0px));left:50%;max-width:min(22rem,calc(100vw - 10rem));translate:-50% 0;width:-moz-max-content;width:max-content}html[data-jun-nav=bottom] .jun-player{bottom:auto;max-width:min(22rem,calc(100vw - 2rem));top:calc(1rem + env(safe-area-inset-top, 0px))}.jun-player-sheet{bottom:calc(1.5rem + env(safe-area-inset-bottom, 0px) + var(--jun-player-h, 0px));left:50%;translate:-50% 0;width:min(22rem,calc(100vw - 10rem))}html[data-jun-nav=bottom] .jun-player-sheet{bottom:auto;top:calc(1.5rem + env(safe-area-inset-top, 0px) + var(--jun-player-h, 0px));width:min(22rem,calc(100vw - 2rem))}}:root{--ui-primary:#000;--ui-container:70rem;--jun-nav-h:3rem;--jun-nav-offset:calc(var(--jun-nav-h) + env(safe-area-inset-top, 0px));--jun-chrome-top:0px;--jun-chrome-bottom:0px;--jun-chrome-left-top:0px;--jun-chrome-left-bottom:0px;--jun-chrome-right-top:0px;--jun-chrome-right-bottom:0px;--jun-sun-from:#24242a;--jun-sun-to:#0f0f12;--jun-sun-core:#fff;--jun-sun-glow:#18181b;--jun-ember:#f59e0b;--jun-ember-glow:#fbbf24}.dark{--ui-primary:#fff;--jun-sun-from:#fafafa;--jun-sun-to:#e4e4e7;--jun-sun-core:#101013;--jun-sun-glow:#f4f4f5}.jun-nav-docked{border-left-color:transparent;border-radius:0;border-right-color:transparent;border-top-color:transparent;height:var(--jun-nav-offset);max-width:none;padding-top:env(safe-area-inset-top,0)}.jun-panel-page{top:var(--jun-nav-offset)}.a-map-toolbar-bar,.graph-toolbar-bar{backdrop-filter:blur(8px)!important;background:linear-gradient(180deg,#fff,hsla(0,0%,100%,.4))!important;border:1px solid hsla(0,0%,100%,.1)!important;border-radius:9999px!important;bottom:calc(1.5rem + env(safe-area-inset-bottom, 0px))!important;box-shadow:0 20px 25px -5px rgba(0,0,0,.12),0 8px 10px -6px rgba(0,0,0,.1),0 0 0 1px rgba(0,0,0,.05)!important;gap:4px!important;padding:4px 10px!important}.dark .a-map-toolbar-bar,.dark .graph-toolbar-bar{background:linear-gradient(180deg,#18181b,rgba(24,24,27,.7))!important;border-color:rgba(0,0,0,.05)!important;box-shadow:0 20px 25px -5px rgba(0,0,0,.4),0 8px 10px -6px rgba(0,0,0,.3),0 0 0 1px hsla(0,0%,100%,.1)!important}.a-map-toolbar-bar .toolbar-divider,.graph-toolbar-bar .toolbar-divider{background:rgba(0,0,0,.12)!important}.dark .a-map-toolbar-bar .toolbar-divider,.dark .graph-toolbar-bar .toolbar-divider{background:hsla(0,0%,100%,.15)!important}.graph-minimap{top:6rem!important}.jun-fade-enter-active,.jun-fade-leave-active{transition:opacity .22s ease}.jun-fade-enter-from,.jun-fade-leave-to{opacity:0}html[data-jun-restore] .jun-fade-enter-active,html[data-jun-restore] .jun-fade-leave-active{transition:none}.aa-presence-blobs__blob{filter:none;-webkit-mask-image:radial-gradient(closest-side,#000 0,rgba(0,0,0,.62) 42%,rgba(0,0,0,.22) 68%,transparent 100%);mask-image:radial-gradient(closest-side,#000 0,rgba(0,0,0,.62) 42%,rgba(0,0,0,.22) 68%,transparent 100%);opacity:.3}:root:not(.dark) .aa-presence-blobs__blob{opacity:.2}:root:not(.dark) .jun-presence-blobs{mix-blend-mode:multiply}:root:not(.dark) .jun-presence-blobs__blob{opacity:.24}:root:not(.dark) .jun-presence-blobs__blob:not(.is-anchored){opacity:.15}.jun-logo{transition:transform .4s cubic-bezier(.22,1,.36,1),filter .4s ease,opacity .5s ease}.jun-logo-dot,.jun-sun-core{transform-box:fill-box;transform-origin:center;transition:transform .4s cubic-bezier(.22,1,.36,1)}.jun-logo-dot:nth-of-type(2){transition-delay:.04s}.jun-logo-dot:nth-of-type(3){transition-delay:.08s}.jun-sun-halo{transform-box:fill-box;transform-origin:center;transition:opacity .4s ease,transform .4s cubic-bezier(.22,1,.36,1)}:is(.jun-logo:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo):not(.jun-logo--sun){transform:scale(1.04)}:is(.jun-logo:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo) .jun-logo-dot{transform:scale(1.18)}:is(.jun-logo--sun:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo--sun) .jun-sun-halo{opacity:.8;transform:scale(1.14)}:is(.jun-logo--sun:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo--sun) .jun-sun-core{transform:scale(1.1)}:is(.jun-logo:active,:is(a,button,summary):active .jun-logo):not(.jun-logo--sun){transform:scale(.96)}:is(.jun-logo--sun:active,:is(a,button,summary):active .jun-logo--sun) .jun-sun-core{transform:scale(.9)}.jun-logo-bang:empty{display:none}.jun-logo-bang{display:inline-block;font-weight:700;padding-inline:.02em;transition:transform .4s cubic-bezier(.22,1,.36,1)}:is(a,button,summary,.jun-logo-lockup):hover .jun-logo-bang{transform:translateY(-.06em)}.jun-logo-lockup.is-sun .jun-logo-bang{color:var(--jun-sun-glow)}@media (prefers-reduced-motion:reduce){.jun-logo,.jun-logo-bang,.jun-logo-dot,.jun-sun-core,.jun-sun-halo{transition:none}}html.doc-dragging .ProseMirror{border-radius:8px;outline:2px dashed rgba(0,0,0,.18);outline-offset:8px;transition:outline-color .2s ease}html.dark.doc-dragging .ProseMirror,html.doc-dragging.dark .ProseMirror{outline-color:hsla(0,0%,100%,.22)}html.doc-dragging [data-doc-drop-zone]{border-radius:10px;outline:2px dashed rgba(0,0,0,.14);outline-offset:4px}html.dark.doc-dragging [data-doc-drop-zone],html.doc-dragging.dark [data-doc-drop-zone]{outline-color:hsla(0,0%,100%,.18)}html.theme-switching,html.theme-switching *{transition:background-color .45s ease,color .45s ease,border-color .45s ease,fill .45s ease,stroke .45s ease!important}@media (prefers-reduced-motion:reduce){.jun-fade-enter-active,.jun-fade-leave-active{transition:none}html.theme-switching,html.theme-switching *{transition:none!important}}html.jun-surface-soft *,html.jun-surface-soft :after,html.jun-surface-soft :before,html.jun-surface-solid *,html.jun-surface-solid :after,html.jun-surface-solid :before{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}html.jun-surface-soft .jun-blur,html.jun-surface-soft .jun-blur-gradient,html.jun-surface-soft .jun-blur-inverted,html.jun-surface-soft .jun-campfire-banner,html.jun-surface-soft .jun-campfire-panel,html.jun-surface-soft .jun-campfire-pill,html.jun-surface-soft .jun-chrome{backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important}html.jun-surface-solid .jun-blur,html.jun-surface-solid .jun-blur-gradient,html.jun-surface-solid .jun-card,html.jun-surface-solid .jun-chrome:not(.is-on){background-color:color-mix(in srgb,var(--color-neutral-50) 97%,transparent)!important;background-image:none!important}html.jun-surface-solid.dark .jun-blur,html.jun-surface-solid.dark .jun-blur-gradient,html.jun-surface-solid.dark .jun-card,html.jun-surface-solid.dark .jun-chrome:not(.is-on){background-color:color-mix(in srgb,var(--color-neutral-900) 97%,transparent)!important}html.jun-surface-solid .jun-bar.is-on{background-color:var(--color-neutral-900)!important;background-image:none!important}html.jun-surface-solid.dark .jun-bar.is-on{background-color:var(--color-neutral-100)!important}html.jun-surface-solid .jun-campfire-banner,html.jun-surface-solid .jun-campfire-panel,html.jun-surface-solid .jun-campfire-pill{background:color-mix(in srgb,var(--color-neutral-50) 97%,transparent)!important}html.jun-surface-solid.dark .jun-campfire-banner,html.jun-surface-solid.dark .jun-campfire-panel,html.jun-surface-solid.dark .jun-campfire-pill{background:color-mix(in srgb,var(--color-neutral-900) 97%,transparent)!important}html.jun-surface-solid .jun-blur-inverted{background-color:rgba(250,250,252,.92)!important;background-image:none!important}html.jun-surface-solid.dark .jun-blur-inverted{background-color:rgba(14,15,17,.92)!important}.jun-palette-panel{display:flex;flex-direction:column;left:var(--jun-palette-left,50vw);max-height:var(--jun-palette-max-h,min(60vh,34rem));max-width:none;overflow:hidden;position:fixed;top:var(--jun-palette-top,5.5rem);transform-origin:var(--jun-palette-origin,top center);translate:var(--jun-palette-tx,-50%) var(--jun-palette-ty,0);width:var(--jun-palette-w,min(42rem,calc(100vw - 2rem)))}.jun-palette-panel[data-state=open]{animation:jun-palette-in .26s cubic-bezier(.22,1,.36,1) both}.jun-palette-panel[data-state=closed]{animation:jun-palette-out .13s ease-in both}@keyframes jun-palette-in{0%{opacity:0;transform:var(--jun-palette-from,translateY(-8px)) scale(.97)}to{opacity:1;transform:none}}@keyframes jun-palette-out{0%{opacity:1;transform:none}to{opacity:0;transform:var(--jun-palette-from,translateY(-8px)) scale(.98)}}.jun-palette-cursor{border-radius:.375rem;left:.5rem;pointer-events:none;position:absolute;right:.5rem;top:0;transition:transform .26s cubic-bezier(.22,1,.36,1),height .26s cubic-bezier(.22,1,.36,1),opacity .16s ease}.jun-palette-cursor.is-placing{transition:none}.jun-settings-panel{display:flex;flex-direction:column;height:min(46rem,calc(100vh - 4rem));left:50vw;max-height:none;max-width:none;overflow:hidden;position:fixed;top:50vh;transform-origin:center;translate:-50% -50%;width:min(56rem,calc(100vw - 2rem))}.jun-settings-panel[data-state=open]{animation:jun-settings-in .26s cubic-bezier(.22,1,.36,1) both}.jun-settings-panel[data-state=closed]{animation:jun-settings-out .13s ease-in both}@keyframes jun-settings-in{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:none}}@keyframes jun-settings-out{0%{opacity:1;transform:none}to{opacity:0;transform:scale(.98)}}@media (max-width:767px){.jun-settings-panel{border-radius:.75rem;height:calc(100dvh - 2rem);width:calc(100vw - 1rem)}}.jun-settings-marker{transition:top .22s cubic-bezier(.22,1,.36,1),height .22s cubic-bezier(.22,1,.36,1)}@media (prefers-reduced-motion:reduce){.jun-settings-panel[data-state=closed],.jun-settings-panel[data-state=open]{animation-duration:1ms}.jun-settings-marker{transition:none}}.jun-palette-stagger>*{animation:jun-palette-row-in .32s cubic-bezier(.22,1,.36,1) both}@keyframes jun-palette-row-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.jun-pal-move{transition:transform .28s cubic-bezier(.22,1,.36,1)}.jun-pal-enter-active{transition:opacity .2s ease,transform .2s cubic-bezier(.22,1,.36,1)}.jun-pal-leave-active{left:0;position:absolute;right:0;transition:opacity .12s ease,transform .12s ease}.jun-pal-enter-from,.jun-pal-leave-to{opacity:0;transform:translateY(-4px)}.jun-palette-snippet mark{background:transparent;color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:2px}@media (prefers-reduced-motion:reduce){.jun-palette-panel[data-state=closed],.jun-palette-panel[data-state=open],.jun-palette-stagger>*{animation:none}.jun-pal-enter-active,.jun-pal-leave-active,.jun-pal-move,.jun-palette-cursor{transition:none}}html[data-jun-nav=bottom] .jun-player-enter-from,html[data-jun-nav=bottom] .jun-player-leave-to{transform:translateY(-1.5rem)}@media (prefers-reduced-motion:reduce){html[data-jun-nav=bottom] .jun-player-enter-from,html[data-jun-nav=bottom] .jun-player-leave-to{transform:none}}.jun-bar{--jun-bar-stack:0px;--jun-bar-inset:0px;position:fixed;transition:top .45s cubic-bezier(.22,1,.36,1),right .45s cubic-bezier(.22,1,.36,1),bottom .45s cubic-bezier(.22,1,.36,1),left .45s cubic-bezier(.22,1,.36,1),box-shadow .35s ease;z-index:60}.jun-bar-pill{align-items:center;display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none}.jun-bar[data-jun-corner=top-left]{left:calc(var(--jun-chrome-left-top, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-left, 1rem) + env(safe-area-inset-left, 0px))}.jun-bar[data-jun-corner=bottom-left]{left:calc(var(--jun-chrome-left-bottom, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-left, 1rem) + env(safe-area-inset-left, 0px))}.jun-bar[data-jun-corner=top-right]{right:calc(var(--jun-chrome-right-top, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-right, 1rem) + env(safe-area-inset-right, 0px))}.jun-bar[data-jun-corner=bottom-right]{right:calc(var(--jun-chrome-right-bottom, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-right, 1rem) + env(safe-area-inset-right, 0px))}.jun-bar[data-jun-corner^=bottom]{bottom:calc(var(--jun-chrome-bottom, 0px) + var(--jun-bar-stack) + var(--jun-chrome-y-bottom, 1rem) + env(safe-area-inset-bottom, 0px))}.jun-bar[data-jun-corner^=top]{top:calc(var(--jun-chrome-top, 0px) + var(--jun-bar-stack) + var(--jun-chrome-y-top, 1rem) + env(safe-area-inset-top, 0px))}.jun-bar-pill,.jun-bar-trigger{border-radius:var(--jun-chrome-radius,9999px);transition:border-radius .5s cubic-bezier(.22,1,.36,1)}@media (prefers-reduced-motion:reduce){.jun-bar-pill,.jun-bar-trigger{transition:none}}.jun-hearth-embers{height:1px;pointer-events:none;width:1px;z-index:61}.jun-ember-ink{color:var(--jun-ember)}.jun-bar.is-opaque{backdrop-filter:none;-webkit-backdrop-filter:none}.jun-bar.is-opaque:not(.is-on){background-color:color-mix(in srgb,var(--color-neutral-50) 97%,transparent);background-image:none}:root.dark .jun-bar.is-opaque:not(.is-on){background-color:color-mix(in srgb,var(--color-neutral-900) 97%,transparent)}.jun-bar-trigger{touch-action:none;-webkit-touch-callout:none}.jun-bar.is-pressing{box-shadow:0 12px 32px -8px rgba(0,0,0,.28)}.jun-bar.is-on{background-color:var(--color-neutral-900);background-image:none;border-color:transparent;color:var(--color-neutral-50)}:root.dark .jun-bar.is-on{background-color:var(--color-neutral-100);color:var(--color-neutral-900)}.jun-studio-bar{min-height:2.375rem;min-width:4rem}.jun-bar-knob{background-color:var(--color-neutral-900);bottom:1px;box-shadow:0 1px 3px rgba(0,0,0,.2);color:var(--color-neutral-50);left:1px;position:absolute;top:1px;transition:left .42s cubic-bezier(.22,1,.36,1),translate .42s cubic-bezier(.22,1,.36,1),background-color .3s ease,color .3s ease,box-shadow .3s ease;translate:0 0;width:2.25rem}:root.dark .jun-bar-knob{background-color:var(--color-neutral-100);color:var(--color-neutral-900)}.jun-bar.is-on .jun-bar-knob{background-color:var(--color-neutral-50);box-shadow:0 1px 4px rgba(0,0,0,.3);color:var(--color-neutral-900);left:calc(100% - 1px);translate:-100% 0}:root.dark .jun-bar.is-on .jun-bar-knob{background-color:var(--color-neutral-900);color:var(--color-neutral-100)}.jun-bar-row{padding:0;transition:padding .42s cubic-bezier(.22,1,.36,1)}.jun-bar.is-expanded .jun-bar-row{padding-left:2.5rem;padding-right:.5rem}.jun-bar.is-expanded.is-on .jun-bar-row{padding-left:.625rem;padding-right:2.625rem}.jun-bar-sep{background:currentColor;flex:none;height:1rem;margin-inline:.125rem;opacity:.18;width:1px}.jun-bar-title{border-bottom:1px solid color-mix(in srgb,currentColor 22%,transparent);color:inherit}.jun-bar-title::-moz-placeholder{color:currentColor;opacity:.45}.jun-bar-title::placeholder{color:currentColor;opacity:.45}.jun-bar-title:focus{border-bottom-color:color-mix(in srgb,currentColor 55%,transparent)}.jun-bar-health{box-shadow:0 0 0 2px var(--color-neutral-50)}.jun-bar.is-on .jun-bar-health,:root.dark .jun-bar-health{box-shadow:0 0 0 2px var(--color-neutral-900)}:root.dark .jun-bar.is-on .jun-bar-health{box-shadow:0 0 0 2px var(--color-neutral-100)}.jun-bar .jun-bar-trigger:hover,.jun-bar [data-jun-action]:hover{background-color:color-mix(in srgb,currentColor 10%,transparent)}[data-jun-action].is-hot{background-color:color-mix(in srgb,currentColor 18%,transparent);transform:scale(1.06)}[data-jun-action]{transition:background-color .15s ease,transform .15s cubic-bezier(.22,1,.36,1)}@media (prefers-reduced-motion:reduce){.jun-bar,.jun-bar-knob,.jun-bar-row,[data-jun-action]{transition:none}[data-jun-action].is-hot{transform:none}}
13
+ shadow-lg shadow-black/10}}@layer base{.jun-flow-page{padding-bottom:env(safe-area-inset-bottom,0);padding-top:6rem}html[data-jun-nav=bottom] .jun-flow-page,html[data-jun-nav=rail-left] .jun-flow-page,html[data-jun-nav=rail-right] .jun-flow-page{padding-top:2rem}html[data-jun-nav=rail-left] .jun-flow-page{padding-left:var(--jun-nav-rail-w,0)}html[data-jun-nav=rail-right] .jun-flow-page{padding-right:var(--jun-nav-rail-w,0)}html[data-jun-nav=bottom] .jun-flow-page{padding-bottom:calc(7rem + env(safe-area-inset-bottom, 0px))}body,html{color-scheme:light dark;overscroll-behavior:none;scroll-behavior:smooth}body{-webkit-tap-highlight-color:transparent;padding-top:env(safe-area-inset-top);touch-action:manipulation}@media (display-mode:standalone){.jun-bar,.jun-nav,.jun-studio-bar{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}:root:not(.dark) body:before{background:var(--color-neutral-900);content:"";height:env(safe-area-inset-top,0);inset:0 0 auto;pointer-events:none;position:fixed;z-index:40}}html{overflow-y:scroll;scrollbar-gutter:stable}:root[style*="--scrollbar-width"] body,body[data-scroll-locked]{margin-right:0!important;padding-right:0!important}html.jun-viewport-bound,html.jun-viewport-bound body{height:100dvh;overflow:hidden}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--ui-border);border:2px solid transparent;border-radius:9999px}::-webkit-scrollbar-thumb:hover{background-color:var(--ui-border-accented)}::-webkit-scrollbar-corner{background:transparent}*{scrollbar-color:var(--ui-border) transparent;scrollbar-width:thin}.jun-scrollbar-hide::-webkit-scrollbar{display:none}.jun-scrollbar-hide{-ms-overflow-style:none;scrollbar-width:none}.ProseMirror[contenteditable=false] .meta-field-chip,.ProseMirror[contenteditable=false] [data-type=document-meta],.aeditor-breadcrumb{display:none!important}html[data-jun-player] body{padding-bottom:calc(4rem + env(safe-area-inset-bottom, 0px))}html[data-jun-player][data-jun-nav=bottom] body{padding-bottom:0}.jun-player{bottom:calc(1rem + env(safe-area-inset-bottom, 0px));left:50%;max-width:min(22rem,calc(100vw - 10rem));translate:-50% 0;width:-moz-max-content;width:max-content}html[data-jun-nav=bottom] .jun-player{bottom:auto;max-width:min(22rem,calc(100vw - 2rem));top:calc(1rem + env(safe-area-inset-top, 0px))}.jun-player-sheet{bottom:calc(1.5rem + env(safe-area-inset-bottom, 0px) + var(--jun-player-h, 0px));left:50%;translate:-50% 0;width:min(22rem,calc(100vw - 10rem))}html[data-jun-nav=bottom] .jun-player-sheet{bottom:auto;top:calc(1.5rem + env(safe-area-inset-top, 0px) + var(--jun-player-h, 0px));width:min(22rem,calc(100vw - 2rem))}}:root{--ui-primary:#000;--ui-container:70rem;--jun-canvas:var(--color-neutral-100);--jun-nav-h:3rem;--jun-nav-offset:calc(var(--jun-nav-h) + env(safe-area-inset-top, 0px));--jun-chrome-top:0px;--jun-chrome-bottom:0px;--jun-chrome-left-top:0px;--jun-chrome-left-bottom:0px;--jun-chrome-right-top:0px;--jun-chrome-right-bottom:0px;--jun-sun-from:#24242a;--jun-sun-to:#0f0f12;--jun-sun-core:#fff;--jun-sun-glow:#18181b;--jun-ember:#f59e0b;--jun-ember-glow:#fbbf24}.dark{--ui-primary:#fff;--jun-canvas:var(--color-neutral-950);--jun-sun-from:#fafafa;--jun-sun-to:#e4e4e7;--jun-sun-core:#101013;--jun-sun-glow:#f4f4f5}body,html{background-color:var(--jun-canvas)}.jun-nav-docked{border-left-color:transparent;border-radius:0;border-right-color:transparent;border-top-color:transparent;height:var(--jun-nav-offset);max-width:none;padding-top:env(safe-area-inset-top,0)}.jun-panel-page{top:var(--jun-nav-offset)}.a-map-toolbar-bar,.graph-toolbar-bar{backdrop-filter:blur(8px)!important;background:linear-gradient(180deg,#fff,hsla(0,0%,100%,.4))!important;border:1px solid hsla(0,0%,100%,.1)!important;border-radius:9999px!important;bottom:calc(1.5rem + env(safe-area-inset-bottom, 0px))!important;box-shadow:0 20px 25px -5px rgba(0,0,0,.12),0 8px 10px -6px rgba(0,0,0,.1),0 0 0 1px rgba(0,0,0,.05)!important;gap:4px!important;padding:4px 10px!important}.dark .a-map-toolbar-bar,.dark .graph-toolbar-bar{background:linear-gradient(180deg,#18181b,rgba(24,24,27,.7))!important;border-color:rgba(0,0,0,.05)!important;box-shadow:0 20px 25px -5px rgba(0,0,0,.4),0 8px 10px -6px rgba(0,0,0,.3),0 0 0 1px hsla(0,0%,100%,.1)!important}.a-map-toolbar-bar .toolbar-divider,.graph-toolbar-bar .toolbar-divider{background:rgba(0,0,0,.12)!important}.dark .a-map-toolbar-bar .toolbar-divider,.dark .graph-toolbar-bar .toolbar-divider{background:hsla(0,0%,100%,.15)!important}.graph-minimap{top:6rem!important}.jun-fade-enter-active,.jun-fade-leave-active{transition:opacity .22s ease}.jun-fade-enter-from,.jun-fade-leave-to{opacity:0}html[data-jun-restore] .jun-fade-enter-active,html[data-jun-restore] .jun-fade-leave-active{transition:none}.aa-presence-blobs__blob{filter:none;-webkit-mask-image:radial-gradient(closest-side,#000 0,rgba(0,0,0,.62) 42%,rgba(0,0,0,.22) 68%,transparent 100%);mask-image:radial-gradient(closest-side,#000 0,rgba(0,0,0,.62) 42%,rgba(0,0,0,.22) 68%,transparent 100%);opacity:.3}:root:not(.dark) .aa-presence-blobs__blob{opacity:.2}:root:not(.dark) .jun-presence-blobs{mix-blend-mode:multiply}:root:not(.dark) .jun-presence-blobs__blob{opacity:.24}:root:not(.dark) .jun-presence-blobs__blob:not(.is-anchored){opacity:.15}.jun-logo{transition:transform .4s cubic-bezier(.22,1,.36,1),filter .4s ease,opacity .5s ease}.jun-logo-dot,.jun-sun-core{transform-box:fill-box;transform-origin:center;transition:transform .4s cubic-bezier(.22,1,.36,1)}.jun-logo-dot:nth-of-type(2){transition-delay:.04s}.jun-logo-dot:nth-of-type(3){transition-delay:.08s}.jun-sun-halo{transform-box:fill-box;transform-origin:center;transition:opacity .4s ease,transform .4s cubic-bezier(.22,1,.36,1)}:is(.jun-logo:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo):not(.jun-logo--sun){transform:scale(1.04)}:is(.jun-logo:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo) .jun-logo-dot{transform:scale(1.18)}:is(.jun-logo--sun:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo--sun) .jun-sun-halo{opacity:.8;transform:scale(1.14)}:is(.jun-logo--sun:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo--sun) .jun-sun-core{transform:scale(1.1)}:is(.jun-logo:active,:is(a,button,summary):active .jun-logo):not(.jun-logo--sun){transform:scale(.96)}:is(.jun-logo--sun:active,:is(a,button,summary):active .jun-logo--sun) .jun-sun-core{transform:scale(.9)}.jun-logo-bang:empty{display:none}.jun-logo-bang{display:inline-block;font-weight:700;padding-inline:.02em;transition:transform .4s cubic-bezier(.22,1,.36,1)}:is(a,button,summary,.jun-logo-lockup):hover .jun-logo-bang{transform:translateY(-.06em)}.jun-logo-lockup.is-sun .jun-logo-bang{color:var(--jun-sun-glow)}@media (prefers-reduced-motion:reduce){.jun-logo,.jun-logo-bang,.jun-logo-dot,.jun-sun-core,.jun-sun-halo{transition:none}}html.doc-dragging .ProseMirror{border-radius:8px;outline:2px dashed rgba(0,0,0,.18);outline-offset:8px;transition:outline-color .2s ease}html.dark.doc-dragging .ProseMirror,html.doc-dragging.dark .ProseMirror{outline-color:hsla(0,0%,100%,.22)}html.doc-dragging [data-doc-drop-zone]{border-radius:10px;outline:2px dashed rgba(0,0,0,.14);outline-offset:4px}html.dark.doc-dragging [data-doc-drop-zone],html.doc-dragging.dark [data-doc-drop-zone]{outline-color:hsla(0,0%,100%,.18)}html.theme-switching,html.theme-switching *{transition:background-color .45s ease,color .45s ease,border-color .45s ease,fill .45s ease,stroke .45s ease!important}@media (prefers-reduced-motion:reduce){.jun-fade-enter-active,.jun-fade-leave-active{transition:none}html.theme-switching,html.theme-switching *{transition:none!important}}html.jun-surface-soft *,html.jun-surface-soft :after,html.jun-surface-soft :before,html.jun-surface-solid *,html.jun-surface-solid :after,html.jun-surface-solid :before{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}html.jun-surface-soft .jun-blur,html.jun-surface-soft .jun-blur-gradient,html.jun-surface-soft .jun-blur-inverted,html.jun-surface-soft .jun-campfire-banner,html.jun-surface-soft .jun-campfire-panel,html.jun-surface-soft .jun-campfire-pill,html.jun-surface-soft .jun-chrome{backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important}html.jun-surface-solid .jun-blur,html.jun-surface-solid .jun-blur-gradient,html.jun-surface-solid .jun-card,html.jun-surface-solid .jun-chrome:not(.is-on){background-color:color-mix(in srgb,var(--color-neutral-50) 97%,transparent)!important;background-image:none!important}html.jun-surface-solid.dark .jun-blur,html.jun-surface-solid.dark .jun-blur-gradient,html.jun-surface-solid.dark .jun-card,html.jun-surface-solid.dark .jun-chrome:not(.is-on){background-color:color-mix(in srgb,var(--color-neutral-900) 97%,transparent)!important}html.jun-surface-solid .jun-bar.is-on{background-color:var(--color-neutral-900)!important;background-image:none!important}html.jun-surface-solid.dark .jun-bar.is-on{background-color:var(--color-neutral-100)!important}html.jun-surface-solid .jun-campfire-banner,html.jun-surface-solid .jun-campfire-panel,html.jun-surface-solid .jun-campfire-pill{background:color-mix(in srgb,var(--color-neutral-50) 97%,transparent)!important}html.jun-surface-solid.dark .jun-campfire-banner,html.jun-surface-solid.dark .jun-campfire-panel,html.jun-surface-solid.dark .jun-campfire-pill{background:color-mix(in srgb,var(--color-neutral-900) 97%,transparent)!important}html.jun-surface-solid .jun-blur-inverted{background-color:rgba(250,250,252,.92)!important;background-image:none!important}html.jun-surface-solid.dark .jun-blur-inverted{background-color:rgba(14,15,17,.92)!important}.jun-palette-panel{display:flex;flex-direction:column;left:var(--jun-palette-left,50vw);max-height:var(--jun-palette-max-h,min(60vh,34rem));max-width:none;overflow:hidden;position:fixed;top:var(--jun-palette-top,5.5rem);transform-origin:var(--jun-palette-origin,top center);translate:var(--jun-palette-tx,-50%) var(--jun-palette-ty,0);width:var(--jun-palette-w,min(42rem,calc(100vw - 2rem)))}.jun-palette-panel[data-state=open]{animation:jun-palette-in .26s cubic-bezier(.22,1,.36,1) both}.jun-palette-panel[data-state=closed]{animation:jun-palette-out .13s ease-in both}@keyframes jun-palette-in{0%{opacity:0;transform:var(--jun-palette-from,translateY(-8px)) scale(.97)}to{opacity:1;transform:none}}@keyframes jun-palette-out{0%{opacity:1;transform:none}to{opacity:0;transform:var(--jun-palette-from,translateY(-8px)) scale(.98)}}.jun-palette-cursor{border-radius:.375rem;left:.5rem;pointer-events:none;position:absolute;right:.5rem;top:0;transition:transform .26s cubic-bezier(.22,1,.36,1),height .26s cubic-bezier(.22,1,.36,1),opacity .16s ease}.jun-palette-cursor.is-placing{transition:none}.jun-settings-panel{display:flex;flex-direction:column;height:min(46rem,calc(100vh - 4rem));left:50vw;max-height:none;max-width:none;overflow:hidden;position:fixed;top:50vh;transform-origin:center;translate:-50% -50%;width:min(56rem,calc(100vw - 2rem))}.jun-settings-panel[data-state=open]{animation:jun-settings-in .26s cubic-bezier(.22,1,.36,1) both}.jun-settings-panel[data-state=closed]{animation:jun-settings-out .13s ease-in both}@keyframes jun-settings-in{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:none}}@keyframes jun-settings-out{0%{opacity:1;transform:none}to{opacity:0;transform:scale(.98)}}@media (max-width:767px){.jun-settings-panel{border-radius:.75rem;height:calc(100dvh - 2rem);width:calc(100vw - 1rem)}}.jun-settings-marker{transition:top .22s cubic-bezier(.22,1,.36,1),height .22s cubic-bezier(.22,1,.36,1)}@media (prefers-reduced-motion:reduce){.jun-settings-panel[data-state=closed],.jun-settings-panel[data-state=open]{animation-duration:1ms}.jun-settings-marker{transition:none}}.jun-palette-stagger>*{animation:jun-palette-row-in .32s cubic-bezier(.22,1,.36,1) both}@keyframes jun-palette-row-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.jun-pal-move{transition:transform .28s cubic-bezier(.22,1,.36,1)}.jun-pal-enter-active{transition:opacity .2s ease,transform .2s cubic-bezier(.22,1,.36,1)}.jun-pal-leave-active{left:0;position:absolute;right:0;transition:opacity .12s ease,transform .12s ease}.jun-pal-enter-from,.jun-pal-leave-to{opacity:0;transform:translateY(-4px)}.jun-palette-snippet mark{background:transparent;color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:2px}@media (prefers-reduced-motion:reduce){.jun-palette-panel[data-state=closed],.jun-palette-panel[data-state=open],.jun-palette-stagger>*{animation:none}.jun-pal-enter-active,.jun-pal-leave-active,.jun-pal-move,.jun-palette-cursor{transition:none}}html[data-jun-nav=bottom] .jun-player-enter-from,html[data-jun-nav=bottom] .jun-player-leave-to{transform:translateY(-1.5rem)}@media (prefers-reduced-motion:reduce){html[data-jun-nav=bottom] .jun-player-enter-from,html[data-jun-nav=bottom] .jun-player-leave-to{transform:none}}.jun-bar{--jun-bar-stack:0px;--jun-bar-inset:0px;position:fixed;transition:top .45s cubic-bezier(.22,1,.36,1),right .45s cubic-bezier(.22,1,.36,1),bottom .45s cubic-bezier(.22,1,.36,1),left .45s cubic-bezier(.22,1,.36,1),box-shadow .35s ease;z-index:60}.jun-bar-pill{align-items:center;display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none}.jun-bar[data-jun-corner=top-left]{left:calc(var(--jun-chrome-left-top, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-left, 1rem) + env(safe-area-inset-left, 0px))}.jun-bar[data-jun-corner=bottom-left]{left:calc(var(--jun-chrome-left-bottom, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-left, 1rem) + env(safe-area-inset-left, 0px))}.jun-bar[data-jun-corner=top-right]{right:calc(var(--jun-chrome-right-top, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-right, 1rem) + env(safe-area-inset-right, 0px))}.jun-bar[data-jun-corner=bottom-right]{right:calc(var(--jun-chrome-right-bottom, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-right, 1rem) + env(safe-area-inset-right, 0px))}.jun-bar[data-jun-corner^=bottom]{bottom:calc(var(--jun-chrome-bottom, 0px) + var(--jun-bar-stack) + var(--jun-chrome-y-bottom, 1rem) + env(safe-area-inset-bottom, 0px))}.jun-bar[data-jun-corner^=top]{top:calc(var(--jun-chrome-top, 0px) + var(--jun-bar-stack) + var(--jun-chrome-y-top, 1rem) + env(safe-area-inset-top, 0px))}.jun-bar-pill,.jun-bar-trigger{border-radius:var(--jun-chrome-radius,9999px);transition:border-radius .5s cubic-bezier(.22,1,.36,1)}@media (prefers-reduced-motion:reduce){.jun-bar-pill,.jun-bar-trigger{transition:none}}.jun-hearth-embers{height:1px;pointer-events:none;width:1px;z-index:61}.jun-ember-ink{color:var(--jun-ember)}.jun-bar.is-opaque{backdrop-filter:none;-webkit-backdrop-filter:none}.jun-bar.is-opaque:not(.is-on){background-color:color-mix(in srgb,var(--color-neutral-50) 97%,transparent);background-image:none}:root.dark .jun-bar.is-opaque:not(.is-on){background-color:color-mix(in srgb,var(--color-neutral-900) 97%,transparent)}.jun-bar-trigger{touch-action:none;-webkit-touch-callout:none}.jun-bar.is-pressing{box-shadow:0 12px 32px -8px rgba(0,0,0,.28)}.jun-bar.is-on{background-color:var(--color-neutral-900);background-image:none;border-color:transparent;color:var(--color-neutral-50)}:root.dark .jun-bar.is-on{background-color:var(--color-neutral-100);color:var(--color-neutral-900)}.jun-studio-bar{min-height:2.375rem;min-width:4rem}.jun-bar-knob{background-color:var(--color-neutral-900);bottom:1px;box-shadow:0 1px 3px rgba(0,0,0,.2);color:var(--color-neutral-50);left:1px;position:absolute;top:1px;transition:left .42s cubic-bezier(.22,1,.36,1),translate .42s cubic-bezier(.22,1,.36,1),background-color .3s ease,color .3s ease,box-shadow .3s ease;translate:0 0;width:2.25rem}:root.dark .jun-bar-knob{background-color:var(--color-neutral-100);color:var(--color-neutral-900)}.jun-bar.is-on .jun-bar-knob{background-color:var(--color-neutral-50);box-shadow:0 1px 4px rgba(0,0,0,.3);color:var(--color-neutral-900);left:calc(100% - 1px);translate:-100% 0}:root.dark .jun-bar.is-on .jun-bar-knob{background-color:var(--color-neutral-900);color:var(--color-neutral-100)}.jun-bar-row{padding:0;transition:padding .42s cubic-bezier(.22,1,.36,1)}.jun-bar.is-expanded .jun-bar-row{padding-left:2.5rem;padding-right:.5rem}.jun-bar.is-expanded.is-on .jun-bar-row{padding-left:.625rem;padding-right:2.625rem}.jun-bar-sep{background:currentColor;flex:none;height:1rem;margin-inline:.125rem;opacity:.18;width:1px}.jun-bar-title{border-bottom:1px solid color-mix(in srgb,currentColor 22%,transparent);color:inherit}.jun-bar-title::-moz-placeholder{color:currentColor;opacity:.45}.jun-bar-title::placeholder{color:currentColor;opacity:.45}.jun-bar-title:focus{border-bottom-color:color-mix(in srgb,currentColor 55%,transparent)}.jun-bar-health{box-shadow:0 0 0 2px var(--color-neutral-50)}.jun-bar.is-on .jun-bar-health,:root.dark .jun-bar-health{box-shadow:0 0 0 2px var(--color-neutral-900)}:root.dark .jun-bar.is-on .jun-bar-health{box-shadow:0 0 0 2px var(--color-neutral-100)}.jun-bar .jun-bar-trigger:hover,.jun-bar [data-jun-action]:hover{background-color:color-mix(in srgb,currentColor 10%,transparent)}[data-jun-action].is-hot{background-color:color-mix(in srgb,currentColor 18%,transparent);transform:scale(1.06)}[data-jun-action]{transition:background-color .15s ease,transform .15s cubic-bezier(.22,1,.36,1)}@media (prefers-reduced-motion:reduce){.jun-bar,.jun-bar-knob,.jun-bar-row,[data-jun-action]{transition:none}[data-jun-action].is-hot{transform:none}}
@@ -116,5 +116,5 @@ onBeforeUnmount(() => {
116
116
  </template>
117
117
 
118
118
  <style scoped>
119
- .jun-blob-backdrop{background:#f5f5f7;--jun-blob-core:18%;--jun-blob-mid:11%}:root.dark .jun-blob-backdrop{background:#0e0f11;--jun-blob-core:34%;--jun-blob-mid:21%}.blob-parallax{inset:-3%;opacity:var(--jun-blob-opacity,1);position:absolute;transform:translate3d(var(--px,0),var(--py,0),0);transition:opacity .6s ease;will-change:transform}.is-quiet .blob-parallax{opacity:0}.blob-field{inset:0;position:absolute;transform-origin:50% 50%}.blob-field.is-nav{animation:nav-breath 1.2s cubic-bezier(.22,1,.36,1)}.blob{border-radius:50%;mix-blend-mode:multiply;position:absolute;transform:translateZ(0);transition:top 1.2s cubic-bezier(.22,1,.36,1),left 1.2s cubic-bezier(.22,1,.36,1),width 1.2s cubic-bezier(.22,1,.36,1),height 1.2s cubic-bezier(.22,1,.36,1);will-change:transform}:root.dark .blob{mix-blend-mode:screen}.blob--1{animation:blob-drift-a 34s ease-in-out infinite}.blob--2{animation:blob-drift-b 41s ease-in-out infinite}.blob--3{animation:blob-drift-c 47s ease-in-out infinite}.is-paused .blob,.is-paused .blob-field{animation-play-state:paused}@keyframes nav-breath{0%{transform:scale(1.03)}60%{transform:scale(.995)}to{transform:scale(1)}}@keyframes blob-drift-a{0%,to{transform:translate(0) scale(1)}33%{transform:translate(7vw,6vh) scale(1.1)}66%{transform:translate(-5vw,9vh) scale(.94)}}@keyframes blob-drift-b{0%,to{transform:translate(0) scale(1)}33%{transform:translate(-8vw,-5vh) scale(.9)}66%{transform:translate(6vw,7vh) scale(1.12)}}@keyframes blob-drift-c{0%,to{transform:translate(0) scale(1.04)}50%{transform:translate(9vw,-7vh) scale(.92)}}@media (prefers-reduced-motion:reduce){.blob,.blob-field{animation:none!important}.blob{transition:none!important}.blob-parallax{transform:none!important}}
119
+ .jun-blob-backdrop{background:var(--jun-canvas);min-height:100lvh;--jun-blob-core:18%;--jun-blob-mid:11%}:root.dark .jun-blob-backdrop{--jun-blob-core:34%;--jun-blob-mid:21%}.blob-parallax{inset:-3%;opacity:var(--jun-blob-opacity,1);position:absolute;transform:translate3d(var(--px,0),var(--py,0),0);transition:opacity .6s ease;will-change:transform}.is-quiet .blob-parallax{opacity:0}.blob-field{inset:0;position:absolute;transform-origin:50% 50%}.blob-field.is-nav{animation:nav-breath 1.2s cubic-bezier(.22,1,.36,1)}.blob{border-radius:50%;mix-blend-mode:multiply;position:absolute;transform:translateZ(0);transition:top 1.2s cubic-bezier(.22,1,.36,1),left 1.2s cubic-bezier(.22,1,.36,1),width 1.2s cubic-bezier(.22,1,.36,1),height 1.2s cubic-bezier(.22,1,.36,1);will-change:transform}:root.dark .blob{mix-blend-mode:screen}.blob--1{animation:blob-drift-a 34s ease-in-out infinite}.blob--2{animation:blob-drift-b 41s ease-in-out infinite}.blob--3{animation:blob-drift-c 47s ease-in-out infinite}.is-paused .blob,.is-paused .blob-field{animation-play-state:paused}@keyframes nav-breath{0%{transform:scale(1.03)}60%{transform:scale(.995)}to{transform:scale(1)}}@keyframes blob-drift-a{0%,to{transform:translate(0) scale(1)}33%{transform:translate(7vw,6vh) scale(1.1)}66%{transform:translate(-5vw,9vh) scale(.94)}}@keyframes blob-drift-b{0%,to{transform:translate(0) scale(1)}33%{transform:translate(-8vw,-5vh) scale(.9)}66%{transform:translate(6vw,7vh) scale(1.12)}}@keyframes blob-drift-c{0%,to{transform:translate(0) scale(1.04)}50%{transform:translate(9vw,-7vh) scale(.92)}}@media (prefers-reduced-motion:reduce){.blob,.blob-field{animation:none!important}.blob{transition:none!important}.blob-parallax{transform:none!important}}
120
120
  </style>
@@ -122,12 +122,14 @@ onBeforeUnmount(() => {
122
122
  <span>{{ sendError }}</span>
123
123
  </p>
124
124
 
125
- <div class="p-2">
126
- <AChatInput
125
+ <!-- `JunCampfireComposer`, not `<AChatInput>`: that one is built for a
126
+ full-width panel and brought 62px of chrome and a primary-coloured
127
+ focus ring into a 320px monochrome surface. See its header. -->
128
+ <div class="px-1.5 pb-1.5">
129
+ <JunCampfireComposer
127
130
  :autofocus="true"
128
- :can-send="true"
129
131
  :mention-users="mentionUsers"
130
- :placeholder="`send to ${place}\u2026`"
132
+ :placeholder="`say something to ${place}\u2026`"
131
133
  @send="onSend"
132
134
  @typing="typing()"
133
135
  />
@@ -0,0 +1,27 @@
1
+ type __VLS_Props = {
2
+ placeholder?: string;
3
+ /** Live peers, for `@` completion. Bots included — you may want to address one. */
4
+ mentionUsers?: {
5
+ id: string;
6
+ name: string;
7
+ isAgent?: boolean;
8
+ }[];
9
+ autofocus?: boolean;
10
+ };
11
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ send: (content: string) => any;
13
+ typing: () => any;
14
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
15
+ onSend?: ((content: string) => any) | undefined;
16
+ onTyping?: (() => any) | undefined;
17
+ }>, {
18
+ autofocus: boolean;
19
+ mentionUsers: {
20
+ id: string;
21
+ name: string;
22
+ isAgent?: boolean;
23
+ }[];
24
+ placeholder: string;
25
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
26
+ declare const _default: typeof __VLS_export;
27
+ export default _default;
@@ -0,0 +1,158 @@
1
+ <script setup>
2
+ import { computed, nextTick, ref } from "vue";
3
+ const props = defineProps({
4
+ placeholder: { type: String, required: false, default: "say something\u2026" },
5
+ mentionUsers: { type: Array, required: false, default: () => [] },
6
+ autofocus: { type: Boolean, required: false, default: false }
7
+ });
8
+ const emit = defineEmits(["send", "typing"]);
9
+ const draft = ref("");
10
+ const inputEl = ref(null);
11
+ const MAX_ROWS_PX = 84;
12
+ function autoGrow() {
13
+ const el = inputEl.value;
14
+ if (!el) return;
15
+ el.style.height = "auto";
16
+ el.style.height = `${Math.min(el.scrollHeight, MAX_ROWS_PX)}px`;
17
+ }
18
+ const canSend = computed(() => draft.value.trim().length > 0);
19
+ function send() {
20
+ const text = draft.value.trim();
21
+ if (!text) return;
22
+ emit("send", text);
23
+ draft.value = "";
24
+ closeMentions();
25
+ void nextTick(autoGrow);
26
+ }
27
+ const mentionOpen = ref(false);
28
+ const mentionQuery = ref("");
29
+ const mentionIndex = ref(0);
30
+ const mentionMatches = computed(() => {
31
+ if (!mentionOpen.value) return [];
32
+ const q = mentionQuery.value.toLowerCase();
33
+ return props.mentionUsers.filter((u) => !q || u.name.toLowerCase().includes(q)).slice(0, 6);
34
+ });
35
+ function closeMentions() {
36
+ mentionOpen.value = false;
37
+ mentionQuery.value = "";
38
+ mentionIndex.value = 0;
39
+ }
40
+ function syncMentions() {
41
+ const el = inputEl.value;
42
+ if (!el) return;
43
+ const upto = draft.value.slice(0, el.selectionStart ?? draft.value.length);
44
+ const m = /(?:^|\s)@([^\s@]*)$/.exec(upto);
45
+ if (!m) return closeMentions();
46
+ mentionOpen.value = true;
47
+ mentionQuery.value = m[1] ?? "";
48
+ mentionIndex.value = 0;
49
+ }
50
+ function acceptMention(name) {
51
+ const el = inputEl.value;
52
+ const caret = el?.selectionStart ?? draft.value.length;
53
+ const before = draft.value.slice(0, caret).replace(/(?:^|\s)@([^\s@]*)$/, (s) => `${s.startsWith("@") ? "" : s[0]}@${name} `);
54
+ draft.value = before + draft.value.slice(caret);
55
+ closeMentions();
56
+ void nextTick(() => {
57
+ el?.focus();
58
+ const at = before.length;
59
+ el?.setSelectionRange(at, at);
60
+ autoGrow();
61
+ });
62
+ }
63
+ function onInput() {
64
+ autoGrow();
65
+ syncMentions();
66
+ emit("typing");
67
+ }
68
+ function onKeydown(e) {
69
+ if (mentionOpen.value && mentionMatches.value.length) {
70
+ if (e.key === "ArrowDown") {
71
+ e.preventDefault();
72
+ mentionIndex.value = (mentionIndex.value + 1) % mentionMatches.value.length;
73
+ return;
74
+ }
75
+ if (e.key === "ArrowUp") {
76
+ e.preventDefault();
77
+ mentionIndex.value = (mentionIndex.value - 1 + mentionMatches.value.length) % mentionMatches.value.length;
78
+ return;
79
+ }
80
+ if (e.key === "Enter" || e.key === "Tab") {
81
+ e.preventDefault();
82
+ acceptMention(mentionMatches.value[mentionIndex.value].name);
83
+ return;
84
+ }
85
+ if (e.key === "Escape") {
86
+ e.preventDefault();
87
+ closeMentions();
88
+ return;
89
+ }
90
+ }
91
+ if (e.key === "Enter" && !e.shiftKey) {
92
+ e.preventDefault();
93
+ send();
94
+ }
95
+ }
96
+ </script>
97
+
98
+ <template>
99
+ <div class="jun-campfire-composer relative flex items-end gap-1 px-2.5 py-1.5">
100
+ <!-- Mentions. Anchored to the composer and floating ABOVE it: the panel
101
+ clips, so a list opening downward would be cut off by the footer. -->
102
+ <div
103
+ v-if="mentionOpen && mentionMatches.length"
104
+ class="jun-campfire-mentions absolute right-2 bottom-full left-2 mb-1 overflow-hidden rounded-lg"
105
+ >
106
+ <button
107
+ v-for="(u, i) in mentionMatches"
108
+ :key="u.id"
109
+ type="button"
110
+ class="jun-campfire-mention flex w-full items-center gap-1.5 px-2.5 py-1 text-left text-xs"
111
+ :class="i === mentionIndex ? 'is-on' : ''"
112
+ @mousedown.prevent="acceptMention(u.name)"
113
+ >
114
+ <span class="truncate text-neutral-700 dark:text-neutral-200">{{ u.name }}</span>
115
+ <span
116
+ v-if="u.isAgent"
117
+ class="text-[9px] tracking-wide text-neutral-400 dark:text-neutral-500"
118
+ >bot</span>
119
+ </button>
120
+ </div>
121
+
122
+ <textarea
123
+ ref="inputEl"
124
+ v-model="draft"
125
+ rows="1"
126
+ :placeholder="placeholder"
127
+ :autofocus="autofocus"
128
+ class="jun-campfire-field max-h-[84px] min-h-[1.75rem] flex-1 resize-none bg-transparent py-1
129
+ text-xs leading-snug text-neutral-800 outline-none placeholder:text-neutral-400
130
+ dark:text-neutral-100 dark:placeholder:text-neutral-500"
131
+ @input="onInput"
132
+ @keydown="onKeydown"
133
+ @blur="closeMentions"
134
+ />
135
+
136
+ <!-- Only when there is something to send. A permanently-lit send button on
137
+ an empty composer is a control that does nothing, taking the eye. -->
138
+ <Transition name="jun-campfire-send">
139
+ <button
140
+ v-if="canSend"
141
+ type="button"
142
+ class="jun-campfire-send mb-0.5 flex size-6 shrink-0 items-center justify-center rounded-md
143
+ text-neutral-500 dark:text-neutral-400"
144
+ aria-label="Send"
145
+ @click="send()"
146
+ >
147
+ <UIcon
148
+ name="i-lucide-arrow-up"
149
+ class="size-3.5"
150
+ />
151
+ </button>
152
+ </Transition>
153
+ </div>
154
+ </template>
155
+
156
+ <style scoped>
157
+ .jun-campfire-composer{border-radius:.625rem;transition:background-color .2s ease}.jun-campfire-composer:focus-within{background:rgba(0,0,0,.04)}:root.dark .jun-campfire-composer:focus-within{background:hsla(0,0%,100%,.06)}.jun-campfire-field{scrollbar-width:none}.jun-campfire-field::-webkit-scrollbar{display:none}.jun-campfire-send{transition:background-color .2s ease,color .2s ease}.jun-campfire-send:hover{background:rgba(0,0,0,.06);color:var(--color-neutral-700)}:root.dark .jun-campfire-send:hover{background:hsla(0,0%,100%,.08);color:var(--color-neutral-200)}.jun-campfire-send-enter-active,.jun-campfire-send-leave-active{transition:opacity .15s ease,transform .15s cubic-bezier(.22,1,.36,1)}.jun-campfire-send-enter-from,.jun-campfire-send-leave-to{opacity:0;transform:scale(.8)}.jun-campfire-mentions{background:var(--color-white);box-shadow:0 8px 24px rgba(0,0,0,.12),inset 0 0 0 1px rgba(0,0,0,.08)}:root.dark .jun-campfire-mentions{background:var(--color-neutral-900);box-shadow:0 8px 24px rgba(0,0,0,.4),inset 0 0 0 1px hsla(0,0%,100%,.12)}.jun-campfire-mention.is-on{background:rgba(0,0,0,.06)}:root.dark .jun-campfire-mention.is-on{background:hsla(0,0%,100%,.08)}@media (prefers-reduced-motion:reduce){.jun-campfire-composer,.jun-campfire-send,.jun-campfire-send-enter-active,.jun-campfire-send-leave-active{transition:none}.jun-campfire-send-enter-from,.jun-campfire-send-leave-to{transform:none}}
158
+ </style>
@@ -0,0 +1,27 @@
1
+ type __VLS_Props = {
2
+ placeholder?: string;
3
+ /** Live peers, for `@` completion. Bots included — you may want to address one. */
4
+ mentionUsers?: {
5
+ id: string;
6
+ name: string;
7
+ isAgent?: boolean;
8
+ }[];
9
+ autofocus?: boolean;
10
+ };
11
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ send: (content: string) => any;
13
+ typing: () => any;
14
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
15
+ onSend?: ((content: string) => any) | undefined;
16
+ onTyping?: (() => any) | undefined;
17
+ }>, {
18
+ autofocus: boolean;
19
+ mentionUsers: {
20
+ id: string;
21
+ name: string;
22
+ isAgent?: boolean;
23
+ }[];
24
+ placeholder: string;
25
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
26
+ declare const _default: typeof __VLS_export;
27
+ export default _default;
@@ -176,27 +176,17 @@ const bodyClass = "jun-scrollbar-hide min-h-0 flex-1 overflow-y-auto";
176
176
  />
177
177
  </div>
178
178
 
179
- <!-- Reactions — a gesture at the fire, on every tab. -->
180
- <div
179
+ <!-- Reactions — a gesture at the fire, on every tab. The quick row is the
180
+ owner's set; `+` opens the rest. See `JunCampfireReactions`. -->
181
+ <JunCampfireReactions
181
182
  v-if="settings.reactions"
182
- class="flex items-center gap-1.5 border-t border-neutral-900/5 px-3 py-2 dark:border-white/10"
183
- >
184
- <button
185
- v-for="r in settings.reactionSet"
186
- :key="r"
187
- type="button"
188
- :data-jun-action="`react:${r}`"
189
- class="jun-campfire-react inline-flex size-8 items-center justify-center rounded-lg text-base"
190
- :class="hot === `react:${r}` ? 'is-hot' : ''"
191
- :aria-label="`React ${r}`"
192
- @click="emit('react', r)"
193
- >
194
- {{ r }}
195
- </button>
196
- </div>
183
+ :set="settings.reactionSet"
184
+ :hot="hot"
185
+ @react="emit('react', $event)"
186
+ />
197
187
  </div>
198
188
  </template>
199
189
 
200
190
  <style scoped>
201
- .jun-campfire-panel.is-sm{max-height:min(27.5rem,calc(100dvh - 9rem));min-height:min(13rem,calc(100dvh - 9rem));width:min(17rem,calc(100vw - 2rem))}.jun-campfire-panel.is-md{max-height:min(32.375rem,calc(100dvh - 9rem));min-height:min(14.5rem,calc(100dvh - 9rem));width:min(20rem,calc(100vw - 2rem))}.jun-campfire-panel.is-lg{max-height:min(37.25rem,calc(100dvh - 9rem));min-height:min(16rem,calc(100dvh - 9rem));width:min(23rem,calc(100vw - 2rem))}.jun-campfire-panel.is-blurred{backdrop-filter:blur(24px);background:hsla(0,0%,100%,.7)}:root.dark .jun-campfire-panel.is-blurred{background:color-mix(in srgb,var(--color-neutral-900) 70%,transparent)}.jun-campfire-panel.is-opaque{background:hsla(0,0%,100%,.97)}:root.dark .jun-campfire-panel.is-opaque{background:color-mix(in srgb,var(--color-neutral-900) 97%,transparent)}.jun-campfire-tab{color:var(--color-neutral-500);transition:background-color .2s ease,color .2s ease}:root.dark .jun-campfire-tab{color:var(--color-neutral-400)}.jun-campfire-tab:hover{background:rgba(0,0,0,.035)}:root.dark .jun-campfire-tab:hover{background:hsla(0,0%,100%,.05)}.jun-campfire-tab.is-on{background:rgba(0,0,0,.06);color:var(--color-neutral-900)}:root.dark .jun-campfire-tab.is-on{background:hsla(0,0%,100%,.09);color:var(--color-neutral-100)}.jun-campfire-unread{background:rgba(0,0,0,.55);border-radius:999px;color:#fff;font-size:9px;font-variant-numeric:tabular-nums;line-height:.9rem;min-width:.9rem;padding:0 .2rem;position:absolute;right:.35rem;top:.1rem}:root.dark .jun-campfire-unread{background:hsla(0,0%,100%,.65);color:var(--color-neutral-900)}.jun-campfire-unread.is-ember{background:var(--jun-ember);color:#fff}.jun-campfire-close{transition:background-color .2s ease,color .2s ease}.jun-campfire-close:hover{background:rgba(0,0,0,.06);color:var(--color-neutral-700)}:root.dark .jun-campfire-close:hover{background:hsla(0,0%,100%,.08);color:var(--color-neutral-200)}.jun-campfire-react{background:hsla(0,0%,100%,.5);box-shadow:inset 0 0 0 1px rgba(0,0,0,.06);transition:transform .2s cubic-bezier(.22,1,.36,1)}:root.dark .jun-campfire-react{background:hsla(0,0%,100%,.05);box-shadow:inset 0 0 0 1px hsla(0,0%,100%,.1)}.jun-campfire-react:hover{transform:translateY(-2px)}.jun-campfire-react:active{transform:scale(.92)}@media (prefers-reduced-motion:reduce){.jun-campfire-close,.jun-campfire-react,.jun-campfire-tab{transition:none}.jun-campfire-react:hover{transform:none}}
191
+ .jun-campfire-panel.is-sm{max-height:min(27.5rem,calc(100dvh - 9rem));min-height:min(13rem,calc(100dvh - 9rem));width:min(17rem,calc(100vw - 2rem))}.jun-campfire-panel.is-md{max-height:min(32.375rem,calc(100dvh - 9rem));min-height:min(14.5rem,calc(100dvh - 9rem));width:min(20rem,calc(100vw - 2rem))}.jun-campfire-panel.is-lg{max-height:min(37.25rem,calc(100dvh - 9rem));min-height:min(16rem,calc(100dvh - 9rem));width:min(23rem,calc(100vw - 2rem))}.jun-campfire-panel.is-blurred{backdrop-filter:blur(24px);background:hsla(0,0%,100%,.7)}:root.dark .jun-campfire-panel.is-blurred{background:color-mix(in srgb,var(--color-neutral-900) 70%,transparent)}.jun-campfire-panel.is-opaque{background:hsla(0,0%,100%,.97)}:root.dark .jun-campfire-panel.is-opaque{background:color-mix(in srgb,var(--color-neutral-900) 97%,transparent)}.jun-campfire-tab{color:var(--color-neutral-500);transition:background-color .2s ease,color .2s ease}:root.dark .jun-campfire-tab{color:var(--color-neutral-400)}.jun-campfire-tab:hover{background:rgba(0,0,0,.035)}:root.dark .jun-campfire-tab:hover{background:hsla(0,0%,100%,.05)}.jun-campfire-tab.is-on{background:rgba(0,0,0,.06);color:var(--color-neutral-900)}:root.dark .jun-campfire-tab.is-on{background:hsla(0,0%,100%,.09);color:var(--color-neutral-100)}.jun-campfire-unread{background:rgba(0,0,0,.55);border-radius:999px;color:#fff;font-size:9px;font-variant-numeric:tabular-nums;line-height:.9rem;min-width:.9rem;padding:0 .2rem;position:absolute;right:.35rem;top:.1rem}:root.dark .jun-campfire-unread{background:hsla(0,0%,100%,.65);color:var(--color-neutral-900)}.jun-campfire-unread.is-ember{background:var(--jun-ember);color:#fff}.jun-campfire-close{transition:background-color .2s ease,color .2s ease}.jun-campfire-close:hover{background:rgba(0,0,0,.06);color:var(--color-neutral-700)}:root.dark .jun-campfire-close:hover{background:hsla(0,0%,100%,.08);color:var(--color-neutral-200)}@media (prefers-reduced-motion:reduce){.jun-campfire-close,.jun-campfire-tab{transition:none}}
202
192
  </style>