chirkle 0.5.0 → 0.6.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 (128) hide show
  1. package/README.md +21 -1
  2. package/bin/release/darwin-amd64/chirkle-server +1 -1
  3. package/bin/release/darwin-arm64/chirkle-server +0 -0
  4. package/bin/release/linux-amd64/chirkle-server +1 -1
  5. package/bin/release/linux-arm64/chirkle-server +0 -0
  6. package/package.json +2 -1
  7. package/pb_hooks/federation/inbox.js +2 -0
  8. package/pb_hooks/federation/messages.js +40 -2
  9. package/pb_hooks/federation/worker.js +7 -3
  10. package/pb_hooks/lib/files.js +36 -0
  11. package/pb_hooks/lib/media.js +14 -1
  12. package/pb_hooks/lib/messages.js +16 -6
  13. package/pb_hooks/lib/pins.js +199 -0
  14. package/pb_hooks/lib/rooms.js +4 -0
  15. package/pb_hooks/main.pb.js +16 -3
  16. package/pb_hooks/telegram/inbound.js +182 -16
  17. package/pb_hooks/telegram/outbound.js +98 -11
  18. package/pb_hooks/telegram/worker.js +2 -1
  19. package/pb_migrations/1760000059_telegram_media_edits.js +37 -0
  20. package/pb_migrations/1760000060_pins.js +23 -0
  21. package/pb_public/assets/{access-KVSI7EFH.js → access-23A7N3OD.js} +2 -2
  22. package/pb_public/assets/access-23A7N3OD.js.br +0 -0
  23. package/pb_public/assets/access-23A7N3OD.js.gz +0 -0
  24. package/pb_public/assets/app-7VYWTXX4.js +3 -0
  25. package/pb_public/assets/app-7VYWTXX4.js.br +0 -0
  26. package/pb_public/assets/app-7VYWTXX4.js.gz +0 -0
  27. package/pb_public/assets/app-7VYWTXX4.js.map +7 -0
  28. package/pb_public/assets/app-LDOYFRVQ.css +2 -0
  29. package/pb_public/assets/app-LDOYFRVQ.css.br +0 -0
  30. package/pb_public/assets/app-LDOYFRVQ.css.gz +0 -0
  31. package/pb_public/assets/app-LDOYFRVQ.css.map +7 -0
  32. package/pb_public/assets/chunk-DC4TJ7HF.js +2 -0
  33. package/pb_public/assets/chunk-DC4TJ7HF.js.br +0 -0
  34. package/pb_public/assets/chunk-DC4TJ7HF.js.gz +0 -0
  35. package/pb_public/assets/chunk-DC4TJ7HF.js.map +7 -0
  36. package/pb_public/assets/{chunk-LDZPNZ2E.js → chunk-SM542ZXL.js} +2 -2
  37. package/pb_public/assets/chunk-SM542ZXL.js.br +0 -0
  38. package/pb_public/assets/chunk-SM542ZXL.js.gz +0 -0
  39. package/pb_public/assets/chunk-SZMAZMR4.js +2 -0
  40. package/pb_public/assets/chunk-SZMAZMR4.js.br +0 -0
  41. package/pb_public/assets/chunk-SZMAZMR4.js.gz +0 -0
  42. package/pb_public/assets/chunk-SZMAZMR4.js.map +7 -0
  43. package/pb_public/assets/{chunk-EO3AMXJN.js → chunk-WDXT4S4J.js} +2 -2
  44. package/pb_public/assets/chunk-WDXT4S4J.js.br +0 -0
  45. package/pb_public/assets/chunk-WDXT4S4J.js.gz +0 -0
  46. package/pb_public/assets/{emoji-picker-W27IJER2.js → emoji-picker-K4DOKYL3.js} +2 -2
  47. package/pb_public/assets/emoji-picker-K4DOKYL3.js.br +0 -0
  48. package/pb_public/assets/{emoji-picker-W27IJER2.js.gz → emoji-picker-K4DOKYL3.js.gz} +0 -0
  49. package/pb_public/assets/{emoji-picker-W27IJER2.js.map → emoji-picker-K4DOKYL3.js.map} +2 -2
  50. package/pb_public/assets/forward-OR7S3EHR.js +2 -0
  51. package/pb_public/assets/forward-OR7S3EHR.js.br +0 -0
  52. package/pb_public/assets/forward-OR7S3EHR.js.gz +0 -0
  53. package/pb_public/assets/forward-OR7S3EHR.js.map +7 -0
  54. package/pb_public/assets/{invite-6BCBF4KV.js → invite-VGT2DI2L.js} +2 -2
  55. package/pb_public/assets/invite-VGT2DI2L.js.br +0 -0
  56. package/pb_public/assets/invite-VGT2DI2L.js.gz +0 -0
  57. package/pb_public/assets/{login-FZY6GOMF.js → login-TN6R7N2U.js} +2 -2
  58. package/pb_public/assets/login-TN6R7N2U.js.br +0 -0
  59. package/pb_public/assets/login-TN6R7N2U.js.gz +0 -0
  60. package/pb_public/assets/pins-6NQUEU3U.js +2 -0
  61. package/pb_public/assets/pins-6NQUEU3U.js.br +0 -0
  62. package/pb_public/assets/pins-6NQUEU3U.js.gz +0 -0
  63. package/pb_public/assets/pins-6NQUEU3U.js.map +7 -0
  64. package/pb_public/assets/pins-6ZVYPBB5.css +2 -0
  65. package/pb_public/assets/pins-6ZVYPBB5.css.br +0 -0
  66. package/pb_public/assets/pins-6ZVYPBB5.css.gz +0 -0
  67. package/pb_public/assets/pins-6ZVYPBB5.css.map +7 -0
  68. package/pb_public/assets/{profile-7KMXLX5U.js → profile-NQ6QCQIB.js} +2 -2
  69. package/pb_public/assets/profile-NQ6QCQIB.js.br +0 -0
  70. package/pb_public/assets/profile-NQ6QCQIB.js.gz +0 -0
  71. package/pb_public/assets/{rooms-forms-IADHTHBZ.js → rooms-forms-NYMPXVUQ.js} +2 -2
  72. package/pb_public/assets/rooms-forms-NYMPXVUQ.js.br +0 -0
  73. package/pb_public/assets/rooms-forms-NYMPXVUQ.js.gz +0 -0
  74. package/pb_public/assets/search-DRQHBOXE.js +2 -0
  75. package/pb_public/assets/search-DRQHBOXE.js.br +0 -0
  76. package/pb_public/assets/search-DRQHBOXE.js.gz +0 -0
  77. package/pb_public/assets/search-DRQHBOXE.js.map +7 -0
  78. package/pb_public/assets/search-QYHX6XDT.css +2 -0
  79. package/pb_public/assets/search-QYHX6XDT.css.br +0 -0
  80. package/pb_public/assets/search-QYHX6XDT.css.gz +0 -0
  81. package/pb_public/assets/search-QYHX6XDT.css.map +7 -0
  82. package/pb_public/index.html +6 -6
  83. package/pb_public/assets/access-KVSI7EFH.js.br +0 -0
  84. package/pb_public/assets/access-KVSI7EFH.js.gz +0 -0
  85. package/pb_public/assets/app-5JOOV6JX.js +0 -3
  86. package/pb_public/assets/app-5JOOV6JX.js.br +0 -0
  87. package/pb_public/assets/app-5JOOV6JX.js.gz +0 -0
  88. package/pb_public/assets/app-5JOOV6JX.js.map +0 -7
  89. package/pb_public/assets/app-7OMYYLCI.css +0 -2
  90. package/pb_public/assets/app-7OMYYLCI.css.br +0 -0
  91. package/pb_public/assets/app-7OMYYLCI.css.gz +0 -0
  92. package/pb_public/assets/app-7OMYYLCI.css.map +0 -7
  93. package/pb_public/assets/chunk-5PKDEWJS.js +0 -2
  94. package/pb_public/assets/chunk-5PKDEWJS.js.br +0 -0
  95. package/pb_public/assets/chunk-5PKDEWJS.js.gz +0 -0
  96. package/pb_public/assets/chunk-5PKDEWJS.js.map +0 -7
  97. package/pb_public/assets/chunk-EO3AMXJN.js.br +0 -0
  98. package/pb_public/assets/chunk-EO3AMXJN.js.gz +0 -0
  99. package/pb_public/assets/chunk-LDZPNZ2E.js.br +0 -0
  100. package/pb_public/assets/chunk-LDZPNZ2E.js.gz +0 -0
  101. package/pb_public/assets/chunk-Y5MCBN66.js +0 -2
  102. package/pb_public/assets/chunk-Y5MCBN66.js.br +0 -0
  103. package/pb_public/assets/chunk-Y5MCBN66.js.gz +0 -0
  104. package/pb_public/assets/chunk-Y5MCBN66.js.map +0 -7
  105. package/pb_public/assets/emoji-picker-W27IJER2.js.br +0 -0
  106. package/pb_public/assets/forward-5TJEYGEV.js +0 -2
  107. package/pb_public/assets/forward-5TJEYGEV.js.br +0 -0
  108. package/pb_public/assets/forward-5TJEYGEV.js.gz +0 -0
  109. package/pb_public/assets/forward-5TJEYGEV.js.map +0 -7
  110. package/pb_public/assets/invite-6BCBF4KV.js.br +0 -0
  111. package/pb_public/assets/invite-6BCBF4KV.js.gz +0 -0
  112. package/pb_public/assets/login-FZY6GOMF.js.br +0 -0
  113. package/pb_public/assets/login-FZY6GOMF.js.gz +0 -0
  114. package/pb_public/assets/profile-7KMXLX5U.js.br +0 -0
  115. package/pb_public/assets/profile-7KMXLX5U.js.gz +0 -0
  116. package/pb_public/assets/rooms-forms-IADHTHBZ.js.br +0 -0
  117. package/pb_public/assets/rooms-forms-IADHTHBZ.js.gz +0 -0
  118. package/pb_public/assets/search-HOPAWIMQ.js +0 -2
  119. package/pb_public/assets/search-HOPAWIMQ.js.br +0 -0
  120. package/pb_public/assets/search-HOPAWIMQ.js.gz +0 -0
  121. package/pb_public/assets/search-HOPAWIMQ.js.map +0 -7
  122. /package/pb_public/assets/{access-KVSI7EFH.js.map → access-23A7N3OD.js.map} +0 -0
  123. /package/pb_public/assets/{chunk-LDZPNZ2E.js.map → chunk-SM542ZXL.js.map} +0 -0
  124. /package/pb_public/assets/{chunk-EO3AMXJN.js.map → chunk-WDXT4S4J.js.map} +0 -0
  125. /package/pb_public/assets/{invite-6BCBF4KV.js.map → invite-VGT2DI2L.js.map} +0 -0
  126. /package/pb_public/assets/{login-FZY6GOMF.js.map → login-TN6R7N2U.js.map} +0 -0
  127. /package/pb_public/assets/{profile-7KMXLX5U.js.map → profile-NQ6QCQIB.js.map} +0 -0
  128. /package/pb_public/assets/{rooms-forms-IADHTHBZ.js.map → rooms-forms-NYMPXVUQ.js.map} +0 -0
@@ -1,2 +0,0 @@
1
- @font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url("./inter-cyrillic-ext-IYF56FF6.woff2") format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url("./inter-cyrillic-JEOLYBOO.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url("./inter-greek-IRE366VL.woff2") format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url("./inter-latin-ext-HA22NDSG.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url("./inter-latin-NRMW37G5.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{color-scheme:light dark;--bg: #fff;--surface: #fff;--raised: #fff;--fg: #0b0b10;--text: #0b0b10;--muted: #3f3f48;--dim: #62626e;--border: #e7e7ec;--line: #e7e7ec;--hover: #f1f1f4;--accent: #5536d0;--fill: #5536d0;--on-fill: #fff;--accent-2: #c42a7c;--grad: linear-gradient(135deg, #6a4bff, #c42a7c);--tint: color-mix(in srgb, var(--accent) 14%, transparent);--side-bg: var(--surface);--row-hover: var(--hover);--row-on: var(--fill);--row-on-fg: var(--on-fill);--row-on-icon: var(--on-fill);--row-on-badge: var(--on-fill);--row-on-badge-fg: var(--fill);--quote-hover: color-mix(in srgb, var(--fg) 10%, var(--bg));--quote-mine: var(--fill);--quote-mine-hover: color-mix(in srgb, var(--fill) 88%, #000);--quote-mine-author: var(--on-fill);--quote-mine-text: #e2dbff;--glass: color-mix(in srgb, var(--bg) 72%, transparent);--glass-blur: blur(10px);--field: color-mix(in srgb, var(--hover) 60%, transparent);--field-ring: inset 0 0 0 1px color-mix(in srgb, var(--fg) 6%, transparent);--danger: #c41d36;--new: #b0175f;--highlight: #fff1b8;--shadow: 0 .375rem 1.5rem rgb(11 11 16 / 12%);--radius: .625rem;--pill: 62.4375rem;--ease: cubic-bezier(.34, 1.56, .64, 1);font:1rem/1.5 Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-feature-settings:"calt" 0}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--bg: #1a1b1e;--surface: #111214;--raised: #232428;--fg: #ecece8;--text: #e0e0db;--muted: #b0b4ba;--dim: #9ea2a9;--border: #3a3d42;--line: #2a2c30;--hover: #2a2c30;--accent: #baa7ff;--fill: #6e56cf;--on-fill: #fff;--danger: #ff7a8f;--new: #f9a8d4;--highlight: #3d3314;--shadow: 0 .75rem 2rem rgb(0 0 0 / 45%);--side-bg: var(--bg);--row-hover: rgb(0 0 0 / 25%);--row-on: rgb(0 0 0 / 45%);--row-on-fg: var(--fg);--row-on-icon: var(--accent);--row-on-badge: var(--fill);--row-on-badge-fg: var(--on-fill);--quote-hover: rgb(0 0 0 / 40%);--quote-mine: color-mix(in srgb, var(--fill) 18%, var(--bg));--quote-mine-hover: color-mix(in srgb, var(--fill) 26%, var(--bg));--quote-mine-author: color-mix(in srgb, var(--accent) 70%, var(--fg));--quote-mine-text: var(--text)}}:root[data-theme=light]{color-scheme:light}:root[data-theme=dark]{color-scheme:dark;--bg: #1a1b1e;--surface: #111214;--raised: #232428;--fg: #ecece8;--text: #e0e0db;--muted: #b0b4ba;--dim: #9ea2a9;--border: #3a3d42;--line: #2a2c30;--hover: #2a2c30;--accent: #baa7ff;--fill: #6e56cf;--on-fill: #fff;--danger: #ff7a8f;--new: #f9a8d4;--highlight: #3d3314;--shadow: 0 .75rem 2rem rgb(0 0 0 / 45%);--side-bg: var(--bg);--row-hover: rgb(0 0 0 / 25%);--row-on: rgb(0 0 0 / 45%);--row-on-fg: var(--fg);--row-on-icon: var(--accent);--row-on-badge: var(--fill);--row-on-badge-fg: var(--on-fill);--quote-hover: rgb(0 0 0 / 40%);--quote-mine: color-mix(in srgb, var(--fill) 18%, var(--bg));--quote-mine-hover: color-mix(in srgb, var(--fill) 26%, var(--bg));--quote-mine-author: color-mix(in srgb, var(--accent) 70%, var(--fg));--quote-mine-text: var(--text)}*,*:before,*:after{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:var(--bg);color:var(--fg);font-size:.875rem}@media(max-width:720px){body{font-size:.9375rem}body input,body textarea,body select{font-size:1rem}}::selection{background:color-mix(in srgb,var(--accent) 35%,transparent)}*{scrollbar-width:thin;scrollbar-color:var(--border) transparent}a{color:var(--accent)}h1,h2{margin:0;line-height:1.2;font-weight:700;letter-spacing:-.01em}button,input,textarea{margin:0;font:inherit;color:inherit}button,label.button{padding:.45rem .9rem;border:1px solid var(--border);border-radius:var(--radius);background:var(--raised);font-weight:600;cursor:pointer;transition:transform .15s var(--ease),background-color .15s}@media(hover:hover){button:hover:not(:disabled){background:var(--hover)}}button:active:not(:disabled){transform:scale(.95)}button:disabled{opacity:.5;cursor:default}button.primary,.auth-form button[type=submit]{border-color:transparent;background:var(--fill);color:var(--on-fill)}@media(hover:hover){button.primary:hover:not(:disabled),.auth-form button[type=submit]:hover:not(:disabled){background:var(--fill);filter:brightness(1.12)}}button.danger{color:var(--danger);border-color:currentcolor}button.link{border:0;background:none;color:var(--accent);padding:.25rem}input,textarea{width:100%;padding:.55rem .75rem;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);transition:border-color .15s}input:focus,textarea:focus{border-color:var(--accent)}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.i,.ic:before{content:"";display:inline-block;flex:none;width:1.125rem;height:1.125rem;background:currentcolor;mask:var(--i) center / contain no-repeat}.icon-button{display:inline-flex;flex:none;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;padding:0;border:0;border-radius:.5rem;background:none;color:var(--muted)}input:focus-visible,textarea:focus-visible{outline:.1875rem solid var(--tint);outline-offset:0}[aria-invalid=true]{border-color:var(--danger)}.field-error,.form-error,.list-error,.room-error,.send-error,.msg-error{color:var(--danger);font-size:.85rem;margin:.25rem 0}.field-error:empty,.form-error:empty,.list-error:empty,.room-error:empty{display:none}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.i-search{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E")}.i-lock{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E")}.i-globe{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E")}.i-chev{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}.i-back{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E")}.i-plus{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E")}.i-dots{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='5' cy='12' r='1'/%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3Ccircle cx='19' cy='12' r='1'/%3E%3C/svg%3E")}.i-media{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-5-5L5 21'/%3E%3C/svg%3E")}.i-clip{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.4 11.1-9.2 9.2a6 6 0 0 1-8.5-8.5l9.2-9.2a4 4 0 0 1 5.7 5.7l-9.2 9.2a2 2 0 0 1-2.8-2.8l8.5-8.5'/%3E%3C/svg%3E")}.i-smile{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 14s1.5 2 4 2 4-2 4-2M9 9h.01M15 9h.01'/%3E%3C/svg%3E")}.i-send{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E")}.i-react{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5a8 8 0 1 0 8 8M8 15.5c.8 1.2 1.8 1.8 3 1.8s2.2-.6 3-1.8M8.5 11h.01M13.5 11h.01M19 2.5v5M16.5 5h5'/%3E%3C/svg%3E")}.i-reply{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 17 4 12l5-5M20 18v-2a4 4 0 0 0-4-4H4'/%3E%3C/svg%3E")}.i-fwd{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 17 5-5-5-5M4 18v-2a4 4 0 0 1 4-4h12'/%3E%3C/svg%3E")}.i-check{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='4'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E")}.i-edit{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E")}.i-trash{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6'/%3E%3C/svg%3E")}.i-x{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E")}.i-upload{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M17 8l-5-5-5 5M12 3v12'/%3E%3C/svg%3E")}.i-down{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M19 12l-7 7-7-7'/%3E%3C/svg%3E")}.i-top{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h14M12 21V8M6 13l6-6 6 6'/%3E%3C/svg%3E")}.i-eyeoff{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.9 4.2A10 10 0 0 1 12 4c6.5 0 10 8 10 8a17 17 0 0 1-2.2 3.2M6.6 6.6A17 17 0 0 0 2 12s3.5 8 10 8a10 10 0 0 0 5.4-1.6M3 3l18 18M10 10a3 3 0 0 0 4 4'/%3E%3C/svg%3E")}.i-archive{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='5' rx='1'/%3E%3Cpath d='M5 9v9a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V9M10 13h4'/%3E%3C/svg%3E")}.i-bell{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9M10.3 21a1.9 1.9 0 0 0 3.4 0'/%3E%3C/svg%3E")}.i-users{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='4'/%3E%3Cpath d='M2 21v-1a6 6 0 0 1 6-6h2a6 6 0 0 1 6 6v1M16 4a4 4 0 0 1 0 8M22 21v-1a6 6 0 0 0-4-5.6'/%3E%3C/svg%3E")}.i-file{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9Z'/%3E%3Cpath d='M14 3v6h6'/%3E%3C/svg%3E")}.i-hash{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 9h14M5 15h14M10 4 8 20M16 4l-2 16'/%3E%3C/svg%3E")}.i-eye{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E")}.i-alert{--i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5V13M12 16.5v.01'/%3E%3C/svg%3E")}html,body,#app{height:100%}html{touch-action:manipulation}html[data-size=medium]{font-size:125%}html[data-size=large]{font-size:150%}#app{display:flex;flex-direction:column;height:100dvh}.app-bar{display:flex;gap:.75rem;align-items:center;min-height:3.75rem;padding:0 .5rem 0 1rem;border-bottom:1px solid var(--line);background:var(--surface)}#app:has(.auth) .guest-links{display:none}@media(min-width:721px){#app:has(.layout)>.app-bar{display:none}}.brand{display:flex;flex:0 1 auto;min-width:0;gap:.6rem;align-items:center;font-size:1rem;font-weight:700;letter-spacing:-.01em}.brand:before{content:"";flex:none;width:1.875rem;height:1.875rem;background:url(/icons/icon.svg) center / contain no-repeat}.brand.has-logo:before{content:none}.brand-logo{flex:none;height:1.75rem;max-width:6rem;object-fit:contain}.brand-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.brand-name{display:grid;min-width:0}div.brand{position:relative}div.brand .brand-title:after{content:"";position:absolute;inset:0}.brand-by{font-size:.75rem;font-weight:400;color:var(--muted)}.brand-by a{position:relative;color:inherit}.side-top .brand-by{display:flex;gap:.25rem;align-items:center;line-height:1rem;white-space:nowrap}.side-top .brand-by a{display:inline-flex;gap:.1875rem;align-items:center;color:var(--fg);font-weight:500;text-decoration:none}.side-top .brand-by a:before{content:"";width:.6875rem;height:.6875rem;background:url(/icons/icon.svg) center / contain no-repeat}.bar-end{display:flex;gap:.25rem;align-items:center;min-width:0;margin-left:auto}.me-link{display:flex;flex:1;gap:.6rem;align-items:center;min-width:0;padding:.4rem;border-radius:var(--radius);color:var(--fg);font-weight:600;text-decoration:none}.who{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-bar .me-link{padding:.375rem}.app-bar .who{display:none}@media(hover:hover){.me-link:hover,.icon-button:hover{background:var(--hover)}}.me-link[aria-current=page]{background:var(--tint)}.app-bar .icon-button{width:2.75rem;height:2.75rem}.update-bar{padding:.375rem 1rem;text-align:center;background:var(--tint);font-size:.875rem}.app-main{flex:1;min-height:0;overflow-y:auto}.layout{display:flex;height:100%;background:var(--surface)}.sidebar{display:flex;flex:0 0 17.5rem;flex-direction:column;min-width:0;min-height:0;border-right:1px solid var(--line);background:var(--side-bg);--hover: var(--row-hover)}.sidebar .rooms{position:relative;display:flex;flex:1;flex-direction:column;min-height:0;max-width:none;margin:0;padding:0}.sidebar nav{flex:1;padding:var(--side-head) .75rem .75rem;overflow-y:auto;scroll-padding-top:var(--side-head)}.sidebar{--side-head: 4rem}.sidebar .list-error{margin:var(--side-head) 1.25rem 0}.sidebar .list-error:not(:empty)+nav{padding-top:.5rem}.sidebar .rooms>.loadbar{position:absolute;top:var(--side-head);right:0;left:0}.side-top{position:absolute;top:0;right:0;left:0;z-index:2;display:flex;align-items:center;height:var(--side-head);padding:0 1.125rem 0 1.25rem}.side-top:before{content:"";position:absolute;inset:0 0 -1.5rem;z-index:-1;pointer-events:none;background:linear-gradient(color-mix(in srgb,var(--accent) 10%,transparent),transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);mask-image:linear-gradient(180deg,#000 55%,transparent 100%)}.side-top .brand{gap:.75rem;color:var(--fg);font-size:1.125rem;line-height:1.375rem}.side-top .brand-name{gap:1px}.side-top .brand.has-logo .brand-logo{height:2.25rem;border-radius:.625rem}.jump-button{display:flex;flex:1;gap:.5rem;align-items:center;min-width:0;height:2.125rem;padding:0 .5rem;border:0;border-radius:.5rem;background:none;color:var(--muted);font-weight:500;text-align:left}.jump-button:before{width:1rem;height:1rem;margin:0 .125rem}.jump-button span{flex:1}.jump-button kbd{opacity:0;transition:opacity .15s}.jump-row:hover kbd,.jump-button:focus-visible kbd{opacity:1}.jump-button:active:not(:disabled){transform:none}.side-foot{display:flex;flex:none;flex-wrap:wrap;gap:.25rem;align-items:center;padding:.5rem .5rem calc(.75rem + env(safe-area-inset-bottom))}.side-foot .me-link{gap:.625rem;height:2.75rem;padding:0 .625rem 0 .5rem;font-size:.875rem}.side-foot .me-link .who{flex:1}.side-foot .me-link:before{order:1;width:.875rem;height:.875rem;color:var(--dim);transform:rotate(180deg)}.side-foot .avatar{width:1.75rem;height:1.75rem}.side-foot:has(.me-link){padding-top:0}.side-foot p{flex-basis:100%;margin:.25rem .25rem .375rem;color:var(--muted);font-size:.8125rem}.side-foot .button{flex:1}a.button,.guest-link{display:inline-flex;align-items:center;justify-content:center;height:2.5rem;padding:0 1rem;border:1px solid var(--border);border-radius:var(--radius);color:var(--fg);font-weight:600;text-decoration:none}a.button.primary,.guest-link.primary{border-color:transparent;background:var(--fill);color:var(--on-fill)}.pane{flex:1;min-width:0;overflow-y:auto;background:var(--bg)}.welcome{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;padding:2rem 1rem;text-align:center}.welcome:before{content:"\1f44b";margin-bottom:.75rem;font-size:3.5rem;animation:wave 2s ease-in-out infinite}.welcome h1{margin:0 0 .5rem;font-size:1.75rem}.welcome p{margin:0;color:var(--muted)}.invite-page p+p{margin-top:.75rem}.loadbar{position:relative;z-index:3;flex:none;height:0}.loadbar.on:before{content:"";position:absolute;inset:0 0 auto;height:2px;background:linear-gradient(90deg,transparent,var(--accent),transparent) -70% 0 / 40% 100% no-repeat;animation:loadbar 1.2s ease-in-out infinite}@keyframes loadbar{to{background-position:170% 0}}.avatar{display:inline-flex;flex:none;align-items:center;justify-content:center;border-radius:50%;object-fit:cover;overflow:hidden;font-weight:700;line-height:1;color:#fff;user-select:none}.avatar.s24{width:1.5rem;height:1.5rem;font-size:.6rem}.avatar.s32{width:2rem;height:2rem;font-size:.75rem}.msg>.avatar.s32{width:2.25rem;height:2.25rem}.avatar.s96{width:6rem;height:6rem;font-size:2rem;box-shadow:0 0 0 .25rem var(--bg),0 0 0 .4375rem var(--accent)}.avatar.c0{background:#c4213b}.avatar.c1{background:#b04a00}.avatar.c2{background:#7a6000}.avatar.c3{background:#22803a}.avatar.c4{background:#00796b}.avatar.c5{background:#1d63d8}.avatar.c6{background:#7b3fe4}.avatar.c7{background:#c01a6e}.profile-body{display:flex;flex-direction:column;gap:1.25rem;max-width:46rem;padding:1.75rem 1.75rem 3rem}.card,.profile-notify{display:flex;flex-direction:column;gap:.875rem;margin:0;padding:1.125rem 1.25rem 1.25rem;border:1px solid var(--line);border-radius:1rem;background:color-mix(in srgb,var(--fg) 3%,var(--bg))}.profile-body h2,.card legend,.profile-notify legend{margin:0;padding:0;font-size:.9375rem;font-weight:600;line-height:1.3;letter-spacing:0}.card legend,.profile-notify legend{float:left;width:100%}.profile-avatar{display:flex;gap:1rem;align-items:center}.profile-avatar h2{margin-bottom:.5rem}.profile-picture.busy{opacity:.6}.profile-avatar-actions{display:flex;flex-wrap:wrap;gap:.5rem}.profile-avatar-actions>.button,.profile-avatar-actions>button{display:inline-flex;align-items:center;height:2.125rem;padding:0 .875rem;border-color:transparent;border-radius:.5625rem;font-size:.8125rem}label.button{background:var(--hover)}.profile-avatar-actions button{padding:0 .75rem;background:none;color:var(--muted)}label.button:focus-within,.profile-avatar-actions input:focus-visible+label.button{outline:2px solid var(--accent);outline-offset:2px}label.button.disabled{opacity:.5;pointer-events:none}.profile-theme:not(.profile-notify){display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:1rem;row-gap:.1875rem}.profile-theme legend{grid-column:1}.field-status{margin:.25rem 0;font-size:.8125rem;color:var(--muted)}.profile-theme .field-status{grid-column:1;margin:0;line-height:1.3}.profile-theme{padding-bottom:1.125rem}.segmented{display:inline-flex;gap:2px;padding:.1875rem;border-radius:.625rem;background:var(--surface)}.profile-theme .segmented{grid-column:2;grid-row:1 / span 2}.segmented label{position:relative;padding:0 .875rem;border-radius:.5rem;color:var(--muted);font-size:.8125rem;font-weight:600;line-height:2rem;cursor:pointer}.segmented label:has(input:checked){background:var(--hover);color:var(--fg)}.segmented label:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}.segmented input{position:absolute;opacity:0;pointer-events:none}.profile-password{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.profile-password>:not(.field:nth-of-type(n+2)){grid-column:1 / -1}.profile-password button{justify-self:start}.profile-name label,.field label{display:block;margin-bottom:.375rem;color:var(--muted);font-size:.8125rem;font-weight:600}.profile-name .row{display:flex;gap:.5rem}.profile-name input{flex:1;min-width:0}.field-status.error{color:var(--danger)}.profile-password .field-status,.profile-password .field-error{margin:0}.profile-session{flex-direction:row;align-items:center;justify-content:space-between}.profile-session .field-status{margin:.1875rem 0 0}.profile-session>button{flex:none;white-space:nowrap}.profile-notify{gap:0;padding-bottom:0}.profile-notify legend{order:-2;margin-bottom:.1875rem}.profile-notify>.field-status{order:-1;margin:0 0 .625rem}.profile-notify>.field-status:empty{margin:0}.profile-avatar .avatar{width:4.5rem;height:4.5rem;font-size:1.5rem;box-shadow:0 0 0 .1875rem var(--bg),0 0 0 .3125rem var(--accent)}.notify-choice{display:flex;flex-direction:row-reverse;justify-content:space-between;align-items:center;min-height:3.25rem;margin:0 -1.25rem;padding:0 1.25rem;border-top:1px solid var(--line);cursor:pointer}.notify-choice input,input.switch{appearance:none;flex:none;width:2.25rem;height:1.375rem;margin:0;padding:0;border:0;border-radius:.6875rem;background:radial-gradient(circle .5625rem at .6875rem 50%,#fff 98%,transparent) var(--border);cursor:pointer;transition:background-position .15s}.notify-choice input:checked,input.switch:checked{background-color:var(--fill);background-position:.875rem 0}@media(max-width:720px){.profile-body{padding:1.25rem 1rem 2.5rem}.profile-password{grid-template-columns:1fr}}@media(max-width:480px){.profile-theme:not(.profile-notify){grid-template-columns:1fr}.profile-theme .segmented{grid-column:1;grid-row:auto;justify-self:start;margin-top:.625rem}}.app-main:has(>.auth){display:flex;background:var(--page, var(--bg))}.auth{display:flex;flex-direction:column;gap:1.5rem;width:100%;max-width:26.25rem;margin:auto;padding:2rem 1rem}.auth h1{display:flex;flex-direction:column;gap:.875rem;align-items:center;font-size:1.625rem;text-align:center}.auth h1:not(.has-logo):before{content:"";width:3.5rem;height:3.5rem;background:url(/icons/icon.svg) center / contain no-repeat}.auth .brand-by{margin:-1.125rem 0 0;text-align:center}.auth h1 .brand-logo{display:block;height:4rem;max-width:12rem}.auth-card{display:flex;flex-direction:column;gap:1.125rem;padding:1.5rem;border:1px solid var(--border);border-radius:1rem;background:var(--raised);animation:pop .4s var(--ease)}.tabs{display:grid;grid-template-columns:1fr 1fr;gap:2px;padding:.1875rem;border-radius:.625rem;background:var(--surface)}[role=tab]{height:2.25rem;border:0;border-radius:.5rem;background:none;color:var(--muted)}[role=tab][aria-selected=true]{background:var(--hover);color:var(--fg)}.field{margin-bottom:.875rem}.field input{height:2.625rem}.auth-forgot{display:block;margin:-.375rem 0 .625rem auto}.auth-card h2{margin:0;font-size:1.125rem}.auth-hint{margin:0 0 .875rem;color:var(--muted)}.auth-back{align-self:center}.auth-form button[type=submit]{width:100%;height:2.75rem;margin-top:.25rem;font-size:.9375rem}.rooms{max-width:40rem;margin:0 auto;padding:1rem}.section-head{position:relative;display:flex;gap:.375rem;align-items:center;padding:1rem .5rem .375rem}.room-section h2{flex:1;min-width:0;font-size:inherit}.fold,.room-section .section-title,.room-section>summary{display:flex;gap:.375rem;align-items:center;height:1.75rem;padding:0;border:0;border-radius:.375rem;background:none;color:var(--dim);font-size:.6875rem;font-weight:600;letter-spacing:.07em;text-transform:uppercase;list-style:none;cursor:pointer}.fold{width:calc(100% + .5rem);margin-left:-.5rem;padding-left:.5rem}.fold:after{content:"";position:absolute;inset:0}.section-head>.icon-button{position:relative;z-index:1}.chev{display:flex;flex:none;pointer-events:none;color:var(--dim)}.chev:before{width:.75rem;height:.75rem;transition:transform .15s}.section-head:has(.fold[aria-expanded=false]) .chev:before,.room-section:not([open])>summary .chev:before{transform:rotate(-90deg)}@media(hover:hover){.section-head>.icon-button{opacity:0;transition:opacity .15s}.section-head:hover>.icon-button,.section-head:focus-within>.icon-button,.section-head>.icon-button[aria-expanded=true]{opacity:1}}.room-section .section-title{cursor:default}.room-section>summary::-webkit-details-marker{display:none}.section-head .icon-button{width:1.625rem;height:1.625rem;color:var(--dim)}.section-head .icon-button:before{width:.9375rem;height:.9375rem}.section-head .icon-button[aria-expanded=true]{background:var(--tint);color:var(--accent)}.room-section ul{margin:0;padding:0;list-style:none}.room-section li{position:relative;display:flex;align-items:center;margin:1px 0;border-radius:.375rem}@media(hover:hover){.room-section li:hover{background:var(--row-hover)}}.room-section li a{display:flex;flex:1;gap:.5rem;align-items:center;min-width:0;height:1.75rem;padding:0 .5rem;color:var(--muted);font-weight:500;text-decoration:none}.room-section li a>.lead{display:flex;flex:none;align-items:center;justify-content:center;width:1.25rem;color:var(--dim);font-weight:600}.room-section li a>.lead:before{width:.9375rem;height:.9375rem}.room-section li a[aria-current=page]>.lead{color:var(--row-on-icon)}.more-body li a{height:1.625rem;color:var(--dim)}.room-section li.dm a,.room-section[data-section=collections] li a{height:2rem}.room-section li.dm .avatar{width:1.25rem;height:1.25rem;font-size:.625rem}.room-section li a>span:not(.avatar,.badge,.dot,.faces,.vis,.owner,.ci,.n){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-section li a>span>.vis{display:inline-flex;margin-left:.25rem;color:var(--dim);vertical-align:-.0625rem}.room-section li a>span>.vis:before{width:.75rem;height:.75rem}.room-section li a>.dot{flex:none;width:.4375rem;height:.4375rem;margin:0 .25rem 0 auto;border-radius:50%;background:var(--accent)}.room-section li a>.faces{display:flex;flex:none}.faces>.avatar{width:1.125rem;height:1.125rem;font-size:.4688rem;box-shadow:0 0 0 2px var(--side-bg)}.faces>.avatar+.avatar{margin-left:-.375rem}.room-section li a.unread{color:var(--fg);font-weight:600}.room-section li a[aria-current=page]{color:var(--row-on-fg);font-weight:600}.room-section li:has(a[aria-current=page]){background:var(--row-on)}.room-section li a[aria-current=page]>.vis,.room-section li a[aria-current=page]>span>.vis{color:var(--row-on-icon)}.room-section li a[aria-current=page]>.dot{background:var(--row-on-icon)}.room-section li a[aria-current=page]>.badge{background:var(--row-on-badge);color:var(--row-on-badge-fg)}.room-section li:has(a[aria-current=page]) .faces>.avatar{box-shadow:0 0 0 2px var(--row-on)}.room-section li a>.vis:not(.lead){display:flex;color:var(--dim)}.room-section li a>.vis:not(.lead):before{width:.875rem;height:.875rem}.badge{flex:none;min-width:1.25rem;margin-left:auto;padding:0 .375rem;border-radius:.625rem;background:var(--fill);color:var(--on-fill);font-size:.6875rem;font-weight:700;line-height:1.25rem;text-align:center}@media(hover:hover){.room-section li>.row-action{position:absolute;right:0;opacity:0}.room-section li:hover>.row-action,.room-section li:focus-within>.row-action{position:static;opacity:1}}.row-action{flex:none;margin-right:.25rem;height:1.625rem;padding:0 .5625rem;border:0;border-radius:.375rem;background:var(--hover);font-size:.75rem}.room-section[data-section=more]>summary{justify-content:flex-start;margin:1.125rem .5rem 0 0;padding-left:.5rem}.room-section[data-section=more]>summary>span:first-child{flex:1}.room-section[data-section=more] .count{width:1.625rem;letter-spacing:0;text-align:center}.more-body{margin:2px 0 .25rem;padding:2px 0 .375rem;border-radius:.625rem;background:var(--hover)}.more-part h3{display:flex;gap:.5rem;align-items:center;margin:0;padding:.5rem .625rem .25rem;color:var(--dim);font-size:.6875rem;font-weight:600}.more-part h3:before{width:.8125rem;height:.8125rem}.empty{color:var(--muted)}.more-body .empty{margin:0;padding:.5rem .625rem}.user-search{margin:.25rem 0 .5rem}.search-status{margin:.25rem 0;font-size:.8rem;color:var(--muted)}.search-results{margin:0;padding:0;list-style:none}.search-results .person{display:flex;gap:.5rem;align-items:center;width:100%;border:0;border-radius:var(--radius);background:none;text-align:left}.search-results .person>span:last-child,.switcher .name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.menu{position:relative}.menu>summary{list-style:none;cursor:pointer}.menu>summary::-webkit-details-marker{display:none}.menu>summary.ic{display:flex;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;border-radius:.5rem;color:var(--muted)}.room-section .menu>summary.i-dots{width:1.625rem;height:1.625rem;border-radius:.375rem}.menu>summary:hover,.menu[open]>summary{background:var(--hover);color:var(--fg)}.menu-items{position:absolute;top:calc(100% + .25rem);right:0;z-index:10;display:flex;flex-direction:column;gap:2px;min-width:min(17.5rem,100vw - 1rem);max-width:min(20rem,100vw - 1rem);padding:.375rem;border:1px solid var(--border);border-radius:.75rem;background:var(--raised);box-shadow:var(--shadow);animation:pop .2s var(--ease);transform-origin:top right}.menu-items button{display:flex;gap:.75rem;align-items:center;min-height:2.375rem;padding:0 .625rem;border:0;border-radius:.5rem;background:none;font-weight:400;text-align:left}.menu-items button:hover{background:var(--hover)}.menu-items button:before{width:1rem;height:1rem;color:var(--muted)}.menu-items .tile:before{width:1rem;height:1rem;color:var(--muted)}.menu-items small{display:block;color:var(--muted);font-size:.6875rem;line-height:1.35}.menu-items .value{margin-left:auto;color:var(--muted);font-size:.75rem}.menu-items button:has(small){padding:.375rem .625rem}.attach+.menu-items .tile{--hue: #a78bfa;display:flex;flex:none;align-items:center;justify-content:center;width:2rem;height:2rem;border-radius:.5rem;background:color-mix(in srgb,var(--hue) 16%,transparent)}.attach+.menu-items button+button .tile{--hue: #38bdf8}.attach+.menu-items .tile:before{color:color-mix(in srgb,var(--hue) 70%,var(--fg))}.attach+.menu-items button{padding:.5rem .625rem;font-weight:600}.attach+.menu-items small{margin-top:2px;font-size:.75rem;font-weight:400}.menu-items .sep{margin-top:.6875rem;box-shadow:0 -.4375rem 0 -.375rem var(--border)}.menu-items [aria-checked]{justify-content:flex-start}.menu-items [aria-checked]:after{content:"";width:2.25rem;height:1.375rem;margin-left:auto;border-radius:.6875rem;background:radial-gradient(circle .5625rem at .6875rem 50%,#fff 98%,transparent) var(--border);transition:background-position .15s}.menu-items [aria-checked=true]:after{background-color:var(--fill);background-position:.875rem 0}.menu-items p{margin:.25rem .5rem;font-size:.9rem}.room{position:relative;display:flex;flex-direction:column;height:100%}.room-top{position:absolute;top:0;right:0;left:0;z-index:3}.room-footer{position:absolute;right:0;bottom:0;left:0;z-index:3}.room-footer>:where(:not(.composer)){background:var(--bg)}.room-header{display:flex;flex-wrap:wrap;gap:.25rem .75rem;align-items:center;min-height:4rem;padding:0 1.25rem 0 1.75rem;background:var(--glass);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur)}.room-header h1{display:flex;flex:1;gap:.625rem;align-items:center;min-width:0;font-size:1.125rem}.day span{padding:.1875rem .625rem;border:1px solid var(--border);border-radius:.625rem}.previews span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.room-header h1 .name,.room-header h1.dm-title span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-header .hash{width:auto;margin-right:2px;color:var(--dim);font-weight:600}.vis-badge{display:inline-flex;flex:none;align-items:center;margin-left:-.25rem;color:var(--dim)}.vis-badge:before{width:.875rem;height:.875rem}.room-members{position:relative;display:flex;gap:.5rem;align-items:center;height:2.25rem;margin-right:.8125rem;padding:0 .625rem 0 .375rem;border:0;border-radius:1.125rem;background:none;color:var(--muted);font-size:.8125rem}.room-members:after{content:"";position:absolute;right:-.8125rem;width:1px;height:1.25rem;background:var(--border)}.faces{display:flex}.faces .avatar{border:2px solid var(--bg);box-sizing:content-box}.msg>.avatar{position:absolute;top:.5rem;left:1.75rem}.faces .avatar+.avatar{margin-left:-.5rem}.room-header .room-error{flex-basis:100%}.room-heading{display:flex;flex:1;flex-direction:column;justify-content:center;min-width:0}.room-heading>h1{flex:none}.room-header .room-shared{overflow:hidden;margin:0;color:var(--muted);font-size:.8rem;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.room-header h1.dm-title+.room-shared{padding-left:calc(24px + .625rem)}.back{display:flex;align-items:center;justify-content:center;width:2.75rem;height:2.75rem;margin-left:-1rem;border-radius:.75rem;color:var(--muted)}.back:before{width:1.375rem;height:1.375rem}.room-body{position:relative;flex:1;min-height:0;display:flex;flex-direction:column}.messages{flex:1;min-height:0;overflow-y:auto;overflow-anchor:auto;margin:0;padding:calc(var(--head-h, 4rem) + .75rem) 0 calc(var(--foot-h, 4.25rem) + .5rem);scroll-padding:var(--head-h, 4rem) 0 var(--foot-h, 4.25rem);list-style:none}.sentinel{height:1px}.beginning,.load-error,.service{padding:1.5rem 0 1rem;color:var(--muted);text-align:center;overflow-wrap:anywhere}.beginning:before{content:"\2728";display:block;font-size:2rem}.day{display:flex;gap:.75rem;align-items:center;margin:.5rem 1.75rem .25rem;color:var(--muted);font-size:.75rem;font-weight:600}.day:before,.day:after{content:"";flex:1;border-top:1px solid var(--line)}.service{padding:.5rem;font-size:.8rem}.msg{position:relative;padding:2px 1.75rem 2px 4.875rem;color:var(--text);line-height:1.55;transition:background-color .1s}.msg.group-start{min-height:3.125rem;padding-top:.375rem;margin-top:.375rem}@media(hover:hover){.messages:not(.by-touch) .msg:hover{background:color-mix(in srgb,var(--fill) 7%,transparent)}}.meta{display:flex;gap:.5rem;align-items:baseline;min-width:0;line-height:1.5}.author{min-width:0;overflow:hidden;color:var(--fg);font-weight:600;text-overflow:ellipsis;white-space:nowrap}.meta time,.permalink{flex:none}.permalink:not(:hover){text-decoration:none}button.author{padding:0;border:0;border-radius:0;background:none;font-weight:600;text-align:start;transition:none}button.author:hover:not(:disabled),button.author:focus-visible{background:none;text-decoration:underline}button.author:active:not(:disabled){transform:none}.author-menu{min-width:0}.author-menu>summary.author{display:block;padding:0;color:inherit}.author-menu>summary.author:hover,.author-menu[open]>summary.author{background:none;text-decoration:underline}.author-menu .menu-items{right:auto;left:0;min-width:8rem;transform-origin:top left}.author-menu.up .menu-items{top:auto;bottom:calc(100% + .25rem);transform-origin:bottom left}.meta time,.permalink,.edited,.hint,.counter{font-size:.75rem;color:var(--dim)}.body{white-space:pre-wrap;overflow-wrap:anywhere}.edited{margin-left:.35rem}.msg .body,.msg .edited{display:inline}.placeholder{font-style:italic;color:var(--muted)}.previews{display:flex;flex-direction:column;align-items:flex-start;gap:.125rem;margin:.25rem 0 2px;padding:0;list-style:none;font-size:.8125rem;font-weight:600}.previews li{max-width:100%}.previews a{display:flex;gap:.4375rem;align-items:center;min-height:1.5rem;color:var(--muted);text-decoration:none}@media(hover:hover){.previews a:hover .preview-title{color:var(--fg);text-decoration:underline}}.previews img,.preview-letter{flex:none;width:.875rem;height:.875rem;border-radius:.1875rem}.preview-letter{display:flex;align-items:center;justify-content:center;background:var(--hover);color:var(--muted);font-size:.5rem;font-weight:700}.preview-domain{flex:none;max-width:50%;color:var(--dim);font-size:.75rem;font-weight:500}.previews .preview-dot{flex:none;width:3px;height:3px;border-radius:50%;background:var(--dim)}.room-body>.loadbar{top:var(--head-h, 0px)}.search-toggle[aria-expanded=true]{background:var(--tint);color:var(--fg)}.room-search{display:grid;grid-template-columns:minmax(0,1fr) auto auto;column-gap:.625rem;align-items:center;padding:.625rem 1.25rem .625rem 1.75rem;border-bottom:1px solid var(--line);background:var(--raised);box-shadow:0 .75rem 1.5rem #0003}.search-bar{display:contents}.room-search:before{z-index:1;grid-area:1 / 1;width:1rem;height:1rem;margin-left:.875rem;color:var(--dim);pointer-events:none}.search-bar input{grid-area:1 / 1;height:2.625rem;padding-left:2.5rem}.search-bar button{grid-area:1 / 3}.room-search .search-status{grid-area:1 / 2;margin:0;color:var(--muted);font-size:.8125rem}.room-search .search-results{grid-column:1 / -1;max-height:45vh;overflow-y:auto;margin:.375rem -.75rem 0 -1rem;padding:0;list-style:none}.room-search .search-results .link{display:block;height:2.125rem;margin:.375rem auto .25rem;padding:0 .875rem;border:1px solid var(--border);border-radius:.625rem;color:var(--fg);font-size:.8125rem;text-decoration:none}.search-result{display:grid;grid-template-columns:1.625rem minmax(0,1fr);column-gap:.75rem;width:100%;padding:.4375rem .75rem;border:0;border-radius:.625rem;background:none;text-align:left;font-weight:400}.search-result .avatar{grid-row:1 / 3;width:1.625rem;height:1.625rem;margin-top:2px;font-size:.625rem}.search-result .body{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal}.search-result mark{background:var(--highlight);color:inherit}.reply-quote{display:flex;gap:.375rem;align-items:center;width:fit-content;max-width:100%;min-width:0;height:1.625rem;margin:4px 0;padding:0 .75rem 0 3px;border:0;border-radius:var(--pill);background:var(--row-hover);color:var(--dim);font-size:calc(1em - 2px);font-weight:400;line-height:1.25rem;text-align:left}.msg:not(.group-start)>.reply-quote{margin-top:.375rem}.reply-quote:active:not(:disabled){transform:none}@media(hover:hover){.reply-quote:hover{background:var(--quote-hover);color:var(--fg)}}.reply-quote .avatar{width:1.25rem;height:1.25rem;font-size:.5rem}.reply-quote>.reply-author:first-child,.reply-quote>.reply-text:first-child{margin-left:calc(.75rem - 3px)}.reply-author{flex:0 .15 auto;min-width:0;max-width:20em;overflow:hidden;color:var(--muted);font-weight:600;text-overflow:ellipsis;white-space:nowrap}.reply-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reply-text .i{width:.75rem;height:.75rem;margin-right:.25rem;vertical-align:-.0625rem}.reply-quote.deleted .reply-text{padding-right:.15em;font-style:italic}.reply-quote.mine{background:var(--quote-mine);color:var(--quote-mine-text)}.reply-quote.mine .reply-author{flex-shrink:0;max-width:40%;color:var(--quote-mine-author)}.reply-quote.mine:hover{color:var(--quote-mine-text)}@media(hover:hover){.reply-quote.mine:hover{background:var(--quote-mine-hover)}}.replying{display:flex;gap:.5rem;align-items:center;min-height:2.125rem;padding:0 .3125rem 0 1rem;border-bottom:1px solid color-mix(in srgb,var(--fg) 9%,transparent);color:var(--dim);font-size:.8125rem}.replying:before{width:.875rem;height:.875rem}.replying-label{display:flex;flex:1;gap:.5rem;align-items:baseline;min-width:0;color:var(--dim)}.replying-who,.replying-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.replying-who{flex:0 .2 auto}.replying-text{flex:1}.replying-label strong{color:var(--fg);font-weight:600}.replying .remove{width:1.75rem;height:1.75rem}.mention{color:var(--accent);font-weight:600}.mention.me{padding:0 2px;border-radius:.25rem;background:var(--tint);color:var(--text)}.room-section[data-section=inbox] a:before{content:"@";display:flex;flex:none;justify-content:center;width:1.25rem;color:var(--dim);font-weight:600}.room-section[data-section=inbox] a.unread:before{color:var(--accent)}.room-section[data-section=inbox] a[aria-current=page]:before{color:var(--row-on-icon)}.attachments{margin:.3rem 0 .15rem}.att-images{--att-h: 7.5rem;--att-max-w: 15rem;display:flex;flex-wrap:wrap;gap:.25rem}.att-images.one{--att-h: 15rem;--att-max-w: 25rem}.att-tile{position:relative;display:block;min-width:calc(var(--att-h) / 2);max-width:min(100%,var(--att-max-w));height:var(--att-h);overflow:hidden;border-radius:var(--radius);background:var(--surface)}.att-tile img,.att-tile video{display:block;width:auto;max-width:100%;height:100%;margin-inline:auto;object-fit:scale-down;transition:transform .25s}.att-tile video{pointer-events:none}.att-tile:hover img,.att-tile:hover video{transform:scale(1.05)}.att-play{position:absolute;inset:50% auto auto 50%;translate:-50% -50%;display:grid;place-items:center;width:min(2.75rem,40%);aspect-ratio:1;border-radius:50%;background:#0d0b1499;pointer-events:none}.att-play:before{content:"";width:55%;height:55%;background:#fff;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / contain no-repeat}.att-broken{display:flex;flex-wrap:wrap;gap:.25rem;align-items:center;justify-content:center;padding:.5rem;border:2px dashed var(--border);color:var(--muted);font-size:.8rem;text-align:center}.att-broken button{padding:.1rem .5rem;font-size:.8rem}.att-files{display:flex;flex-wrap:wrap;gap:.4rem;margin:.3rem 0 0;padding:0;list-style:none}.att-file{display:inline-block;max-width:18rem;padding:0 .75rem;overflow:hidden;border:1px solid var(--border);border-radius:.625rem;background:color-mix(in srgb,var(--fg) 5%,transparent);color:var(--fg);font-size:.8125rem;font-weight:600;line-height:2.5rem;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.att-file:before{content:"";display:inline-block;width:1rem;height:1rem;margin-right:.5rem;background:var(--accent);vertical-align:-.1875rem;mask:var(--i) center / contain no-repeat}.att-files audio{max-width:100%;height:2.2rem;vertical-align:top}.att-more{position:absolute;inset:0;display:grid;place-items:center;background:#0d0b148c;color:#fff;font-size:1.5rem;font-weight:700;pointer-events:none}.att-progress{display:block;width:min(100%,16rem);height:.25rem;margin-top:.35rem;overflow:hidden;border:0;border-radius:2px;background:var(--border);accent-color:var(--accent);appearance:none}.att-progress::-webkit-progress-bar{background:var(--border)}.att-progress::-webkit-progress-value{background:var(--accent);transition:width .2s}.att-progress::-moz-progress-bar{background:var(--accent)}.ci{display:inline-block;flex:none;width:1.15em;height:1.15em;background:currentcolor;vertical-align:-.2em;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h12a2 2 0 0 1 2 2v12'/%3E%3Crect x='3' y='7' width='14' height='14' rx='2'/%3E%3Cpath d='m3 19 5-5 4 4 2-2 3 3'/%3E%3Ccircle cx='12.5' cy='11.5' r='1'/%3E%3C/svg%3E") center / contain no-repeat}@media(hover:hover){.icon-button:hover:not(:disabled){background:var(--hover);color:var(--fg)}}.att-cell{position:relative;display:block;max-width:min(100%,var(--att-max-w))}.att-src,.att-save{position:absolute;z-index:1;border-radius:var(--pill);background:#0d0b14a6;color:#fff;font-size:.7rem;font-weight:700;line-height:1.6}.att-src{bottom:.25rem;left:.25rem;display:flex;gap:.2rem;align-items:center;max-width:calc(100% - .5rem);padding:0 .45rem;overflow:hidden;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.att-src>.i-lock:before{width:.75rem;height:.75rem}a.att-src:hover{background:var(--accent)}.att-save{top:.25rem;right:.25rem;width:1.9rem;height:1.9rem;padding:0;border:0;font-size:.95rem;opacity:0}.att-cell:hover .att-save,.att-save:focus-visible,.att-save[aria-expanded=true]{opacity:1}@media(hover:none){.att-save{opacity:.85}}.room-section[data-section=collections] li a:before{content:"";flex:none;width:1.25rem;height:1.25rem;border-radius:.375rem;background:color-mix(in srgb,var(--hue) 16%,transparent)}.room-section[data-section=collections] li a>.ci{width:.8125rem;height:.8125rem;margin:0 .2188rem 0 -1.5313rem;color:color-mix(in srgb,var(--hue) 70%,var(--fg))}.t0{--hue: #a78bfa}.t1{--hue: #38bdf8}.t2{--hue: #fb923c}.t3{--hue: #4ade80}.room-section li a>.n{min-width:1.125rem;color:var(--dim);font-size:.75rem;text-align:right}.room-section li .owner{display:flex;flex:none}.room-section li .owner>.avatar{width:1rem;height:1rem;font-size:.4375rem}.tray-item .ci{width:2.5rem;color:var(--muted)}.msg.pending{opacity:.6;animation:pop .3s var(--ease)}.msg.failed .body,.msg.failed .attachments{opacity:.7}.msg.target{background:var(--highlight);animation:target-fade 3s ease-in forwards}@keyframes target-fade{0%,60%{background:var(--highlight)}to{background:transparent}}.actions{position:absolute;top:-.875rem;right:1.75rem;z-index:1;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:2px;max-width:calc(100% - 3.5rem);padding:.1875rem;border:1px solid var(--border);border-radius:.625rem;background:var(--raised);box-shadow:var(--shadow);opacity:0;pointer-events:none}.actions button{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;padding:0;border:0;border-radius:.4375rem;background:none;color:var(--muted)}.actions button:before{width:1rem;height:1rem}.actions button.delete{color:var(--danger)}@media(hover:hover){.messages:not(.by-touch) .msg:hover .actions{opacity:1;pointer-events:auto}}.msg.touched{background:color-mix(in srgb,var(--fill) 7%,transparent)}.msg.touched .actions,.msg:has(:focus-visible) .actions{opacity:1;pointer-events:auto}@media(hover:none){.actions{width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.msg.touched .actions,.msg:has(:focus-visible) .actions{position:static;justify-content:flex-start;width:fit-content;height:auto;overflow:visible;clip-path:none;margin-top:.15rem;box-shadow:none}}.new-line{height:0;margin:0 1.75rem;border-top:1px solid color-mix(in srgb,var(--new) 60%,transparent);font-size:.6875rem;font-weight:700;letter-spacing:.04em;line-height:0;color:var(--new);text-align:right;text-transform:uppercase;animation:fade-out 1s 4s forwards}.new-line span{padding-left:.625rem;background:var(--bg)}@keyframes fade-out{to{opacity:0}}.reactions{display:flex;flex-wrap:wrap;gap:.125rem;margin:.25rem 0 2px -.375rem}.reaction,.add-reaction{display:inline-flex;gap:.25rem;align-items:center;height:1.75rem;padding:0 .375rem;border:none;border-radius:.875rem;background:none;color:var(--muted);font-size:.875rem;font-weight:500}.reaction-emoji{font-size:1.0625rem}.reaction.mine{color:var(--accent);font-weight:700}button.reaction:hover,.add-reaction:hover{background:color-mix(in srgb,var(--fg) 6%,transparent)}.add-reaction{color:var(--dim)}.confirm,.send-error,.msg-error{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center;margin:.25rem 0;font-size:.85rem}.bar-actions{display:flex;gap:inherit;align-items:center}.confirm button,.send-error button,.msg-error button{height:1.625rem;padding:0 .625rem;border:0;border-radius:.375rem;background:var(--hover);font-size:.75rem}.confirm .danger{background:var(--danger);color:var(--bg)}.edit-input{display:block;margin-top:.15rem;resize:vertical}.hint{margin:.15rem 0 0}.hint.error{color:var(--danger)}.room-notice{margin:0;padding:.4rem 1rem;background:var(--tint);font-size:.85rem;color:var(--muted)}.room-notice:empty{display:none}.new-messages{position:absolute;bottom:calc(var(--foot-h, 0px) + .75rem);left:50%;z-index:2;display:flex;gap:.5rem;align-items:center;height:2.25rem;padding:0 .875rem 0 .75rem;border:0;border-radius:1.125rem;background:var(--glass);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);box-shadow:0 .3125rem 1rem light-dark(rgb(11 11 16 / 12%),rgb(0 0 0 / 35%));color:var(--fg);font-size:.8125rem;font-weight:600;white-space:nowrap;transform:translate(-50%);animation:pop .3s var(--ease)}.new-messages:before{width:.875rem;height:.875rem}.new-messages.has-faces{padding-left:.4375rem}.new-messages.has-faces:before{content:none}.new-messages .faces .avatar{width:1.375rem;height:1.375rem;border-color:var(--bg);font-size:.5625rem}.new-messages .faces .avatar+.avatar{margin-left:-.4375rem}@media(hover:hover){.new-messages:hover:not(:disabled){background:color-mix(in srgb,var(--hover) 80%,transparent)}}.new-messages:active:not(:disabled){transform:translate(-50%) scale(.95)}.composer{padding:.5rem 1rem calc(.75rem + env(safe-area-inset-bottom))}.composer-box{position:relative;display:flex;flex-direction:column;border-radius:var(--radius);background:var(--field);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);box-shadow:var(--field-ring)}.composer-row{display:flex;gap:.25rem;align-items:flex-end;min-height:2.75rem;padding:.25rem .3125rem .25rem .9375rem}.composer-buttons{display:flex;flex:none;gap:2px;align-items:center}.composer-buttons>button,.composer-buttons>.menu>summary{width:2.25rem;height:2.25rem;border-radius:.5rem}.composer textarea{flex:1;align-self:center;min-width:0;min-height:2.25rem;max-height:10rem;overflow-x:hidden;padding:calc((2.25rem - 1lh)/2) 0;border:0;background:none;outline:none;resize:none}.composer .menu[open]>summary{background:var(--tint);color:var(--accent)}.composer .menu{position:static}.composer .menu-items{top:auto;right:0;bottom:calc(100% + .5rem);left:auto;transform-origin:bottom right}.composer .send{display:flex;flex:none;align-items:center;justify-content:center;padding:0;border:0;background:none;color:var(--accent)}.composer .send:before{width:1.125rem;height:1.125rem}.composer .send:disabled{opacity:1;background:none;color:color-mix(in srgb,var(--accent) 55%,transparent)}@media(hover:hover){.composer .send:hover:not(:disabled){background:var(--hover)}}.composer .counter{align-self:center}.composer .focus-key{align-self:center;margin-inline:.25rem;padding:0 .375rem;border:0;border-radius:.3125rem;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--fg) 12%,transparent);color:var(--dim);font-size:.6875rem;font-weight:600;line-height:1.25rem;white-space:nowrap}.composer textarea:focus~.focus-key{display:none}@media(hover:none){.focus-key{display:none}}.tray{display:flex;gap:.5rem;margin:0;padding:.125rem .625rem .625rem .9375rem;overflow-x:auto;list-style:none;scrollbar-width:thin}.tray-item{position:relative;flex:none;width:4.5rem;height:4.5rem;animation:pop .25s var(--ease)}.tray-thumb,.tray-doc{display:block;width:100%;height:100%;border-radius:.5rem}.tray-thumb{object-fit:cover;background:var(--surface)}.tray-doc{display:flex;flex-direction:column;gap:.25rem;align-items:center;justify-content:center;box-sizing:border-box;background:var(--hover);color:var(--muted)}.tray-doc.ic:before{width:1.25rem;height:1.25rem}.tray-ext{font-size:.625rem;font-weight:700;letter-spacing:.03em}.tray-ext:empty{display:none}.tray-doc .ci{width:1.5rem;height:1.5rem}.tray-item .remove{position:absolute;top:.25rem;right:.25rem;display:flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;padding:0;border:0;border-radius:50%;background:var(--bg);color:var(--muted)}.tray-item .remove:after{content:"";position:absolute;inset:-.375rem}.tray-item .remove:before{width:.625rem;height:.625rem}.tray:empty{display:none}.tray-error{margin:0 .9375rem .5rem;color:var(--danger);font-size:.85rem}.tray-error:empty{display:none}.composer textarea::placeholder{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.counter{align-self:center}.counter:empty{display:none}.forwarded{color:var(--muted);font-size:.75rem;font-style:italic}.messages.selecting .msg{padding-left:6.875rem;cursor:pointer;user-select:none}.messages.selecting .msg>.avatar{left:3.75rem}.msg>.select{position:absolute;top:1.0625rem;left:1.75rem;width:1.125rem;height:1.125rem;padding:0;accent-color:var(--fill)}.msg:not(.group-start)>.select{top:.375rem}.msg.selected{background:var(--tint)}.selection-bar{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;min-height:4.25rem;padding:.5rem 1rem calc(.5rem + env(safe-area-inset-bottom)) 1.5rem;border-top:1px solid var(--line);background:var(--raised)}.selection-bar>span{flex:1;font-weight:600}.selection-bar .ic:not([hidden]){display:inline-flex;align-items:center;gap:.5rem}.selection-bar .ic:before{width:1rem;height:1rem}.selection-bar button{height:2.375rem}.selection-bar button:not(.primary,.danger){border-color:transparent;background:none}@media(max-width:400px){.selection-bar{padding-left:1rem}.selection-bar .ic:before{display:none}}dialog.forward,dialog.access{width:min(30rem,calc(100% - 2rem));max-height:min(36rem,85vh);padding:1.25rem 1.5rem;border:1px solid var(--border);border-radius:1rem;background:color-mix(in srgb,var(--raised),var(--bg));color:var(--fg);box-shadow:var(--shadow)}dialog.forward[open]{display:flex;flex-direction:column;gap:.625rem}dialog.forward::backdrop,dialog.access::backdrop{background:#08060ea8}.forward-list{min-height:0;overflow-y:auto}.switcher>.search-status{margin:.5rem 1.25rem}.switcher .forward-list{padding:.5rem}dialog.forward.busy .forward-list{opacity:.6;pointer-events:none}dialog.switcher{width:min(35rem,calc(100% - 2rem));max-height:min(36rem,calc(100dvh - 9.75rem));margin-top:8.75rem;padding:0;overflow:hidden}dialog.switcher[open]{gap:0}.jump-field{display:flex;flex:none;gap:.75rem;align-items:center;height:3.75rem;padding:0 1.25rem;border-bottom:1px solid var(--border);color:var(--muted)}.jump-field:before{width:1.125rem;height:1.125rem}.jump-field input{flex:1;min-width:0;height:100%;padding:0;border:0;background:none;outline:none;font-size:1.0625rem}.switcher kbd,.jump-button kbd,.focus-key{padding:1px .375rem;border:1px solid var(--border);border-radius:.3125rem;color:var(--muted);font:inherit;font-size:.6875rem;font-weight:600;line-height:1.5}.jump-keys{display:flex;flex:none;gap:1rem;margin:0;padding:.625rem 1.25rem;border-top:1px solid var(--border);color:var(--muted);font-size:.75rem}@media(hover:none){.jump-keys,.jump-field kbd,.jump-button kbd{display:none}}.switcher>.search-status:empty{display:none}.switcher .person{gap:.75rem;height:2.875rem;padding:0 .75rem;border-radius:.625rem;font-weight:500;cursor:pointer}.switcher .person:hover{background:var(--hover)}.switcher [aria-selected=true]{background:color-mix(in srgb,var(--fill) 20%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 35%,transparent)}.switcher .tile,.switcher .avatar{width:1.75rem;height:1.75rem}.switcher .tile{display:flex;flex:none;align-items:center;justify-content:center;border-radius:.5rem;background:var(--hover);color:var(--dim);font-weight:700}.switcher .tile:before{width:.875rem;height:.875rem}.switcher small{margin-left:.25rem;color:var(--dim);font-size:.75rem;font-weight:400}.switcher [aria-selected=true] small{color:var(--muted)}.switcher .unread{font-weight:700}dialog.forward .cancel{align-self:flex-end;border-color:transparent;background:none}dialog.forward h2{margin:0;font-size:1.0625rem}dialog.forward>.search-status:empty{display:none}dialog:not(.switcher) .forward-list .person{gap:.75rem;height:2.75rem;padding:0 .625rem;border-radius:.625rem}dialog:not(.switcher) .forward-list .avatar,dialog.forward .hash{width:1.875rem;height:1.875rem}dialog.forward .hash{display:flex;align-items:center;justify-content:center;border-radius:.5rem;background:var(--hover)}.hash{flex:none;width:1.5rem;color:var(--dim);font-weight:600;text-align:center}.not-found{padding:2rem 1rem;text-align:center}.not-found h1{margin:0 0 .25rem;font-size:1rem}a.brand,.brand-title{color:var(--fg);text-decoration:none}.guest-links{display:flex;flex:none;gap:.5rem;margin-left:auto}@media(hover:hover){.guest-link:not(.primary):hover{background:var(--hover)}}.auth-skip{margin:1rem 0 0;text-align:center}.guest-banner,.archived-banner{display:flex;gap:.75rem;align-items:center;min-height:4.25rem;margin:0;padding:.75rem 1rem calc(.75rem + env(safe-area-inset-bottom)) 1.75rem;border-top:1px solid var(--line);background:color-mix(in srgb,var(--raised),var(--bg));color:var(--text)}.guest-banner:before,.archived-banner:before{color:var(--muted)}@keyframes pop{0%{opacity:0;transform:scale(.92) translateY(.25rem)}}@keyframes wave{0%,60%,to{transform:rotate(0)}20%{transform:rotate(18deg)}40%{transform:rotate(-10deg)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}@media(prefers-reduced-motion:reduce){.loadbar.on:before{background:var(--tint)}}@media(max-width:720px){.sidebar{display:none}#app:has(.layout:not(.home))>.app-bar,.side-top,.jump-row,.side-foot{display:none}.layout.home .sidebar{display:flex;flex:1;border:0}.layout.home .pane{position:absolute;clip-path:inset(50%)}.layout.home .welcome p{display:none}.sidebar nav{padding:0 .625rem 1.5rem}.room-section li a,.room-section li.dm a,.room-section[data-section=collections] li a{gap:.75rem;height:2.5rem;padding:0 .75rem;font-size:.9375rem}.room-section .badge{min-width:1.375rem;padding:0 .4375rem;font-size:.75rem;line-height:1.375rem}.room-section li a>.lead,.room-section[data-section=inbox] a:before{width:1.75rem}.room-section li.dm .avatar,.room-section[data-section=collections] li a:before{width:1.75rem;height:1.75rem;font-size:.6875rem}.room-section[data-section=collections] li a:before{border-radius:.5rem}.room-section[data-section=collections] li a>.ci{width:.875rem;height:.875rem;margin:0 .4375rem 0 -2.0625rem}.section-head .icon-button,.fold,.room-section .section-title,.room-section>summary{height:2.75rem}.section-head{padding:.625rem 0 0}.section-head .icon-button{width:2.75rem}.room-section[data-section=more]>summary{margin:.625rem 0 0 -.5rem}.room-header{gap:2px;min-height:3.5rem;padding:0 .375rem}.room-header .back{margin-left:0}.room-header .icon-button,.room-header .menu>summary{width:2.75rem;height:2.75rem}.room-members{display:none}.msg{padding-right:1rem;padding-left:3.625rem}.msg>.avatar{left:1rem;width:2rem;height:2rem}.day,.new-line{margin-inline:1rem}.actions{right:1rem}.composer{padding:.375rem .5rem calc(.5rem + env(safe-area-inset-bottom))}.composer-row{min-height:3rem;padding:2px 2px 2px .75rem}.composer-buttons{gap:0}.composer-buttons>button,.composer-buttons>.menu>summary{width:2.75rem;height:2.75rem}.composer textarea{min-height:2.75rem;padding-block:calc((2.75rem - 1lh)/2)}.composer-box.multi .composer-row{flex-wrap:wrap;padding-top:.25rem}.composer-box.multi textarea{flex-basis:100%;padding-block:.375rem 0}.composer-box.multi .counter{margin-right:auto}.composer-box.multi .composer-buttons{margin-left:auto}.replying{align-items:center;padding-block:.3125rem;padding-left:.75rem}.tray{padding-left:.6875rem}.tray-error{margin-inline:.6875rem}.replying-label{flex-direction:column;gap:0;align-items:stretch;line-height:1.35}}@media(min-width:721px){.back{display:none}}
2
- /*# sourceMappingURL=app-7OMYYLCI.css.map */
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../web/styles/app/fonts.css", "../../web/styles/app/tokens.css", "../../web/styles/app/base.css", "../../web/styles/app/icons.css", "../../web/styles/app/shell.css", "../../web/styles/app/avatars.css", "../../web/styles/app/profile.css", "../../web/styles/app/login.css", "../../web/styles/app/room-list.css", "../../web/styles/app/menus.css", "../../web/styles/app/room.css", "../../web/styles/app/search.css", "../../web/styles/app/replies.css", "../../web/styles/app/attachments.css", "../../web/styles/app/collections.css", "../../web/styles/app/messages.css", "../../web/styles/app/reactions.css", "../../web/styles/app/composer.css", "../../web/styles/app/tray.css", "../../web/styles/app/selection.css", "../../web/styles/app/access.css", "../../web/styles/app/motion.css", "../../web/styles/app/narrow.css"],
4
- "sourcesContent": ["/* ---- Inter (DESIGN.md \u00A77.7): self-hosted, one variable font per script, each fetched only when a page uses its\n characters (unicode-range). From @fontsource-variable/inter 5.3.0, SIL Open Font License (web/fonts/OFL.txt). ---- */\n\n@font-face {\n font-family: Inter;\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(\"../../fonts/inter-cyrillic-ext.woff2\") format(\"woff2\");\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n\n@font-face {\n font-family: Inter;\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(\"../../fonts/inter-cyrillic.woff2\") format(\"woff2\");\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n\n@font-face {\n font-family: Inter;\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(\"../../fonts/inter-greek.woff2\") format(\"woff2\");\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n\n@font-face {\n font-family: Inter;\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(\"../../fonts/inter-latin-ext.woff2\") format(\"woff2\");\n unicode-range:\n U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n\n@font-face {\n font-family: Inter;\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(\"../../fonts/inter-latin.woff2\") format(\"woff2\");\n unicode-range:\n U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,\n U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n", "/* ---- Design tokens: colors, shadows, fonts; dark theme (\u00A77.8). tests/unit/build/contrast.test.ts reads these. ---- */\n\n:root {\n color-scheme: light dark;\n --bg: #fff;\n --surface: #fff;\n --raised: #fff;\n --fg: #0b0b10;\n --text: #0b0b10;\n --muted: #3f3f48;\n --dim: #62626e;\n --border: #e7e7ec;\n --line: #e7e7ec;\n --hover: #f1f1f4;\n --accent: #5536d0;\n /* Solid fills: Send, badges, primary buttons, with --on-fill text on them. */\n --fill: #5536d0;\n --on-fill: #fff;\n --accent-2: #c42a7c;\n --grad: linear-gradient(135deg, #6a4bff, #c42a7c);\n --tint: color-mix(in srgb, var(--accent) 14%, transparent);\n /* The sidebar's rows and the reply pills (room-list.css, replies.css). Light: the hover gray, and selected things\n (the open room, a quote of your own words) in solid accent with white on it. Dark: wells darker than the page. */\n --side-bg: var(--surface);\n --row-hover: var(--hover);\n --row-on: var(--fill);\n --row-on-fg: var(--on-fill);\n --row-on-icon: var(--on-fill);\n --row-on-badge: var(--on-fill);\n --row-on-badge-fg: var(--fill);\n --quote-hover: color-mix(in srgb, var(--fg) 10%, var(--bg));\n --quote-mine: var(--fill);\n --quote-mine-hover: color-mix(in srgb, var(--fill) 88%, #000);\n --quote-mine-author: var(--on-fill);\n --quote-mine-text: #e2dbff; /* 5.6:1 on the fill */\n /* Frosted glass (the room view redesign): the header, the scroll button and the message box, over the messages that\n scroll under them. */\n --glass: color-mix(in srgb, var(--bg) 72%, transparent);\n --glass-blur: blur(10px);\n --field: color-mix(in srgb, var(--hover) 60%, transparent);\n --field-ring: inset 0 0 0 1px color-mix(in srgb, var(--fg) 6%, transparent);\n --danger: #c41d36; /* \u2265 4.5:1 on every light background, hover included (QA BUG-57) */\n --new: #b0175f;\n --highlight: #fff1b8;\n --shadow: 0 0.375rem 1.5rem rgb(11 11 16 / 12%);\n --radius: 0.625rem;\n --pill: 62.4375rem;\n --ease: cubic-bezier(0.34, 1.56, 0.64, 1);\n /* Inter, the app's own (fonts.css, \u00A77.7), the system's font until it arrives. 16px also keeps iOS Safari from zooming\n in on a focused text field (it does under 16px) \u2014 don't size fields below it. */\n font:\n 1rem / 1.5 Inter,\n system-ui,\n -apple-system,\n \"Segoe UI\",\n Roboto,\n sans-serif;\n /* Inter's contextual alternates draw people's text as something else: \"32x1n\" as \"32\u00D71n\", \"->\" as an arrow. Names\n and messages show as typed (QA BUG-191). After `font`, which doesn't reset it. */\n font-feature-settings: \"calt\" 0;\n}\n\n/* The system's theme (auto), unless the profile page's choice (\u00A77.8, web/src/theme.ts) says otherwise. The two dark\n blocks must stay the same (contrast.test.ts checks). */\n@media (prefers-color-scheme: dark) {\n :root:not([data-theme=\"light\"]) {\n --bg: #1a1b1e;\n --surface: #111214;\n --raised: #232428;\n --fg: #ecece8;\n --text: #e0e0db;\n --muted: #b0b4ba;\n --dim: #9ea2a9;\n --border: #3a3d42;\n --line: #2a2c30;\n --hover: #2a2c30;\n --accent: #baa7ff;\n --fill: #6e56cf;\n --on-fill: #fff;\n --danger: #ff7a8f;\n --new: #f9a8d4;\n --highlight: #3d3314;\n --shadow: 0 0.75rem 2rem rgb(0 0 0 / 45%);\n /* The sidebar on the room's own background, so its wells show (light: tokens in :root). */\n --side-bg: var(--bg);\n --row-hover: rgb(0 0 0 / 25%);\n --row-on: rgb(0 0 0 / 45%);\n --row-on-fg: var(--fg);\n --row-on-icon: var(--accent);\n --row-on-badge: var(--fill);\n --row-on-badge-fg: var(--on-fill);\n --quote-hover: rgb(0 0 0 / 40%);\n --quote-mine: color-mix(in srgb, var(--fill) 18%, var(--bg));\n --quote-mine-hover: color-mix(in srgb, var(--fill) 26%, var(--bg));\n --quote-mine-author: color-mix(in srgb, var(--accent) 70%, var(--fg));\n --quote-mine-text: var(--text);\n }\n}\n\n:root[data-theme=\"light\"] {\n color-scheme: light;\n}\n\n:root[data-theme=\"dark\"] {\n color-scheme: dark;\n --bg: #1a1b1e;\n --surface: #111214;\n --raised: #232428;\n --fg: #ecece8;\n --text: #e0e0db;\n --muted: #b0b4ba;\n --dim: #9ea2a9;\n --border: #3a3d42;\n --line: #2a2c30;\n --hover: #2a2c30;\n --accent: #baa7ff;\n --fill: #6e56cf;\n --on-fill: #fff;\n --danger: #ff7a8f;\n --new: #f9a8d4;\n --highlight: #3d3314;\n --shadow: 0 0.75rem 2rem rgb(0 0 0 / 45%);\n /* The sidebar on the room's own background, so its wells show (light: tokens in :root). */\n --side-bg: var(--bg);\n --row-hover: rgb(0 0 0 / 25%);\n --row-on: rgb(0 0 0 / 45%);\n --row-on-fg: var(--fg);\n --row-on-icon: var(--accent);\n --row-on-badge: var(--fill);\n --row-on-badge-fg: var(--on-fill);\n --quote-hover: rgb(0 0 0 / 40%);\n --quote-mine: color-mix(in srgb, var(--fill) 18%, var(--bg));\n --quote-mine-hover: color-mix(in srgb, var(--fill) 26%, var(--bg));\n --quote-mine-author: color-mix(in srgb, var(--accent) 70%, var(--fg));\n --quote-mine-text: var(--text);\n}\n", "/* ---- Base: reset, elements, buttons, fields, focus, errors ---- */\n\n*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\n\n/* Author display rules (e.g. .app-bar { display: flex }) would otherwise beat the UA [hidden] style. */\n[hidden] {\n /* biome-ignore lint/complexity/noImportantStyles: [hidden] must win over any author display rule (see above) */\n display: none !important;\n}\n\nbody {\n margin: 0;\n background: var(--bg);\n color: var(--fg);\n font-size: 0.875rem;\n}\n\n/* Phones: a size up, and fields at 16px (see tokens.css). */\n@media (max-width: 720px) {\n body {\n font-size: 0.9375rem;\n }\n\n /* After the fields' own `font: inherit` below, whatever the order. */\n body input,\n body textarea,\n body select {\n font-size: 1rem;\n }\n}\n\n::selection {\n background: color-mix(in srgb, var(--accent) 35%, transparent);\n}\n\n* {\n scrollbar-width: thin;\n scrollbar-color: var(--border) transparent;\n}\n\na {\n color: var(--accent);\n}\n\nh1,\nh2 {\n margin: 0;\n line-height: 1.2;\n font-weight: 700;\n letter-spacing: -0.01em;\n}\n\nbutton,\ninput,\ntextarea {\n /* Firefox's default 1px block margin on textareas made the composer a pixel off. */\n margin: 0;\n font: inherit;\n color: inherit;\n}\n\nbutton,\nlabel.button {\n padding: 0.45rem 0.9rem;\n border: 1px solid var(--border);\n border-radius: var(--radius);\n background: var(--raised);\n font-weight: 600;\n cursor: pointer;\n transition:\n transform 0.15s var(--ease),\n background-color 0.15s;\n}\n\n@media (hover: hover) {\n button:hover:not(:disabled) {\n background: var(--hover);\n }\n}\n\nbutton:active:not(:disabled) {\n transform: scale(0.95);\n}\n\nbutton:disabled {\n opacity: 0.5;\n cursor: default;\n}\n\nbutton.primary,\n.auth-form button[type=\"submit\"] {\n border-color: transparent;\n background: var(--fill);\n color: var(--on-fill);\n}\n\n@media (hover: hover) {\n button.primary:hover:not(:disabled),\n .auth-form button[type=\"submit\"]:hover:not(:disabled) {\n background: var(--fill);\n filter: brightness(1.12);\n }\n}\n\nbutton.danger {\n color: var(--danger);\n border-color: currentcolor;\n}\n\nbutton.link {\n border: 0;\n background: none;\n color: var(--accent);\n padding: 0.25rem;\n}\n\ninput,\ntextarea {\n width: 100%;\n padding: 0.55rem 0.75rem;\n border: 1px solid var(--border);\n border-radius: var(--radius);\n background: var(--surface);\n transition: border-color 0.15s;\n}\n\ninput:focus,\ntextarea:focus {\n border-color: var(--accent);\n}\n\n:focus-visible {\n outline: 2px solid var(--accent);\n outline-offset: 2px;\n}\n\n/* Icons (.i-*): a stroke drawing in the text's color, from the mask in icons.css. */\n.i,\n.ic::before {\n content: \"\";\n display: inline-block;\n flex: none;\n width: 1.125rem;\n height: 1.125rem;\n background: currentcolor;\n mask: var(--i) center / contain no-repeat;\n}\n\n/* An icon-only button: square, quiet until hovered. */\n.icon-button {\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n width: 2.25rem;\n height: 2.25rem;\n padding: 0;\n border: 0;\n border-radius: 0.5rem;\n background: none;\n color: var(--muted);\n}\n\ninput:focus-visible,\ntextarea:focus-visible {\n outline: 0.1875rem solid var(--tint);\n outline-offset: 0;\n}\n\n[aria-invalid=\"true\"] {\n border-color: var(--danger);\n}\n\n.field-error,\n.form-error,\n.list-error,\n.room-error,\n.send-error,\n.msg-error {\n color: var(--danger);\n font-size: 0.85rem;\n margin: 0.25rem 0;\n}\n\n.field-error:empty,\n.form-error:empty,\n.list-error:empty,\n.room-error:empty {\n display: none;\n}\n\n.visually-hidden {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n}\n", "/* ---- Icons: stroke drawings used as masks (.i in base.css), so they take the text color. One custom property each. ---- */\n\n.i-search {\n --i: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E\");\n}\n\n.i-lock {\n --i: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E\");\n}\n\n.i-globe {\n --i: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E\");\n}\n\n.i-chev {\n --i: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E\");\n}\n\n.i-back {\n --i: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E\");\n}\n\n.i-plus {\n --i: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E\");\n}\n\n.i-dots {\n --i: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='5' cy='12' r='1'/%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3Ccircle cx='19' cy='12' r='1'/%3E%3C/svg%3E\");\n}\n\n.i-media {\n --i: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-5-5L5 21'/%3E%3C/svg%3E\");\n}\n\n.i-clip {\n --i: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21.4 11.1-9.2 9.2a6 6 0 0 1-8.5-8.5l9.2-9.2a4 4 0 0 1 5.7 5.7l-9.2 9.2a2 2 0 0 1-2.8-2.8l8.5-8.5'/%3E%3C/svg%3E\");\n}\n\n.i-smile {\n --i: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 14s1.5 2 4 2 4-2 4-2M9 9h.01M15 9h.01'/%3E%3C/svg%3E\");\n}\n\n.i-send {\n --i: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E\");\n}\n\n.i-react {\n --i: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5a8 8 0 1 0 8 8M8 15.5c.8 1.2 1.8 1.8 3 1.8s2.2-.6 3-1.8M8.5 11h.01M13.5 11h.01M19 2.5v5M16.5 5h5'/%3E%3C/svg%3E\");\n}\n\n.i-reply {\n --i: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 17 4 12l5-5M20 18v-2a4 4 0 0 0-4-4H4'/%3E%3C/svg%3E\");\n}\n\n.i-fwd {\n --i: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 17 5-5-5-5M4 18v-2a4 4 0 0 1 4-4h12'/%3E%3C/svg%3E\");\n}\n\n.i-check {\n --i: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='4'/%3E%3Cpath d='m8 12 3 3 5-6'/%3E%3C/svg%3E\");\n}\n\n.i-edit {\n --i: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E\");\n}\n\n.i-trash {\n --i: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6'/%3E%3C/svg%3E\");\n}\n\n.i-x {\n --i: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E\");\n}\n\n.i-upload {\n --i: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M17 8l-5-5-5 5M12 3v12'/%3E%3C/svg%3E\");\n}\n\n.i-down {\n --i: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M19 12l-7 7-7-7'/%3E%3C/svg%3E\");\n}\n\n.i-top {\n --i: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h14M12 21V8M6 13l6-6 6 6'/%3E%3C/svg%3E\");\n}\n\n.i-eyeoff {\n --i: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.9 4.2A10 10 0 0 1 12 4c6.5 0 10 8 10 8a17 17 0 0 1-2.2 3.2M6.6 6.6A17 17 0 0 0 2 12s3.5 8 10 8a10 10 0 0 0 5.4-1.6M3 3l18 18M10 10a3 3 0 0 0 4 4'/%3E%3C/svg%3E\");\n}\n\n.i-archive {\n --i: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='5' rx='1'/%3E%3Cpath d='M5 9v9a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V9M10 13h4'/%3E%3C/svg%3E\");\n}\n\n.i-bell {\n --i: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9M10.3 21a1.9 1.9 0 0 0 3.4 0'/%3E%3C/svg%3E\");\n}\n\n.i-users {\n --i: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='4'/%3E%3Cpath d='M2 21v-1a6 6 0 0 1 6-6h2a6 6 0 0 1 6 6v1M16 4a4 4 0 0 1 0 8M22 21v-1a6 6 0 0 0-4-5.6'/%3E%3C/svg%3E\");\n}\n\n.i-file {\n --i: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9Z'/%3E%3Cpath d='M14 3v6h6'/%3E%3C/svg%3E\");\n}\n\n.i-hash {\n --i: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 9h14M5 15h14M10 4 8 20M16 4l-2 16'/%3E%3C/svg%3E\");\n}\n\n.i-eye {\n --i: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E\");\n}\n\n.i-alert {\n --i: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5V13M12 16.5v.01'/%3E%3C/svg%3E\");\n}\n", "/* ---- App shell: the app bar (phones, and pages without the sidebar), the sidebar's top and foot, the pane ---- */\n\nhtml,\nbody,\n#app {\n height: 100%;\n}\n\n/* No double-tap zoom on phones (a tap is a tap, without the delay). Pinch zoom stays: people who need larger text\n rely on it (WCAG 1.4.4), and iOS ignores attempts to disable it anyway. */\nhtml {\n touch-action: manipulation;\n}\n\n/* Text size (\u00A77.8, Profile \u2192 Text size): everything is sized in rem (but 0\u20132px hairlines and the breakpoints), so the\n whole interface scales with the root, on top of the browser's own setting. */\nhtml[data-size=\"medium\"] {\n font-size: 125%;\n}\n\nhtml[data-size=\"large\"] {\n font-size: 150%;\n}\n\n#app {\n display: flex;\n flex-direction: column;\n height: 100dvh;\n}\n\n.app-bar {\n display: flex;\n gap: 0.75rem;\n align-items: center;\n min-height: 3.75rem;\n padding: 0 0.5rem 0 1rem;\n border-bottom: 1px solid var(--line);\n background: var(--surface);\n}\n\n/* Log in and Sign up are already the login page's own tabs (and its forgot password forms' way back, \u00A739). */\n#app:has(.auth) .guest-links {\n display: none;\n}\n\n/* Next to the sidebar, which has the same (and on a phone's room page, which has its own header). */\n@media (min-width: 721px) {\n #app:has(.layout) > .app-bar {\n display: none;\n }\n}\n\n.brand {\n display: flex;\n flex: 0 1 auto;\n min-width: 0;\n gap: 0.6rem;\n align-items: center;\n font-size: 1rem;\n font-weight: 700;\n letter-spacing: -0.01em;\n}\n\n/* The logo (/icons/icon.svg, the favicon too): a round speech bubble in the violet-to-pink gradient. */\n.brand::before {\n content: \"\";\n flex: none;\n width: 1.875rem;\n height: 1.875rem;\n background: url(\"/icons/icon.svg\") center / contain no-repeat;\n}\n\n/* The site's own logo (\u00A724) replaces it. */\n.brand.has-logo::before {\n content: none;\n}\n\n.brand-logo {\n flex: none;\n height: 1.75rem;\n max-width: 6rem;\n object-fit: contain;\n}\n\n.brand-title {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* With \"chirps on Chirkle\" under the title (the sidebar's): the title is the link home, stretched over the brand. */\n.brand-name {\n display: grid;\n min-width: 0;\n}\n\ndiv.brand {\n position: relative;\n}\n\ndiv.brand .brand-title::after {\n content: \"\";\n position: absolute;\n inset: 0;\n}\n\n.brand-by {\n font-size: 0.75rem;\n font-weight: 400;\n color: var(--muted);\n}\n\n.brand-by a {\n position: relative;\n color: inherit;\n}\n\n/* In the sidebar, \"Chirkle\" is a signature: near-white, medium, after a tiny Chirkle mark. */\n.side-top .brand-by {\n display: flex;\n gap: 0.25rem;\n align-items: center;\n line-height: 1rem;\n white-space: nowrap;\n}\n\n.side-top .brand-by a {\n display: inline-flex;\n gap: 0.1875rem;\n align-items: center;\n color: var(--fg);\n font-weight: 500;\n text-decoration: none;\n}\n\n.side-top .brand-by a::before {\n content: \"\";\n width: 0.6875rem;\n height: 0.6875rem;\n background: url(\"/icons/icon.svg\") center / contain no-repeat;\n}\n\n.bar-end {\n display: flex;\n gap: 0.25rem;\n align-items: center;\n min-width: 0;\n margin-left: auto;\n}\n\n/* A long display name shrinks with an ellipsis. In the app bar only the avatar shows. */\n.me-link {\n display: flex;\n flex: 1;\n gap: 0.6rem;\n align-items: center;\n min-width: 0;\n padding: 0.4rem;\n border-radius: var(--radius);\n color: var(--fg);\n font-weight: 600;\n text-decoration: none;\n}\n\n.who {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.app-bar .me-link {\n padding: 0.375rem;\n}\n\n.app-bar .who {\n display: none;\n}\n\n@media (hover: hover) {\n .me-link:hover,\n .icon-button:hover {\n background: var(--hover);\n }\n}\n\n.me-link[aria-current=\"page\"] {\n background: var(--tint);\n}\n\n.app-bar .icon-button {\n width: 2.75rem;\n height: 2.75rem;\n}\n\n/* A new version is out (\u00A727.4): one line above everything, the page shrinks under it. */\n.update-bar {\n padding: 0.375rem 1rem;\n text-align: center;\n background: var(--tint);\n font-size: 0.875rem;\n}\n\n.app-main {\n flex: 1;\n min-height: 0;\n overflow-y: auto;\n}\n\n.layout {\n display: flex;\n height: 100%;\n background: var(--surface);\n}\n\n/* The sidebar: its top and foot stay, the rooms between them scroll. */\n.sidebar {\n display: flex;\n flex: 0 0 17.5rem;\n flex-direction: column;\n /* A long room name is cut short in its row instead of widening the sidebar. */\n min-width: 0;\n min-height: 0;\n border-right: 1px solid var(--line);\n background: var(--side-bg);\n /* Jump to, the section heads and their \"+\", you at the foot: hovered like a room row (dark: a well, tokens.css). */\n --hover: var(--row-hover);\n}\n\n.sidebar .rooms {\n position: relative;\n display: flex;\n flex: 1;\n flex-direction: column;\n min-height: 0;\n max-width: none;\n margin: 0;\n padding: 0;\n}\n\n/* The rows start under the header, which floats over them as they scroll (.side-top). */\n.sidebar nav {\n flex: 1;\n padding: var(--side-head) 0.75rem 0.75rem;\n overflow-y: auto;\n scroll-padding-top: var(--side-head);\n}\n\n.sidebar {\n --side-head: 4rem;\n}\n\n/* A failed load's message, under the header; the list after it then starts right there. */\n.sidebar .list-error {\n margin: var(--side-head) 1.25rem 0;\n}\n\n.sidebar .list-error:not(:empty) + nav {\n padding-top: 0.5rem;\n}\n\n.sidebar .rooms > .loadbar {\n position: absolute;\n top: var(--side-head);\n right: 0;\n left: 0;\n}\n\n/* The site's name, pinned over the rows: transparent, as tall as the room's header (room.css) with its title's size,\n so the two titles sit on one line across the window. Its violet-tinted blur fades out past its bottom edge rather\n than ending in a line. */\n.side-top {\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n z-index: 2;\n display: flex;\n align-items: center;\n height: var(--side-head);\n padding: 0 1.125rem 0 1.25rem;\n}\n\n.side-top::before {\n content: \"\";\n position: absolute;\n inset: 0 0 -1.5rem;\n z-index: -1;\n pointer-events: none;\n background: linear-gradient(color-mix(in srgb, var(--accent) 10%, transparent), transparent);\n -webkit-backdrop-filter: blur(12px);\n backdrop-filter: blur(12px);\n mask-image: linear-gradient(180deg, #000 55%, transparent 100%);\n}\n\n.side-top .brand {\n gap: 0.75rem;\n color: var(--fg);\n font-size: 1.125rem;\n line-height: 1.375rem;\n}\n\n.side-top .brand-name {\n gap: 1px;\n}\n\n.side-top .brand.has-logo .brand-logo {\n height: 2.25rem;\n border-radius: 0.625rem;\n}\n\n/* Jump to (\u00A732): the sidebar's first row, set like the rows under it, with its shortcut on the right. */\n.jump-button {\n display: flex;\n flex: 1;\n gap: 0.5rem;\n align-items: center;\n min-width: 0;\n height: 2.125rem;\n padding: 0 0.5rem;\n border: 0;\n border-radius: 0.5rem;\n background: none;\n color: var(--muted);\n font-weight: 500;\n text-align: left;\n}\n\n/* Centred in the rows' 20px leading slot, with their padding and gap (room-list.css), so its label lines up with the names. */\n.jump-button::before {\n width: 1rem;\n height: 1rem;\n margin: 0 0.125rem;\n}\n\n.jump-button span {\n flex: 1;\n}\n\n/* The shortcut fades in only when the row is pointed at or focused, so the top of the sidebar is calmer (sidebar\n improvements, 2026-11-23). Hidden rather than faint: faint text fails 4.5:1 (QA BUG-259). The button's title says it. */\n.jump-button kbd {\n opacity: 0;\n transition: opacity 0.15s;\n}\n\n.jump-row:hover kbd,\n.jump-button:focus-visible kbd {\n opacity: 1;\n}\n\n.jump-button:active:not(:disabled) {\n transform: none;\n}\n\n/* Who you are: a borderless row, as tall as the room's message box and level with it (composer.css: its row's 2.75rem,\n 0.75rem off the bottom), so the two read as one line across the window. It opens your profile and settings; a fill\n only on hover. */\n.side-foot {\n display: flex;\n flex: none;\n flex-wrap: wrap;\n gap: 0.25rem;\n align-items: center;\n padding: 0.5rem 0.5rem calc(0.75rem + env(safe-area-inset-bottom));\n}\n\n.side-foot .me-link {\n gap: 0.625rem;\n height: 2.75rem;\n padding: 0 0.625rem 0 0.5rem;\n font-size: 0.875rem;\n}\n\n.side-foot .me-link .who {\n flex: 1;\n}\n\n/* The up arrow, at the end. */\n.side-foot .me-link::before {\n order: 1;\n width: 0.875rem;\n height: 0.875rem;\n color: var(--dim);\n transform: rotate(180deg);\n}\n\n.side-foot .avatar {\n width: 1.75rem;\n height: 1.75rem;\n}\n\n.side-foot:has(.me-link) {\n padding-top: 0;\n}\n\n/* A guest's way in. */\n.side-foot p {\n flex-basis: 100%;\n margin: 0.25rem 0.25rem 0.375rem;\n color: var(--muted);\n font-size: 0.8125rem;\n}\n\n.side-foot .button {\n flex: 1;\n}\n\n/* Links that look like buttons. */\na.button,\n.guest-link {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n height: 2.5rem;\n padding: 0 1rem;\n border: 1px solid var(--border);\n border-radius: var(--radius);\n color: var(--fg);\n font-weight: 600;\n text-decoration: none;\n}\n\na.button.primary,\n.guest-link.primary {\n border-color: transparent;\n background: var(--fill);\n color: var(--on-fill);\n}\n\n/* The pane next to the sidebar. A page taller than it (the profile, a collection) scrolls in it, not with the sidebar\n (QA BUG-135). */\n.pane {\n flex: 1;\n min-width: 0;\n overflow-y: auto;\n background: var(--bg);\n}\n\n/* Home: a greeting where the room would be. */\n.welcome {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n height: 100%;\n padding: 2rem 1rem;\n text-align: center;\n}\n\n.welcome::before {\n content: \"\uD83D\uDC4B\";\n margin-bottom: 0.75rem;\n font-size: 3.5rem;\n animation: wave 2s ease-in-out infinite;\n}\n\n.welcome h1 {\n margin: 0 0 0.5rem;\n font-size: 1.75rem;\n}\n\n.welcome p {\n margin: 0;\n color: var(--muted);\n}\n\n/* An invite link's page (\u00A744): the same greeting, with a line or two more. */\n.invite-page p + p {\n margin-top: 0.75rem;\n}\n\n/* A fetch that takes a while (\u00A77.9): a thin moving line over the room list or the room; takes no room itself. */\n.loadbar {\n position: relative;\n z-index: 3;\n flex: none;\n height: 0;\n}\n\n.loadbar.on::before {\n content: \"\";\n position: absolute;\n inset: 0 0 auto;\n height: 2px;\n background: linear-gradient(90deg, transparent, var(--accent), transparent) -70% 0 / 40% 100% no-repeat;\n animation: loadbar 1.2s ease-in-out infinite;\n}\n\n@keyframes loadbar {\n to {\n background-position: 170% 0;\n }\n}\n", "/* ---- Avatars (\u00A715.4) ---- */\n\n.avatar {\n display: inline-flex;\n flex: none;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n object-fit: cover;\n overflow: hidden;\n font-weight: 700;\n line-height: 1;\n color: #fff;\n user-select: none;\n}\n\n.avatar.s24 {\n width: 1.5rem;\n height: 1.5rem;\n font-size: 0.6rem;\n}\n\n.avatar.s32 {\n width: 2rem;\n height: 2rem;\n font-size: 0.75rem;\n}\n\n/* 36px: the message's text starts 14px after it (.msg's padding). */\n.msg > .avatar.s32 {\n width: 2.25rem;\n height: 2.25rem;\n}\n\n.avatar.s96 {\n width: 6rem;\n height: 6rem;\n font-size: 2rem;\n box-shadow:\n 0 0 0 0.25rem var(--bg),\n 0 0 0 0.4375rem var(--accent);\n}\n\n/* White text on every color: \u2265 4.5:1 in both themes. */\n.avatar.c0 {\n background: #c4213b;\n}\n.avatar.c1 {\n background: #b04a00;\n}\n.avatar.c2 {\n background: #7a6000;\n}\n.avatar.c3 {\n background: #22803a;\n}\n.avatar.c4 {\n background: #00796b;\n}\n.avatar.c5 {\n background: #1d63d8;\n}\n.avatar.c6 {\n background: #7b3fe4;\n}\n.avatar.c7 {\n background: #c01a6e;\n}\n", "/* ---- Settings (\u00A715.5, \u00A722.2): a card for each part, in a column under the page's header ---- */\n\n.profile-body {\n display: flex;\n flex-direction: column;\n gap: 1.25rem;\n max-width: calc(42.5rem + 2 * 1.75rem);\n padding: 1.75rem 1.75rem 3rem;\n}\n\n.card,\n.profile-notify {\n display: flex;\n flex-direction: column;\n gap: 0.875rem;\n margin: 0;\n padding: 1.125rem 1.25rem 1.25rem;\n border: 1px solid var(--line);\n border-radius: 1rem;\n background: color-mix(in srgb, var(--fg) 3%, var(--bg));\n}\n\n.profile-body h2,\n.card legend,\n.profile-notify legend {\n margin: 0;\n padding: 0;\n font-size: 0.9375rem;\n font-weight: 600;\n line-height: 1.3;\n letter-spacing: 0;\n}\n\n/* A fieldset's legend can't be laid out with the rest: it is floated into the card's padding. */\n.card legend,\n.profile-notify legend {\n float: left;\n width: 100%;\n}\n\n.profile-avatar {\n display: flex;\n gap: 1rem;\n align-items: center;\n}\n\n.profile-avatar h2 {\n margin-bottom: 0.5rem;\n}\n\n.profile-picture.busy {\n opacity: 0.6;\n}\n\n.profile-avatar-actions {\n display: flex;\n flex-wrap: wrap;\n gap: 0.5rem;\n}\n\n/* Change picture, filled; Remove, only its text. */\n.profile-avatar-actions > .button,\n.profile-avatar-actions > button {\n display: inline-flex;\n align-items: center;\n height: 2.125rem;\n padding: 0 0.875rem;\n border-color: transparent;\n border-radius: 0.5625rem;\n font-size: 0.8125rem;\n}\n\nlabel.button {\n background: var(--hover);\n}\n\n.profile-avatar-actions button {\n padding: 0 0.75rem;\n background: none;\n color: var(--muted);\n}\n\nlabel.button:focus-within,\n.profile-avatar-actions input:focus-visible + label.button {\n outline: 2px solid var(--accent);\n outline-offset: 2px;\n}\n\nlabel.button.disabled {\n opacity: 0.5;\n pointer-events: none;\n}\n\n/* Appearance (\u00A77.8): the hint on the left, Auto / Light / Dark on the right. */\n.profile-theme:not(.profile-notify) {\n display: grid;\n grid-template-columns: 1fr auto;\n align-items: center;\n column-gap: 1rem;\n row-gap: 0.1875rem;\n}\n\n.profile-theme legend {\n grid-column: 1;\n}\n\n.field-status {\n margin: 0.25rem 0;\n font-size: 0.8125rem;\n color: var(--muted);\n}\n\n.profile-theme .field-status {\n grid-column: 1;\n margin: 0;\n line-height: 1.3;\n}\n\n.profile-theme {\n padding-bottom: 1.125rem;\n}\n\n.segmented {\n display: inline-flex;\n gap: 2px;\n padding: 0.1875rem;\n border-radius: 0.625rem;\n background: var(--surface);\n}\n\n.profile-theme .segmented {\n grid-column: 2;\n grid-row: 1 / span 2;\n}\n\n.segmented label {\n position: relative;\n padding: 0 0.875rem;\n border-radius: 0.5rem;\n color: var(--muted);\n font-size: 0.8125rem;\n font-weight: 600;\n line-height: 2rem;\n cursor: pointer;\n}\n\n.segmented label:has(input:checked) {\n background: var(--hover);\n color: var(--fg);\n}\n\n.segmented label:has(input:focus-visible) {\n outline: 2px solid var(--accent);\n outline-offset: 2px;\n}\n\n.segmented input {\n position: absolute;\n opacity: 0;\n pointer-events: none;\n}\n\n.profile-password {\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: 0.75rem;\n}\n\n.profile-password > :not(.field:nth-of-type(n + 2)) {\n grid-column: 1 / -1;\n}\n\n.profile-password button {\n justify-self: start;\n}\n\n.profile-name label,\n.field label {\n display: block;\n margin-bottom: 0.375rem;\n color: var(--muted);\n font-size: 0.8125rem;\n font-weight: 600;\n}\n\n.profile-name .row {\n display: flex;\n gap: 0.5rem;\n}\n\n.profile-name input {\n flex: 1;\n min-width: 0;\n}\n\n.field-status.error {\n color: var(--danger);\n}\n\n.profile-password .field-status,\n.profile-password .field-error {\n margin: 0;\n}\n\n.profile-session {\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n}\n\n.profile-session .field-status {\n margin: 0.1875rem 0 0;\n}\n\n/* Its button keeps its width: \"Log out\" broke over two lines on a phone (QA BUG-284). */\n.profile-session > button {\n flex: none;\n white-space: nowrap;\n}\n\n.profile-notify {\n gap: 0;\n padding-bottom: 0;\n}\n\n/* Floated, the legend is a flex item: first, before the hint moved up under it (QA BUG-185). */\n.profile-notify legend {\n order: -2;\n margin-bottom: 0.1875rem;\n}\n\n.profile-notify > .field-status {\n order: -1;\n margin: 0 0 0.625rem;\n}\n\n/* Still there when empty (a status is announced when it changes), just without its space. */\n.profile-notify > .field-status:empty {\n margin: 0;\n}\n\n.profile-avatar .avatar {\n width: 4.5rem;\n height: 4.5rem;\n font-size: 1.5rem;\n box-shadow:\n 0 0 0 0.1875rem var(--bg),\n 0 0 0 0.3125rem var(--accent);\n}\n\n/* Notifications (\u00A734): a line each, the setting's name on the left and a switch on the right. */\n.notify-choice {\n display: flex;\n flex-direction: row-reverse;\n justify-content: space-between;\n align-items: center;\n min-height: 3.25rem;\n margin: 0 -1.25rem;\n padding: 0 1.25rem;\n border-top: 1px solid var(--line);\n cursor: pointer;\n}\n\n.notify-choice input,\ninput.switch {\n appearance: none;\n flex: none;\n width: 2.25rem;\n height: 1.375rem;\n margin: 0;\n padding: 0;\n border: 0;\n border-radius: 0.6875rem;\n background: radial-gradient(circle 0.5625rem at 0.6875rem 50%, #fff 98%, transparent) var(--border);\n cursor: pointer;\n transition: background-position 0.15s;\n}\n\n.notify-choice input:checked,\ninput.switch:checked {\n background-color: var(--fill);\n background-position: 0.875rem 0;\n}\n\n@media (max-width: 720px) {\n .profile-body {\n padding: 1.25rem 1rem 2.5rem;\n }\n\n .profile-password {\n grid-template-columns: 1fr;\n }\n}\n\n/* A phone: Auto / Light / Dark under the hint, not squeezing it into a narrow column. */\n@media (max-width: 480px) {\n .profile-theme:not(.profile-notify) {\n grid-template-columns: 1fr;\n }\n\n .profile-theme .segmented {\n grid-column: 1;\n grid-row: auto;\n justify-self: start;\n margin-top: 0.625rem;\n }\n}\n", "/* ---- Login: the logo and the site's name over a card with the Log in / Sign up tabs and the form ---- */\n\n.app-main:has(> .auth) {\n display: flex;\n background: var(--page, var(--bg));\n}\n\n.auth {\n display: flex;\n flex-direction: column;\n gap: 1.5rem;\n width: 100%;\n max-width: 26.25rem;\n margin: auto;\n padding: 2rem 1rem;\n}\n\n.auth h1 {\n display: flex;\n flex-direction: column;\n gap: 0.875rem;\n align-items: center;\n font-size: 1.625rem;\n text-align: center;\n}\n\n/* The logo: the brand's bubble (the site's own image when it has one, \u00A724). */\n.auth h1:not(.has-logo)::before {\n content: \"\";\n width: 3.5rem;\n height: 3.5rem;\n background: url(\"/icons/icon.svg\") center / contain no-repeat;\n}\n\n.auth .brand-by {\n margin: -1.125rem 0 0;\n text-align: center;\n}\n\n.auth h1 .brand-logo {\n display: block;\n height: 4rem;\n max-width: 12rem;\n}\n\n.auth-card {\n display: flex;\n flex-direction: column;\n gap: 1.125rem;\n padding: 1.5rem;\n border: 1px solid var(--border);\n border-radius: 1rem;\n background: var(--raised);\n animation: pop 0.4s var(--ease);\n}\n\n.tabs {\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: 2px;\n padding: 0.1875rem;\n border-radius: 0.625rem;\n background: var(--surface);\n}\n\n[role=\"tab\"] {\n height: 2.25rem;\n border: 0;\n border-radius: 0.5rem;\n background: none;\n color: var(--muted);\n}\n\n[role=\"tab\"][aria-selected=\"true\"] {\n background: var(--hover);\n color: var(--fg);\n}\n\n.field {\n margin-bottom: 0.875rem;\n}\n\n.field input {\n height: 2.625rem;\n}\n\n/* Forgot password (\u00A739): the link under the password, the reset forms' heading, hint and way back. */\n.auth-forgot {\n display: block;\n margin: -0.375rem 0 0.625rem auto;\n}\n\n.auth-card h2 {\n margin: 0;\n font-size: 1.125rem;\n}\n\n.auth-hint {\n margin: 0 0 0.875rem;\n color: var(--muted);\n}\n\n.auth-back {\n align-self: center;\n}\n\n.auth-form button[type=\"submit\"] {\n width: 100%;\n height: 2.75rem;\n margin-top: 0.25rem;\n font-size: 0.9375rem;\n}\n", "/* ---- Room list ---- */\n\n.rooms {\n max-width: 40rem;\n margin: 0 auto;\n padding: 1rem;\n}\n\n/* A section's heading: a small-caps label that folds it, then its \"+\" (shown on hover) and the chevron on the right.\n The label's button covers the whole heading but the \"+\", so the chevron folds it too. */\n.section-head {\n position: relative;\n display: flex;\n gap: 0.375rem;\n align-items: center;\n padding: 1rem 0.5rem 0.375rem 0.5rem;\n}\n\n.room-section h2 {\n flex: 1;\n min-width: 0;\n font-size: inherit;\n}\n\n.fold,\n.room-section .section-title,\n.room-section > summary {\n display: flex;\n gap: 0.375rem;\n align-items: center;\n height: 1.75rem;\n padding: 0;\n border: 0;\n border-radius: 0.375rem;\n background: none;\n color: var(--dim);\n font-size: 0.6875rem;\n font-weight: 600;\n letter-spacing: 0.07em;\n text-transform: uppercase;\n list-style: none;\n cursor: pointer;\n}\n\n/* Padded on the left (and pulled out as far) so its hover background doesn't end flush with the label. */\n.fold {\n width: calc(100% + 0.5rem);\n margin-left: -0.5rem;\n padding-left: 0.5rem;\n}\n\n.fold::after {\n content: \"\";\n position: absolute;\n inset: 0;\n}\n\n.section-head > .icon-button {\n position: relative;\n z-index: 1;\n}\n\n.chev {\n display: flex;\n flex: none;\n pointer-events: none;\n color: var(--dim);\n}\n\n.chev::before {\n width: 0.75rem;\n height: 0.75rem;\n transition: transform 0.15s;\n}\n\n/* Folded: the chevron points right. */\n.section-head:has(.fold[aria-expanded=\"false\"]) .chev::before,\n.room-section:not([open]) > summary .chev::before {\n transform: rotate(-90deg);\n}\n\n@media (hover: hover) {\n .section-head > .icon-button {\n opacity: 0;\n transition: opacity 0.15s;\n }\n\n .section-head:hover > .icon-button,\n .section-head:focus-within > .icon-button,\n .section-head > .icon-button[aria-expanded=\"true\"] {\n opacity: 1;\n }\n}\n\n/* A heading that doesn't fold (a guest's Open Air rooms): set like the others (with them above), without the chevron\n (QA BUG-188). */\n.room-section .section-title {\n cursor: default;\n}\n\n.room-section > summary::-webkit-details-marker {\n display: none;\n}\n\n.section-head .icon-button {\n width: 1.625rem;\n height: 1.625rem;\n color: var(--dim);\n}\n\n.section-head .icon-button::before {\n width: 0.9375rem;\n height: 0.9375rem;\n}\n\n.section-head .icon-button[aria-expanded=\"true\"] {\n background: var(--tint);\n color: var(--accent);\n}\n\n.room-section ul {\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n.room-section li {\n position: relative;\n display: flex;\n align-items: center;\n margin: 1px 0;\n border-radius: 0.375rem;\n}\n\n@media (hover: hover) {\n .room-section li:hover {\n background: var(--row-hover);\n }\n}\n\n.room-section li a {\n display: flex;\n flex: 1;\n gap: 0.5rem;\n align-items: center;\n min-width: 0;\n height: 1.75rem;\n padding: 0 0.5rem;\n color: var(--muted);\n font-weight: 500;\n text-decoration: none;\n}\n\n/* A room's leading slot (\u00A723.1): \"#\" for public, a lock for private, a globe for Open Air. As wide as a DM avatar or a\n collection tile, so every row's icon and name line up. */\n.room-section li a > .lead {\n display: flex;\n flex: none;\n align-items: center;\n justify-content: center;\n width: 1.25rem;\n color: var(--dim);\n font-weight: 600;\n}\n\n.room-section li a > .lead::before {\n width: 0.9375rem;\n height: 0.9375rem;\n}\n\n.room-section li a[aria-current=\"page\"] > .lead {\n color: var(--row-on-icon);\n}\n\n.more-body li a {\n height: 1.625rem;\n color: var(--dim);\n}\n\n/* DM and collection rows: an avatar or tile in that slot, a little taller. */\n.room-section li.dm a,\n.room-section[data-section=\"collections\"] li a {\n height: 2rem;\n}\n\n.room-section li.dm .avatar {\n width: 1.25rem;\n height: 1.25rem;\n font-size: 0.625rem;\n}\n\n/* The name; the icons and the badge stay visible however long it is. */\n.room-section li a > span:not(.avatar, .badge, .dot, .faces, .vis, .owner, .ci, .n) {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* A private collection's lock, right after its name. */\n.room-section li a > span > .vis {\n display: inline-flex;\n margin-left: 0.25rem;\n color: var(--dim);\n vertical-align: -0.0625rem;\n}\n\n.room-section li a > span > .vis::before {\n width: 0.75rem;\n height: 0.75rem;\n}\n\n/* Unread (\u00A718.4): the name in full color and bold, plus a dot (a count for what is addressed to you, room.ts). */\n.room-section li a > .dot {\n flex: none;\n width: 0.4375rem;\n height: 0.4375rem;\n margin: 0 0.25rem 0 auto;\n border-radius: 50%;\n background: var(--accent);\n}\n\n/* Who mentioned you or replied (\u00A741): their faces, overlapping, the newest first. */\n.room-section li a > .faces {\n display: flex;\n flex: none;\n}\n\n.faces > .avatar {\n width: 1.125rem;\n height: 1.125rem;\n font-size: 0.4688rem;\n box-shadow: 0 0 0 2px var(--side-bg);\n}\n\n.faces > .avatar + .avatar {\n margin-left: -0.375rem;\n}\n\n.room-section li a.unread {\n color: var(--fg);\n font-weight: 600;\n}\n\n.room-section li a[aria-current=\"page\"] {\n color: var(--row-on-fg);\n font-weight: 600;\n}\n\n/* The open room: solid accent in the light theme, the deeper well in the dark (tokens.css); hovering it changes nothing. */\n.room-section li:has(a[aria-current=\"page\"]) {\n background: var(--row-on);\n}\n\n.room-section li a[aria-current=\"page\"] > .vis,\n.room-section li a[aria-current=\"page\"] > span > .vis {\n color: var(--row-on-icon);\n}\n\n.room-section li a[aria-current=\"page\"] > .dot {\n background: var(--row-on-icon);\n}\n\n.room-section li a[aria-current=\"page\"] > .badge {\n background: var(--row-on-badge);\n color: var(--row-on-badge-fg);\n}\n\n.room-section li:has(a[aria-current=\"page\"]) .faces > .avatar {\n box-shadow: 0 0 0 2px var(--row-on);\n}\n\n/* Private and Open Air (\u00A723.1). */\n/* A flex box, so the icon is centred with the name rather than sat on a text baseline (which left it high). */\n.room-section li a > .vis:not(.lead) {\n display: flex;\n color: var(--dim);\n}\n\n.room-section li a > .vis:not(.lead)::before {\n width: 0.875rem;\n height: 0.875rem;\n}\n\n.badge {\n flex: none;\n min-width: 1.25rem;\n margin-left: auto;\n padding: 0 0.375rem;\n border-radius: 0.625rem;\n background: var(--fill);\n color: var(--on-fill);\n font-size: 0.6875rem;\n font-weight: 700;\n line-height: 1.25rem;\n text-align: center;\n}\n\n/* A hidden or archived row's Unhide / Unarchive shows while pointing at the row or using it from the keyboard. */\n@media (hover: hover) {\n .room-section li > .row-action {\n position: absolute;\n right: 0;\n opacity: 0;\n }\n\n .room-section li:hover > .row-action,\n .room-section li:focus-within > .row-action {\n position: static;\n opacity: 1;\n }\n}\n\n.row-action {\n flex: none;\n margin-right: 0.25rem;\n height: 1.625rem;\n padding: 0 0.5625rem;\n border: 0;\n border-radius: 0.375rem;\n background: var(--hover);\n font-size: 0.75rem;\n}\n\n/* Hidden & archived: the count on the right; inside, a part for each, quieter than the rooms. */\n/* Set like the other headings, the count where their \"+\" is. */\n.room-section[data-section=\"more\"] > summary {\n justify-content: flex-start;\n margin: 1.125rem 0.5rem 0 0; /* the last row's 2px margin collapses into it */\n padding-left: 0.5rem; /* set out like a .fold head, its label in line with theirs */\n}\n\n.room-section[data-section=\"more\"] > summary > span:first-child {\n flex: 1;\n}\n\n.room-section[data-section=\"more\"] .count {\n width: 1.625rem;\n letter-spacing: 0;\n text-align: center;\n}\n\n.more-body {\n margin: 2px 0 0.25rem;\n padding: 2px 0 0.375rem;\n border-radius: 0.625rem;\n background: var(--hover);\n}\n\n.more-part h3 {\n display: flex;\n gap: 0.5rem;\n align-items: center;\n margin: 0;\n padding: 0.5rem 0.625rem 0.25rem;\n color: var(--dim);\n font-size: 0.6875rem;\n font-weight: 600;\n}\n\n.more-part h3::before {\n width: 0.8125rem;\n height: 0.8125rem;\n}\n\n.empty {\n color: var(--muted);\n}\n\n.more-body .empty {\n margin: 0;\n padding: 0.5rem 0.625rem;\n}\n\n.user-search {\n margin: 0.25rem 0 0.5rem;\n}\n\n.search-status {\n margin: 0.25rem 0;\n font-size: 0.8rem;\n color: var(--muted);\n}\n\n.search-results {\n margin: 0;\n padding: 0;\n list-style: none;\n}\n\n.search-results .person {\n display: flex;\n gap: 0.5rem;\n align-items: center;\n width: 100%;\n border: 0;\n border-radius: var(--radius);\n background: none;\n text-align: left;\n}\n\n/* A long name ends in \"\u2026\" rather than running out of the list. */\n.search-results .person > span:last-child,\n.switcher .name {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n", "/* ---- Menus (<details>) ---- */\n\n.menu {\n position: relative;\n}\n\n.menu > summary {\n list-style: none;\n cursor: pointer;\n}\n\n.menu > summary::-webkit-details-marker {\n display: none;\n}\n\n/* The \u22EF toggle (or another icon): a square icon button. */\n.menu > summary.ic {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 2.25rem;\n height: 2.25rem;\n border-radius: 0.5rem;\n color: var(--muted);\n}\n\n.room-section .menu > summary.i-dots {\n width: 1.625rem;\n height: 1.625rem;\n border-radius: 0.375rem;\n}\n\n.menu > summary:hover,\n.menu[open] > summary {\n background: var(--hover);\n color: var(--fg);\n}\n\n.menu-items {\n position: absolute;\n top: calc(100% + 0.25rem);\n right: 0;\n z-index: 10;\n display: flex;\n flex-direction: column;\n gap: 2px;\n /* Never wider than the window, less a 0.5rem margin a side (QA BUG-292: at a larger text size, 17.5rem is more than a\n phone's width, and a menu opened from the right ran off the left edge). */\n min-width: min(17.5rem, 100vw - 1rem);\n max-width: min(20rem, 100vw - 1rem);\n padding: 0.375rem;\n border: 1px solid var(--border);\n border-radius: 0.75rem;\n background: var(--raised);\n box-shadow: var(--shadow);\n animation: pop 0.2s var(--ease);\n transform-origin: top right;\n}\n\n.menu-items button {\n display: flex;\n gap: 0.75rem;\n align-items: center;\n min-height: 2.375rem;\n padding: 0 0.625rem;\n border: 0;\n border-radius: 0.5rem;\n background: none;\n font-weight: 400;\n text-align: left;\n}\n\n.menu-items button:hover {\n background: var(--hover);\n}\n\n.menu-items button::before {\n width: 1rem;\n height: 1rem;\n color: var(--muted);\n}\n\n/* An item with a hint under its label or a value on the right: its icon in a span (.tile). */\n.menu-items .tile::before {\n width: 1rem;\n height: 1rem;\n color: var(--muted);\n}\n\n.menu-items small {\n display: block;\n color: var(--muted);\n font-size: 0.6875rem;\n line-height: 1.35;\n}\n\n.menu-items .value {\n margin-left: auto;\n color: var(--muted);\n font-size: 0.75rem;\n}\n\n.menu-items button:has(small) {\n padding: 0.375rem 0.625rem;\n}\n\n/* The composer's Attach: the icons on tinted tiles, purple, then blue; the labels bold over a larger hint. */\n.attach + .menu-items .tile {\n --hue: #a78bfa;\n display: flex;\n flex: none;\n align-items: center;\n justify-content: center;\n width: 2rem;\n height: 2rem;\n border-radius: 0.5rem;\n background: color-mix(in srgb, var(--hue) 16%, transparent);\n}\n\n.attach + .menu-items button + button .tile {\n --hue: #38bdf8;\n}\n\n.attach + .menu-items .tile::before {\n color: color-mix(in srgb, var(--hue) 70%, var(--fg));\n}\n\n.attach + .menu-items button {\n padding: 0.5rem 0.625rem;\n font-weight: 600;\n}\n\n.attach + .menu-items small {\n margin-top: 2px;\n font-size: 0.75rem;\n font-weight: 400;\n}\n\n/* A line above: a shadow shrunk by 6px a side, moved up 7px, so 1px of it shows. */\n.menu-items .sep {\n margin-top: 0.6875rem;\n box-shadow: 0 -0.4375rem 0 -0.375rem var(--border);\n}\n\n/* A setting: a switch on the right. */\n.menu-items [aria-checked] {\n justify-content: flex-start;\n}\n\n.menu-items [aria-checked]::after {\n content: \"\";\n width: 2.25rem;\n height: 1.375rem;\n margin-left: auto;\n border-radius: 0.6875rem;\n background: radial-gradient(circle 0.5625rem at 0.6875rem 50%, #fff 98%, transparent) var(--border);\n transition: background-position 0.15s;\n}\n\n.menu-items [aria-checked=\"true\"]::after {\n background-color: var(--fill);\n background-position: 0.875rem 0;\n}\n\n.menu-items p {\n margin: 0.25rem 0.5rem;\n font-size: 0.9rem;\n}\n", "/* ---- Room ---- */\n\n.room {\n position: relative;\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n\n/* The header (and the status line and search under it) and the footer float over the list, which scrolls under them\n (the room view redesign); room.ts sets --head-h and --foot-h to their heights. */\n.room-top {\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n z-index: 3;\n}\n\n.room-footer {\n position: absolute;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 3;\n}\n\n/* A banner or the selection bar instead of the composer: solid (selection.css and access.css give their own). */\n.room-footer > :where(:not(.composer)) {\n background: var(--bg);\n}\n\n/* Frosted glass, borderless: the messages stay faintly visible as they scroll under it. */\n.room-header {\n display: flex;\n flex-wrap: wrap;\n gap: 0.25rem 0.75rem;\n align-items: center;\n min-height: 4rem;\n padding: 0 1.25rem 0 1.75rem;\n background: var(--glass);\n -webkit-backdrop-filter: var(--glass-blur);\n backdrop-filter: var(--glass-blur);\n}\n\n.room-header h1 {\n display: flex;\n flex: 1;\n gap: 0.625rem;\n align-items: center;\n min-width: 0;\n font-size: 1.125rem;\n}\n\n.day span {\n padding: 0.1875rem 0.625rem;\n border: 1px solid var(--border);\n border-radius: 0.625rem;\n}\n\n.previews span {\n min-width: 0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.room-header h1 .name,\n.room-header h1.dm-title span {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.room-header .hash {\n width: auto;\n margin-right: 2px;\n color: var(--dim);\n font-weight: 600;\n}\n\n/* Private or Open Air: a lock or globe right after the name, its word said but not shown. */\n.vis-badge {\n display: inline-flex;\n flex: none;\n align-items: center;\n margin-left: -0.25rem;\n color: var(--dim);\n}\n\n.vis-badge::before {\n width: 0.875rem;\n height: 0.875rem;\n}\n\n/* A private room's members: overlapping faces and a count, a line between them and the buttons. */\n.room-members {\n position: relative;\n display: flex;\n gap: 0.5rem;\n align-items: center;\n height: 2.25rem;\n margin-right: 0.8125rem;\n padding: 0 0.625rem 0 0.375rem;\n border: 0;\n border-radius: 1.125rem;\n background: none;\n color: var(--muted);\n font-size: 0.8125rem;\n}\n\n.room-members::after {\n content: \"\";\n position: absolute;\n right: -0.8125rem;\n width: 1px;\n height: 1.25rem;\n background: var(--border);\n}\n\n.faces {\n display: flex;\n}\n\n.faces .avatar {\n border: 2px solid var(--bg);\n box-sizing: content-box;\n}\n\n.msg > .avatar {\n position: absolute;\n top: 0.5rem;\n left: 1.75rem;\n}\n\n.faces .avatar + .avatar {\n margin-left: -0.5rem;\n}\n\n.room-header .room-error {\n flex-basis: 100%;\n}\n\n/* The title, and under it where else a shared room is held (\u00A733.9): a subtitle, keeping the header one row. */\n.room-heading {\n display: flex;\n flex: 1;\n flex-direction: column;\n justify-content: center;\n min-width: 0;\n}\n\n.room-heading > h1 {\n flex: none;\n}\n\n.room-header .room-shared {\n overflow: hidden;\n margin: 0;\n color: var(--muted);\n font-size: 0.8rem;\n line-height: 1.25;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* In line with a DM's name, past its avatar. */\n.room-header h1.dm-title + .room-shared {\n padding-left: calc(24px + 0.625rem);\n}\n\n.back {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 2.75rem;\n height: 2.75rem;\n margin-left: -1rem;\n border-radius: 0.75rem;\n color: var(--muted);\n}\n\n.back::before {\n width: 1.375rem;\n height: 1.375rem;\n}\n\n.room-body {\n position: relative;\n flex: 1;\n min-height: 0;\n display: flex;\n flex-direction: column;\n}\n\n/* Room at the ends for the header and the composer over it; what is scrolled to stays clear of them too. */\n.messages {\n flex: 1;\n min-height: 0;\n overflow-y: auto;\n overflow-anchor: auto;\n margin: 0;\n padding: calc(var(--head-h, 4rem) + 0.75rem) 0 calc(var(--foot-h, 4.25rem) + 0.5rem);\n scroll-padding: var(--head-h, 4rem) 0 var(--foot-h, 4.25rem);\n list-style: none;\n}\n\n.sentinel {\n height: 1px;\n}\n\n.beginning,\n.load-error,\n.service {\n padding: 1.5rem 0 1rem;\n color: var(--muted);\n text-align: center;\n overflow-wrap: anywhere;\n}\n\n.beginning::before {\n content: \"\u2728\";\n display: block;\n font-size: 2rem;\n}\n\n/* The date sits in a chip on the line. */\n.day {\n display: flex;\n gap: 0.75rem;\n align-items: center;\n margin: 0.5rem 1.75rem 0.25rem;\n color: var(--muted);\n font-size: 0.75rem;\n font-weight: 600;\n}\n\n.day::before,\n.day::after {\n content: \"\";\n flex: 1;\n border-top: 1px solid var(--line);\n}\n\n/* A service message (\u00A75.3): the app's own line. */\n.service {\n padding: 0.5rem;\n font-size: 0.8rem;\n}\n\n/* Room on the left for the author's avatar, which only group starts show (\u00A715.4). */\n.msg {\n position: relative;\n padding: 2px 1.75rem 2px calc(1.75rem + 2.25rem + 0.875rem);\n color: var(--text);\n line-height: 1.55;\n transition: background-color 0.1s;\n}\n\n.msg.group-start {\n min-height: 3.125rem;\n padding-top: 0.375rem;\n margin-top: 0.375rem;\n}\n\n@media (hover: hover) {\n .messages:not(.by-touch) .msg:hover {\n background: color-mix(in srgb, var(--fill) 7%, transparent);\n }\n}\n\n.meta {\n display: flex;\n gap: 0.5rem;\n align-items: baseline;\n min-width: 0;\n line-height: 1.5;\n}\n\n.author {\n min-width: 0;\n overflow: hidden;\n color: var(--fg);\n font-weight: 600;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.meta time,\n.permalink {\n flex: none;\n}\n\n/* The time links to its message: underlined only on hover. */\n.permalink:not(:hover) {\n text-decoration: none;\n}\n\n/* Another author's name opens the DM with them (\u00A716.5): a button that looks like the name, underlined on hover. */\nbutton.author {\n padding: 0;\n border: 0;\n border-radius: 0;\n background: none;\n font-weight: 600;\n text-align: start;\n transition: none;\n}\n\nbutton.author:hover:not(:disabled),\nbutton.author:focus-visible {\n background: none;\n text-decoration: underline;\n}\n\nbutton.author:active:not(:disabled) {\n transform: none;\n}\n\n/* A moderator's menu (Ban) on the name of someone who takes no DMs (\u00A736). It shrinks and truncates like a plain name,\n so the time stays on screen (QA BUG-32). */\n.author-menu {\n min-width: 0;\n}\n\n.author-menu > summary.author {\n display: block;\n padding: 0;\n color: inherit;\n}\n\n.author-menu > summary.author:hover,\n.author-menu[open] > summary.author {\n background: none;\n text-decoration: underline;\n}\n\n.author-menu .menu-items {\n right: auto;\n left: 0;\n min-width: 8rem;\n transform-origin: top left;\n}\n\n/* Too near the composer (the last message's author): it opens upwards (QA BUG-227). */\n.author-menu.up .menu-items {\n top: auto;\n bottom: calc(100% + 0.25rem);\n transform-origin: bottom left;\n}\n\n.meta time,\n.permalink,\n.edited,\n.hint,\n.counter {\n font-size: 0.75rem;\n color: var(--dim);\n}\n\n.body {\n white-space: pre-wrap;\n overflow-wrap: anywhere;\n}\n\n.edited {\n margin-left: 0.35rem;\n}\n\n.msg .body,\n.msg .edited {\n display: inline;\n}\n\n.placeholder {\n font-style: italic;\n color: var(--muted);\n}\n\n/* Link previews (\u00A728): a ghost line per link under the message, no box: the site's icon (or its letter), the domain, a\n dot, the title; the title gives way first (the room view redesign). */\n.previews {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: 0.125rem;\n margin: 0.25rem 0 2px;\n padding: 0;\n list-style: none;\n font-size: 0.8125rem;\n font-weight: 600;\n}\n\n.previews li {\n max-width: 100%;\n}\n\n.previews a {\n display: flex;\n gap: 0.4375rem;\n align-items: center;\n min-height: 1.5rem;\n color: var(--muted);\n text-decoration: none;\n}\n\n@media (hover: hover) {\n .previews a:hover .preview-title {\n color: var(--fg);\n text-decoration: underline;\n }\n}\n\n.previews img,\n.preview-letter {\n flex: none;\n width: 0.875rem;\n height: 0.875rem;\n border-radius: 0.1875rem;\n}\n\n.preview-letter {\n display: flex;\n align-items: center;\n justify-content: center;\n background: var(--hover);\n color: var(--muted);\n font-size: 0.5rem;\n font-weight: 700;\n}\n\n.preview-domain {\n flex: none;\n max-width: 50%;\n color: var(--dim);\n font-size: 0.75rem;\n font-weight: 500;\n}\n\n.previews .preview-dot {\n flex: none;\n width: 3px;\n height: 3px;\n border-radius: 50%;\n background: var(--dim);\n}\n\n/* The loading line at the header's foot, not under it. */\n.room-body > .loadbar {\n top: var(--head-h, 0px);\n}\n", "/* ---- Message search (\u00A729): a bar under the room header, its results over the top of the list ---- */\n/* Its status and results go by the people search's class names (room-list.css): only those in .room-search here\n (QA BUG-115: the forward dialog's list and the new-DM search got a 45vh scroll box of their own). */\n\n/* While it is open, the header's search button is lit (its aria-expanded). */\n.search-toggle[aria-expanded=\"true\"] {\n background: var(--tint);\n color: var(--fg);\n}\n\n/* One row: the field with its icon (the bar's ::before, over the field), how many are found, Close; the results under\n them. */\n.room-search {\n display: grid;\n grid-template-columns: minmax(0, 1fr) auto auto;\n column-gap: 0.625rem;\n align-items: center;\n padding: 0.625rem 1.25rem 0.625rem 1.75rem;\n border-bottom: 1px solid var(--line);\n background: var(--raised);\n box-shadow: 0 0.75rem 1.5rem rgb(0 0 0 / 20%);\n}\n\n.search-bar {\n display: contents;\n}\n\n.room-search::before {\n z-index: 1;\n grid-area: 1 / 1;\n width: 1rem;\n height: 1rem;\n margin-left: 0.875rem;\n color: var(--dim);\n pointer-events: none;\n}\n\n.search-bar input {\n grid-area: 1 / 1;\n height: 2.625rem;\n padding-left: 2.5rem;\n}\n\n.search-bar button {\n grid-area: 1 / 3;\n}\n\n.room-search .search-status {\n grid-area: 1 / 2;\n margin: 0;\n color: var(--muted);\n font-size: 0.8125rem;\n}\n\n.room-search .search-results {\n grid-column: 1 / -1;\n max-height: 45vh;\n overflow-y: auto;\n margin: 0.375rem -0.75rem 0 -1rem;\n padding: 0;\n list-style: none;\n}\n\n.room-search .search-results .link {\n display: block;\n height: 2.125rem;\n margin: 0.375rem auto 0.25rem;\n padding: 0 0.875rem;\n border: 1px solid var(--border);\n border-radius: 0.625rem;\n color: var(--fg);\n font-size: 0.8125rem;\n text-decoration: none;\n}\n\n/* A result: the author's face, their name and when, the text. */\n.search-result {\n display: grid;\n grid-template-columns: 1.625rem minmax(0, 1fr);\n column-gap: 0.75rem;\n width: 100%;\n padding: 0.4375rem 0.75rem;\n border: 0;\n border-radius: 0.625rem;\n background: none;\n text-align: left;\n font-weight: 400;\n}\n\n.search-result .avatar {\n grid-row: 1 / 3;\n width: 1.625rem;\n height: 1.625rem;\n margin-top: 2px;\n font-size: 0.625rem;\n}\n\n.search-result .body {\n display: -webkit-box;\n overflow: hidden;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n white-space: normal;\n}\n\n.search-result mark {\n background: var(--highlight);\n color: inherit;\n}\n", "/* ---- Replies (\u00A719): a one-line pill under the reply's name and over its text (the reply redesign, 2026-11-24): the\n quoted author's face, name and text; clicking it shows the original. ---- */\n\n.reply-quote {\n display: flex;\n gap: 0.375rem;\n align-items: center;\n width: fit-content;\n max-width: 100%;\n min-width: 0;\n height: 1.625rem;\n margin: 4px 0;\n padding: 0 0.75rem 0 3px;\n border: 0;\n border-radius: var(--pill);\n background: var(--row-hover);\n color: var(--dim);\n /* Two pixels under the message text (12px to its 14, 13 to 15 on a phone), as the reply redesign has it. */\n font-size: calc(1em - 2px);\n font-weight: 400;\n line-height: 1.25rem;\n text-align: left;\n}\n\n/* A reply that goes on a group: a little room from the message above it (10px from its text, with the rows' padding). */\n.msg:not(.group-start) > .reply-quote {\n margin-top: 0.375rem;\n}\n\n.reply-quote:active:not(:disabled) {\n transform: none;\n}\n\n@media (hover: hover) {\n .reply-quote:hover {\n background: var(--quote-hover);\n color: var(--fg);\n }\n}\n\n.reply-quote .avatar {\n width: 1.25rem;\n height: 1.25rem;\n font-size: 0.5rem;\n}\n\n/* No face (a quote still loading): the pill's padding on both sides. */\n.reply-quote > .reply-author:first-child,\n.reply-quote > .reply-text:first-child {\n margin-left: calc(0.75rem - 3px);\n}\n\n/* The text gives way first; the author only a little, and never for a short quote (QA BUG-186: a percentage of the\n quote, which is as wide as its content, clipped the author of a short one). */\n.reply-author {\n flex: 0 0.15 auto;\n min-width: 0;\n max-width: 20em;\n overflow: hidden;\n color: var(--muted);\n font-weight: 600;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.reply-text {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* Files alone: \"Attachment\" after a picture icon. */\n.reply-text .i {\n width: 0.75rem;\n height: 0.75rem;\n margin-right: 0.25rem;\n vertical-align: -0.0625rem;\n}\n\n/* Room for the slant: the box clips what leans past its end (QA BUG-177). */\n.reply-quote.deleted .reply-text {\n padding-right: 0.15em;\n font-style: italic;\n}\n\n/* Your own words quoted: on the accent's tint, your name in the accent (toward the text colour: the accent alone was\n under 4.5:1 on the tint in the light theme); the message itself stays clean (messages.css). */\n.reply-quote.mine {\n background: var(--quote-mine);\n color: var(--quote-mine-text);\n}\n\n.reply-quote.mine .reply-author {\n flex-shrink: 0;\n max-width: 40%;\n color: var(--quote-mine-author);\n}\n\n.reply-quote.mine:hover {\n color: var(--quote-mine-text);\n}\n\n@media (hover: hover) {\n .reply-quote.mine:hover {\n background: var(--quote-mine-hover);\n }\n}\n\n/* Replying: the first row of the message box (composer.css), a line under it; name and quote on one line, two on a\n phone (narrow.css). */\n.replying {\n display: flex;\n gap: 0.5rem;\n align-items: center;\n min-height: 2.125rem;\n padding: 0 0.3125rem 0 1rem;\n border-bottom: 1px solid color-mix(in srgb, var(--fg) 9%, transparent);\n color: var(--dim);\n font-size: 0.8125rem;\n}\n\n.replying::before {\n width: 0.875rem;\n height: 0.875rem;\n}\n\n.replying-label {\n display: flex;\n flex: 1;\n gap: 0.5rem;\n align-items: baseline;\n min-width: 0;\n color: var(--dim);\n}\n\n.replying-who,\n.replying-text {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* The name gives way only a little: the quote first. */\n.replying-who {\n flex: 0 0.2 auto;\n}\n\n.replying-text {\n flex: 1;\n}\n\n.replying-label strong {\n color: var(--fg);\n font-weight: 600;\n}\n\n.replying .remove {\n width: 1.75rem;\n height: 1.75rem;\n}\n\n/* \"@handle\" in a message (\u00A741); yours stands out. The sidebar's \"Mentions & replies\" row has \"@\" for its \"#\". */\n.mention {\n color: var(--accent);\n font-weight: 600;\n}\n\n/* Yours: on the tint, in the text's colour (the accent on the tint was under 4.5:1, QA BUG-262). The message isn't\n tinted: this is what tells a mention of you. */\n.mention.me {\n padding: 0 2px;\n border-radius: 0.25rem;\n background: var(--tint);\n color: var(--text);\n}\n\n/* \"Mentions & replies\": an \"@\" in the rooms' leading slot (room-list.css), so its name lines up with theirs. */\n.room-section[data-section=\"inbox\"] a::before {\n content: \"@\";\n display: flex;\n flex: none;\n justify-content: center;\n width: 1.25rem;\n color: var(--dim);\n font-weight: 600;\n}\n\n.room-section[data-section=\"inbox\"] a.unread::before {\n color: var(--accent);\n}\n\n.room-section[data-section=\"inbox\"] a[aria-current=\"page\"]::before {\n color: var(--row-on-icon);\n}\n", "/* ---- Attachments in messages (\u00A717.5): uncropped, at a fixed height (narrower when too wide), so loading images\n never moves the list vertically. ---- */\n\n.attachments {\n margin: 0.3rem 0 0.15rem;\n}\n\n.att-images {\n --att-h: 7.5rem;\n --att-max-w: 15rem;\n display: flex;\n flex-wrap: wrap;\n gap: 0.25rem;\n}\n\n.att-images.one {\n --att-h: 15rem;\n --att-max-w: 25rem;\n}\n\n.att-tile {\n position: relative;\n display: block;\n min-width: calc(var(--att-h) / 2);\n max-width: min(100%, var(--att-max-w));\n height: var(--att-h);\n overflow: hidden;\n border-radius: var(--radius);\n background: var(--surface);\n}\n\n/*\n * Full height; a too-wide image is narrowed to the max width and letterboxed rather than shortened or cropped, a\n * too-narrow one is centred in the min width, and a small one is never enlarged.\n */\n.att-tile img,\n.att-tile video {\n display: block;\n width: auto;\n max-width: 100%;\n height: 100%;\n margin-inline: auto;\n object-fit: scale-down;\n transition: transform 0.25s;\n}\n\n/* A click on a video tile is the link's: it plays in the viewer. */\n.att-tile video {\n pointer-events: none;\n}\n\n.att-tile:hover img,\n.att-tile:hover video {\n transform: scale(1.05);\n}\n\n/* Over a video's first frame, and on the media grid's and collections' video tiles. A drawn triangle, not \"\u25B6\", which\n Apple's, Android's and Windows' fonts show as an emoji (QA BUG-242). */\n.att-play {\n position: absolute;\n inset: 50% auto auto 50%;\n translate: -50% -50%;\n display: grid;\n place-items: center;\n width: min(2.75rem, 40%);\n aspect-ratio: 1;\n border-radius: 50%;\n background: rgb(13 11 20 / 60%);\n pointer-events: none;\n}\n\n.att-play::before {\n content: \"\";\n width: 55%;\n height: 55%;\n background: #fff;\n mask:\n url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E\") center\n / contain no-repeat;\n}\n\n.att-broken {\n display: flex;\n flex-wrap: wrap;\n gap: 0.25rem;\n align-items: center;\n justify-content: center;\n padding: 0.5rem;\n border: 2px dashed var(--border);\n color: var(--muted);\n font-size: 0.8rem;\n text-align: center;\n}\n\n.att-broken button {\n padding: 0.1rem 0.5rem;\n font-size: 0.8rem;\n}\n\n.att-files {\n display: flex;\n flex-wrap: wrap;\n gap: 0.4rem;\n margin: 0.3rem 0 0;\n padding: 0;\n list-style: none;\n}\n\n.att-file {\n display: inline-block;\n max-width: 18rem;\n padding: 0 0.75rem;\n overflow: hidden;\n border: 1px solid var(--border);\n border-radius: 0.625rem;\n background: color-mix(in srgb, var(--fg) 5%, transparent);\n color: var(--fg);\n font-size: 0.8125rem;\n font-weight: 600;\n line-height: 2.5rem;\n text-decoration: none;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* A document icon before the name, in the text's color. */\n.att-file::before {\n content: \"\";\n display: inline-block;\n width: 1rem;\n height: 1rem;\n margin-right: 0.5rem;\n background: var(--accent);\n vertical-align: -0.1875rem;\n mask: var(--i) center / contain no-repeat;\n}\n\n/* An audio file's player, next to its chip and as high as it (the chip's baseline is its bottom: overflow hidden). */\n.att-files audio {\n max-width: 100%;\n height: 2.2rem;\n vertical-align: top;\n}\n\n/* Over the last tile when a message has more images and videos than it shows: the viewer steps through them all. */\n.att-more {\n position: absolute;\n inset: 0;\n display: grid;\n place-items: center;\n background: rgb(13 11 20 / 55%);\n color: #fff;\n font-size: 1.5rem;\n font-weight: 700;\n pointer-events: none;\n}\n\n/* How much of a sending message's attachments has been uploaded (\u00A717.4). */\n.att-progress {\n display: block;\n width: min(100%, 16rem);\n height: 0.25rem;\n margin-top: 0.35rem;\n overflow: hidden;\n border: 0;\n border-radius: 2px;\n background: var(--border);\n accent-color: var(--accent);\n appearance: none;\n}\n\n.att-progress::-webkit-progress-bar {\n background: var(--border);\n}\n\n.att-progress::-webkit-progress-value {\n background: var(--accent);\n transition: width 0.2s;\n}\n\n.att-progress::-moz-progress-bar {\n background: var(--accent);\n}\n", "/* ---- Media collections (\u00A731): the collections icon, a tile's \"from collection\" badge and Save button, the sidebar's\n rows. The collection page, the save menu and the picker are styled by collections.css, loaded with their chunk. ---- */\n\n/* The icon: a picture with another behind it. A mask, so it takes the text color; on any button or link. */\n.ci {\n display: inline-block;\n flex: none;\n width: 1.15em;\n height: 1.15em;\n background: currentcolor;\n vertical-align: -0.2em;\n mask:\n url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h12a2 2 0 0 1 2 2v12'/%3E%3Crect x='3' y='7' width='14' height='14' rx='2'/%3E%3Cpath d='m3 19 5-5 4 4 2-2 3 3'/%3E%3Ccircle cx='12.5' cy='11.5' r='1'/%3E%3C/svg%3E\")\n center / contain no-repeat;\n}\n\n@media (hover: hover) {\n .icon-button:hover:not(:disabled) {\n background: var(--hover);\n color: var(--fg);\n }\n}\n\n/* A message's image or video with what goes over it. */\n.att-cell {\n position: relative;\n display: block;\n max-width: min(100%, var(--att-max-w));\n}\n\n.att-src,\n.att-save {\n position: absolute;\n z-index: 1;\n border-radius: var(--pill);\n background: rgb(13 11 20 / 65%);\n color: #fff;\n font-size: 0.7rem;\n font-weight: 700;\n line-height: 1.6;\n}\n\n.att-src {\n bottom: 0.25rem;\n left: 0.25rem;\n display: flex;\n gap: 0.2rem;\n align-items: center;\n max-width: calc(100% - 0.5rem);\n padding: 0 0.45rem;\n overflow: hidden;\n text-decoration: none;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.att-src > .i-lock::before {\n width: 0.75rem;\n height: 0.75rem;\n}\n\na.att-src:hover {\n background: var(--accent);\n}\n\n.att-save {\n top: 0.25rem;\n right: 0.25rem;\n width: 1.9rem;\n height: 1.9rem;\n padding: 0;\n border: 0;\n font-size: 0.95rem;\n opacity: 0;\n}\n\n/* Shown while pointing at the tile or on it; always on touch screens, which have no hover. */\n.att-cell:hover .att-save,\n.att-save:focus-visible,\n.att-save[aria-expanded=\"true\"] {\n opacity: 1;\n}\n\n@media (hover: none) {\n .att-save {\n opacity: 0.85;\n }\n}\n\n/* Sidebar rows (\u00A731): the icon on a tinted tile instead of \"#\" (the tile is ::before, the icon is moved over it), who\n owns one you follow, how many items it has. */\n.room-section[data-section=\"collections\"] li a::before {\n content: \"\";\n flex: none;\n width: 1.25rem;\n height: 1.25rem;\n border-radius: 0.375rem;\n background: color-mix(in srgb, var(--hue) 16%, transparent);\n}\n\n/* Toward the text color: lighter in the dark theme, darker in the light one. The tints (t0..t3) are the collection's,\n by id: its page's header has the same (collections.css). */\n.room-section[data-section=\"collections\"] li a > .ci {\n width: 0.8125rem;\n height: 0.8125rem;\n margin: 0 0.2188rem 0 -1.5313rem;\n color: color-mix(in srgb, var(--hue) 70%, var(--fg));\n}\n\n.t0 {\n --hue: #a78bfa;\n}\n\n.t1 {\n --hue: #38bdf8;\n}\n\n.t2 {\n --hue: #fb923c;\n}\n\n.t3 {\n --hue: #4ade80;\n}\n\n.room-section li a > .n {\n min-width: 1.125rem;\n color: var(--dim);\n font-size: 0.75rem;\n text-align: right;\n}\n\n/* A collection you follow: its owner's face. */\n.room-section li .owner {\n display: flex;\n flex: none;\n}\n\n.room-section li .owner > .avatar {\n width: 1rem;\n height: 1rem;\n font-size: 0.4375rem;\n}\n\n/* A sending message's tile for an item from a collection. */\n.tray-item .ci {\n width: 2.5rem;\n color: var(--muted);\n}\n", "/* ---- Message states (sending, failed, highlighted) and the Edit/Delete toolbar ---- */\n\n/* Your own message pops in while it sends. */\n.msg.pending {\n opacity: 0.6;\n animation: pop 0.3s var(--ease);\n}\n\n.msg.failed .body,\n.msg.failed .attachments {\n opacity: 0.7;\n}\n\n/* Held, then faded; the controller drops the class once it is gone (HIGHLIGHT_MS). */\n.msg.target {\n background: var(--highlight);\n animation: target-fade 3s ease-in forwards;\n}\n\n@keyframes target-fade {\n 0%,\n 60% {\n background: var(--highlight);\n }\n 100% {\n background: transparent;\n }\n}\n\n/* React, Reply, Forward, Select, Edit, Delete: one floating toolbar of icons. */\n.actions {\n position: absolute;\n top: -0.875rem;\n right: 1.75rem;\n z-index: 1;\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-end;\n gap: 2px;\n max-width: calc(100% - 3.5rem);\n padding: 0.1875rem;\n border: 1px solid var(--border);\n border-radius: 0.625rem;\n background: var(--raised);\n box-shadow: var(--shadow);\n opacity: 0; /* not visibility:hidden \u2014 the buttons must stay in the tab order */\n /* Hidden, it must not catch the pointer: it overlaps the message above, which would light up this one's instead. */\n pointer-events: none;\n}\n\n.actions button {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 2rem;\n height: 2rem;\n padding: 0;\n border: 0;\n border-radius: 0.4375rem;\n background: none;\n color: var(--muted);\n}\n\n.actions button::before {\n width: 1rem;\n height: 1rem;\n}\n\n.actions button.delete {\n color: var(--danger);\n}\n\n/* Touch screens have no hover: a tapped message gets .touched instead (and the background hover gives).\n Not :focus-within: focus stays on a clicked button (\u263A+, a reaction\u2026), which would keep this message's buttons up\n next to those of the one the mouse moved on to; keyboard focus shows them below (:focus-visible). A tap leaves the\n message under :hover, so after a tap (.by-touch, until a click) hover shows nothing. */\n@media (hover: hover) {\n .messages:not(.by-touch) .msg:hover .actions {\n opacity: 1;\n pointer-events: auto;\n }\n}\n\n.msg.touched {\n background: color-mix(in srgb, var(--fill) 7%, transparent);\n}\n\n/* Only focus from the keyboard: any focus would keep the buttons up once you are done with one, as it goes back to\n the button you clicked or tapped (React, Forward\u2026). */\n.msg.touched .actions,\n.msg:has(:focus-visible) .actions {\n opacity: 1;\n pointer-events: auto;\n}\n\n/* A phone is too narrow for the floating toolbar (it wraps over the message): there it shows below the message.\n Hidden, it shrinks to nothing rather than going away, so screen readers still reach the buttons. */\n@media (hover: none) {\n .actions {\n width: 1px;\n height: 1px;\n overflow: hidden;\n clip-path: inset(50%);\n }\n\n .msg.touched .actions,\n .msg:has(:focus-visible) .actions {\n position: static;\n justify-content: flex-start;\n width: fit-content;\n height: auto;\n overflow: visible;\n clip-path: none;\n margin-top: 0.15rem;\n box-shadow: none;\n }\n}\n\n/* Over the first unread message (\u00A718.5): a pink line, NEW at its end. No height of its own, so nothing moves when it\n goes; faded out before the controller drops it (UNREAD_LINE_MS). */\n.new-line {\n height: 0;\n margin: 0 1.75rem;\n border-top: 1px solid color-mix(in srgb, var(--new) 60%, transparent);\n font-size: 0.6875rem;\n font-weight: 700;\n letter-spacing: 0.04em;\n line-height: 0;\n color: var(--new);\n text-align: right;\n text-transform: uppercase;\n animation: fade-out 1s 4s forwards;\n}\n\n.new-line span {\n padding-left: 0.625rem;\n background: var(--bg);\n}\n\n@keyframes fade-out {\n to {\n opacity: 0;\n }\n}\n", "/* ---- Reactions (\u00A720.3): an emoji and its count per reaction, with no chip around it; yours take the accent. ---- */\n\n.reactions {\n display: flex;\n flex-wrap: wrap;\n gap: 0.125rem;\n /* Pulled left by a button's padding, so the first emoji lines up with the message text. */\n margin: 0.25rem 0 2px -0.375rem;\n}\n\n.reaction,\n.add-reaction {\n display: inline-flex;\n gap: 0.25rem;\n align-items: center;\n height: 1.75rem;\n padding: 0 0.375rem;\n border: none;\n border-radius: 0.875rem;\n background: none;\n color: var(--muted);\n font-size: 0.875rem;\n font-weight: 500;\n}\n\n.reaction-emoji {\n font-size: 1.0625rem;\n}\n\n.reaction.mine {\n color: var(--accent);\n font-weight: 700;\n}\n\nbutton.reaction:hover,\n.add-reaction:hover {\n background: color-mix(in srgb, var(--fg) 6%, transparent);\n}\n\n.add-reaction {\n color: var(--dim);\n}\n", "/* ---- Composer, edit box, inline errors and hints, the status line, the new-messages button ---- */\n\n.confirm,\n.send-error,\n.msg-error {\n display: flex;\n flex-wrap: wrap;\n gap: 0.4rem;\n align-items: center;\n margin: 0.25rem 0;\n font-size: 0.85rem;\n}\n\n/* A confirm's buttons (and the selection bar's) wrap as one. */\n.bar-actions {\n display: flex;\n gap: inherit;\n align-items: center;\n}\n\n.confirm button,\n.send-error button,\n.msg-error button {\n height: 1.625rem;\n padding: 0 0.625rem;\n border: 0;\n border-radius: 0.375rem;\n background: var(--hover);\n font-size: 0.75rem;\n}\n\n.confirm .danger {\n background: var(--danger);\n color: var(--bg);\n}\n\n.edit-input {\n display: block;\n margin-top: 0.15rem;\n resize: vertical;\n}\n\n.hint {\n margin: 0.15rem 0 0;\n}\n\n.hint.error {\n color: var(--danger);\n}\n\n.room-notice {\n margin: 0;\n padding: 0.4rem 1rem;\n background: var(--tint);\n font-size: 0.85rem;\n color: var(--muted);\n}\n\n.room-notice:empty {\n display: none;\n}\n\n/* \"New messages\" / \"Jump to latest\" / \"Back to reply\": frosted glass over the bottom of the list, like the header. Who it\n is about shows as faces: the authors of the new messages, or whose reply you came from (the room view redesign). */\n.new-messages {\n position: absolute;\n bottom: calc(var(--foot-h, 0px) + 0.75rem);\n left: 50%;\n z-index: 2;\n display: flex;\n gap: 0.5rem;\n align-items: center;\n height: 2.25rem;\n padding: 0 0.875rem 0 0.75rem;\n border: 0;\n border-radius: 1.125rem;\n background: var(--glass);\n -webkit-backdrop-filter: var(--glass-blur);\n backdrop-filter: var(--glass-blur);\n /* The canvas's 0 8px 24px black at 35% (at its 1.5\u00D7 scale) in dark; the light theme's violet shadow. */\n box-shadow: 0 0.3125rem 1rem light-dark(rgb(11 11 16 / 12%), rgb(0 0 0 / 35%));\n color: var(--fg);\n font-size: 0.8125rem;\n font-weight: 600;\n white-space: nowrap;\n transform: translateX(-50%);\n animation: pop 0.3s var(--ease);\n}\n\n.new-messages::before {\n width: 0.875rem;\n height: 0.875rem;\n}\n\n.new-messages.has-faces {\n padding-left: 0.4375rem;\n}\n\n.new-messages.has-faces::before {\n content: none;\n}\n\n.new-messages .faces .avatar {\n width: 1.375rem;\n height: 1.375rem;\n border-color: var(--bg);\n font-size: 0.5625rem;\n}\n\n.new-messages .faces .avatar + .avatar {\n margin-left: -0.4375rem;\n}\n\n/* Hovered, still glass: a shade of the hover colour, not the solid one buttons take. */\n@media (hover: hover) {\n .new-messages:hover:not(:disabled) {\n background: color-mix(in srgb, var(--hover) 80%, transparent);\n }\n}\n\n.new-messages:active:not(:disabled) {\n transform: translateX(-50%) scale(0.95);\n}\n\n/* The composer floats over the bottom of the messages (room.css): no bar of its own, one filled box, set in from the\n sides, that the messages show faintly through. */\n.composer {\n padding: 0.5rem 1rem calc(0.75rem + env(safe-area-inset-bottom));\n}\n\n.composer-box {\n position: relative;\n display: flex;\n flex-direction: column;\n border-radius: var(--radius);\n background: var(--field);\n -webkit-backdrop-filter: var(--glass-blur);\n backdrop-filter: var(--glass-blur);\n box-shadow: var(--field-ring);\n}\n\n.composer-row {\n display: flex;\n gap: 0.25rem;\n align-items: flex-end;\n min-height: 2.75rem;\n padding: 0.25rem 0.3125rem 0.25rem 0.9375rem;\n}\n\n/* Emoji, attach, send: together at the end, at the bottom of a text that grows. */\n.composer-buttons {\n display: flex;\n flex: none;\n gap: 2px;\n align-items: center;\n}\n\n.composer-buttons > button,\n.composer-buttons > .menu > summary {\n width: 2.25rem;\n height: 2.25rem;\n border-radius: 0.5rem;\n}\n\n/* One line is as tall as the buttons, with the text (and placeholder) centred on them. */\n.composer textarea {\n flex: 1;\n align-self: center;\n min-width: 0;\n min-height: 2.25rem;\n max-height: 10rem;\n /* overflow-x: Firefox with classic scrollbars otherwise makes room for a horizontal one, taller than a row. */\n overflow-x: hidden;\n padding: calc((2.25rem - 1lh) / 2) 0;\n border: 0;\n background: none;\n outline: none;\n resize: none;\n}\n\n.composer .menu[open] > summary {\n background: var(--tint);\n color: var(--accent);\n}\n\n/* The attach menu opens upwards, from the end of the box: placed by the box, not the button, which send follows (at a\n large text size, a menu ending at the button went off the left of a phone, QA BUG-293). */\n.composer .menu {\n position: static;\n}\n\n.composer .menu-items {\n top: auto;\n right: 0;\n bottom: calc(100% + 0.5rem);\n left: auto;\n transform-origin: bottom right;\n}\n\n/* Send: the arrow alone, in the accent; faint while there is nothing to send. */\n.composer .send {\n display: flex;\n flex: none;\n align-items: center;\n justify-content: center;\n padding: 0;\n border: 0;\n background: none;\n color: var(--accent);\n}\n\n.composer .send::before {\n width: 1.125rem;\n height: 1.125rem;\n}\n\n.composer .send:disabled {\n opacity: 1;\n background: none;\n color: color-mix(in srgb, var(--accent) 55%, transparent);\n}\n\n@media (hover: hover) {\n .composer .send:hover:not(:disabled) {\n background: var(--hover);\n }\n}\n\n.composer .counter {\n align-self: center;\n}\n\n/* Ctrl+/ focuses the textarea (\u00A77.6): said while it isn't focused, and only where there is a keyboard. */\n.composer .focus-key {\n align-self: center;\n margin-inline: 0.25rem;\n padding: 0 0.375rem;\n border: 0;\n border-radius: 0.3125rem;\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg) 12%, transparent);\n color: var(--dim);\n font-size: 0.6875rem;\n font-weight: 600;\n line-height: 1.25rem;\n white-space: nowrap;\n}\n\n.composer textarea:focus ~ .focus-key {\n display: none;\n}\n\n@media (hover: none) {\n .focus-key {\n display: none;\n }\n}\n", "/* ---- Attachment tray (\u00A717.4): square tiles under the text in the message box, a corner \u00D7 on each (the room view\n redesign); the row scrolls sideways when there are more than fit. ---- */\n\n.tray {\n display: flex;\n gap: 0.5rem;\n margin: 0;\n padding: 0.125rem 0.625rem 0.625rem 0.9375rem;\n overflow-x: auto;\n list-style: none;\n scrollbar-width: thin;\n}\n\n.tray-item {\n position: relative;\n flex: none;\n width: 4.5rem;\n height: 4.5rem;\n animation: pop 0.25s var(--ease);\n}\n\n.tray-thumb,\n.tray-doc {\n display: block;\n width: 100%;\n height: 100%;\n border-radius: 0.5rem;\n}\n\n.tray-thumb {\n object-fit: cover;\n background: var(--surface);\n}\n\n/* A file without a preview: a document icon and its kind (\"PDF\"). */\n.tray-doc {\n display: flex;\n flex-direction: column;\n gap: 0.25rem;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n background: var(--hover);\n color: var(--muted);\n}\n\n.tray-doc.ic::before {\n width: 1.25rem;\n height: 1.25rem;\n}\n\n.tray-ext {\n font-size: 0.625rem;\n font-weight: 700;\n letter-spacing: 0.03em;\n}\n\n.tray-ext:empty {\n display: none;\n}\n\n.tray-doc .ci {\n width: 1.5rem;\n height: 1.5rem;\n}\n\n.tray-item .remove {\n position: absolute;\n top: 0.25rem;\n right: 0.25rem;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 1.25rem;\n height: 1.25rem;\n padding: 0;\n border: 0;\n border-radius: 50%;\n background: var(--bg);\n color: var(--muted);\n}\n\n/* A bigger target than it looks. */\n.tray-item .remove::after {\n content: \"\";\n position: absolute;\n inset: -0.375rem;\n}\n\n.tray-item .remove::before {\n width: 0.625rem;\n height: 0.625rem;\n}\n\n.tray:empty {\n display: none;\n}\n\n.tray-error {\n margin: 0 0.9375rem 0.5rem;\n color: var(--danger);\n font-size: 0.85rem;\n}\n\n.tray-error:empty {\n display: none;\n}\n\n.composer textarea::placeholder {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.counter {\n align-self: center;\n}\n\n.counter:empty {\n display: none;\n}\n", "/* ---- Selecting and forwarding (\u00A721): a checkbox on each message, a bar in place of the composer. ---- */\n\n.forwarded {\n color: var(--muted);\n font-size: 0.75rem;\n font-style: italic;\n}\n\n/* Selecting: a checkbox in front of each message, the avatar after it. */\n.messages.selecting .msg {\n padding-left: calc(1.75rem + 2rem + 2.25rem + 0.875rem);\n cursor: pointer;\n user-select: none;\n}\n\n.messages.selecting .msg > .avatar {\n left: 3.75rem;\n}\n\n.msg > .select {\n position: absolute;\n top: 1.0625rem;\n left: 1.75rem;\n width: 1.125rem;\n height: 1.125rem;\n padding: 0;\n accent-color: var(--fill);\n}\n\n.msg:not(.group-start) > .select {\n top: 0.375rem;\n}\n\n.msg.selected {\n background: var(--tint);\n}\n\n/* In place of the composer. */\n.selection-bar {\n display: flex;\n flex-wrap: wrap;\n gap: 0.5rem;\n align-items: center;\n min-height: 4.25rem;\n padding: 0.5rem 1rem calc(0.5rem + env(safe-area-inset-bottom)) 1.5rem;\n border-top: 1px solid var(--line);\n background: var(--raised);\n}\n\n.selection-bar > span {\n flex: 1;\n font-weight: 600;\n}\n\n.selection-bar .ic:not([hidden]) {\n display: inline-flex;\n align-items: center;\n gap: 0.5rem;\n}\n\n.selection-bar .ic::before {\n width: 1rem;\n height: 1rem;\n}\n\n.selection-bar button {\n height: 2.375rem;\n}\n\n.selection-bar button:not(.primary, .danger) {\n border-color: transparent;\n background: none;\n}\n\n/* A phone: the buttons without their icons, on one line with the count. */\n@media (max-width: 400px) {\n .selection-bar {\n padding-left: 1rem;\n }\n\n .selection-bar .ic::before {\n display: none;\n }\n}\n\n/* Dialogs: a raised card over a dimmed page. */\ndialog.forward,\ndialog.access {\n width: min(30rem, calc(100% - 2rem));\n max-height: min(36rem, 85vh);\n padding: 1.25rem 1.5rem;\n border: 1px solid var(--border);\n border-radius: 1rem;\n /* Between the raised menus and the page, as the boards draw dialogs (#1d1929 in the dark). */\n background: color-mix(in srgb, var(--raised), var(--bg));\n color: var(--fg);\n box-shadow: var(--shadow);\n}\n\ndialog.forward[open] {\n display: flex;\n flex-direction: column;\n gap: 0.625rem;\n}\n\ndialog.forward::backdrop,\ndialog.access::backdrop {\n background: rgb(8 6 14 / 66%);\n}\n\n.forward-list {\n min-height: 0;\n overflow-y: auto;\n}\n\n.switcher > .search-status {\n margin: 0.5rem 1.25rem;\n}\n\n.switcher .forward-list {\n padding: 0.5rem;\n}\n\ndialog.forward.busy .forward-list {\n opacity: 0.6;\n pointer-events: none;\n}\n\n/* Jump to (\u00A732): high on the page, a big field over the list; an option chosen with the arrow keys shown as hovered. */\ndialog.switcher {\n width: min(35rem, calc(100% - 2rem));\n max-height: min(36rem, calc(100dvh - 8.75rem - 1rem));\n margin-top: 8.75rem;\n padding: 0;\n overflow: hidden;\n}\n\ndialog.switcher[open] {\n gap: 0;\n}\n\n/* The field: a search icon, then Esc. Only the list scrolls: a long one used to squeeze the field (a flex item) to a\n sliver. */\n.jump-field {\n display: flex;\n flex: none;\n gap: 0.75rem;\n align-items: center;\n height: 3.75rem;\n padding: 0 1.25rem;\n border-bottom: 1px solid var(--border);\n color: var(--muted);\n}\n\n.jump-field::before {\n width: 1.125rem;\n height: 1.125rem;\n}\n\n.jump-field input {\n flex: 1;\n min-width: 0;\n height: 100%;\n padding: 0;\n border: 0;\n background: none;\n outline: none;\n font-size: 1.0625rem;\n}\n\n.switcher kbd,\n.jump-button kbd,\n.focus-key {\n padding: 1px 0.375rem;\n border: 1px solid var(--border);\n border-radius: 0.3125rem;\n color: var(--muted);\n /* Not `font: \u2026 inherit` (invalid in the shorthand, so kbd stayed monospace). */\n font: inherit;\n font-size: 0.6875rem;\n font-weight: 600;\n line-height: 1.5;\n}\n\n/* What the keys do, under the list (not on touch screens). */\n.jump-keys {\n display: flex;\n flex: none;\n gap: 1rem;\n margin: 0;\n padding: 0.625rem 1.25rem;\n border-top: 1px solid var(--border);\n color: var(--muted);\n font-size: 0.75rem;\n}\n\n/* Touch screens: no key hints, the sidebar's Jump to row's \"Ctrl K\" too (QA BUG-266). */\n@media (hover: none) {\n .jump-keys,\n .jump-field kbd,\n .jump-button kbd {\n display: none;\n }\n}\n\n.switcher > .search-status:empty {\n display: none;\n}\n\n.switcher .person {\n gap: 0.75rem;\n height: 2.875rem;\n padding: 0 0.75rem;\n border-radius: 0.625rem;\n font-weight: 500;\n cursor: pointer;\n}\n\n.switcher .person:hover {\n background: var(--hover);\n}\n\n.switcher [aria-selected=\"true\"] {\n background: color-mix(in srgb, var(--fill) 20%, transparent);\n box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent);\n}\n\n/* A room's \"#\" or icon, a collection's icon: on a tile, as big as a person's face. */\n.switcher .tile,\n.switcher .avatar {\n width: 1.75rem;\n height: 1.75rem;\n}\n\n.switcher .tile {\n display: flex;\n flex: none;\n align-items: center;\n justify-content: center;\n border-radius: 0.5rem;\n background: var(--hover);\n color: var(--dim);\n font-weight: 700;\n}\n\n.switcher .tile::before {\n width: 0.875rem;\n height: 0.875rem;\n}\n\n.switcher small {\n margin-left: 0.25rem;\n color: var(--dim);\n font-size: 0.75rem;\n font-weight: 400;\n}\n\n/* --dim is under 4.5:1 on the picked row's tint (QA BUG-202). */\n.switcher [aria-selected=\"true\"] small {\n color: var(--muted);\n}\n\n.switcher .unread {\n font-weight: 700;\n}\n\ndialog.forward .cancel {\n align-self: flex-end;\n border-color: transparent;\n background: none;\n}\n\ndialog.forward h2 {\n margin: 0;\n font-size: 1.0625rem;\n}\n\ndialog.forward > .search-status:empty {\n display: none;\n}\n\n/* Where to forward to: a room's \"#\" on a tile as big as a person's face. */\ndialog:not(.switcher) .forward-list .person {\n gap: 0.75rem;\n height: 2.75rem;\n padding: 0 0.625rem;\n border-radius: 0.625rem;\n}\n\ndialog:not(.switcher) .forward-list .avatar,\ndialog.forward .hash {\n width: 1.875rem;\n height: 1.875rem;\n}\n\ndialog.forward .hash {\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 0.5rem;\n background: var(--hover);\n}\n\n.hash {\n flex: none;\n width: 1.5rem;\n color: var(--dim);\n font-weight: 600;\n text-align: center;\n}\n\n.not-found {\n padding: 2rem 1rem;\n text-align: center;\n}\n\n.not-found h1 {\n margin: 0 0 0.25rem;\n font-size: 1rem;\n}\n", "/* ---- Room access (\u00A723): the guest's links and the banners in place of the composer. The access dialog's styles are\n web/styles/access.css, linked by its chunk. ---- */\n\n/* The logo links home (a guest's way back from the login page); in the sidebar, the title does. */\na.brand,\n.brand-title {\n color: var(--fg);\n text-decoration: none;\n}\n\n.guest-links {\n display: flex;\n flex: none;\n gap: 0.5rem;\n margin-left: auto;\n}\n\n@media (hover: hover) {\n .guest-link:not(.primary):hover {\n background: var(--hover);\n }\n}\n\n.auth-skip {\n margin: 1rem 0 0;\n text-align: center;\n}\n\n/* In place of the composer: why you can't post here (a guest, only some may post, a closed DM, archived). */\n.guest-banner,\n.archived-banner {\n display: flex;\n gap: 0.75rem;\n align-items: center;\n min-height: 4.25rem;\n margin: 0;\n padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom)) 1.75rem;\n border-top: 1px solid var(--line);\n background: color-mix(in srgb, var(--raised), var(--bg));\n color: var(--text);\n}\n\n.guest-banner::before,\n.archived-banner::before {\n color: var(--muted);\n}\n", "/* ---- Motion ---- */\n\n@keyframes pop {\n from {\n opacity: 0;\n transform: scale(0.92) translateY(0.25rem);\n }\n}\n\n@keyframes wave {\n 0%,\n 60%,\n 100% {\n transform: rotate(0);\n }\n 20% {\n transform: rotate(18deg);\n }\n 40% {\n transform: rotate(-10deg);\n }\n}\n\n@media (prefers-reduced-motion: reduce) {\n *,\n *::before,\n *::after {\n /* biome-ignore lint/complexity/noImportantStyles: reduced motion must beat every animation above */\n animation: none !important;\n /* biome-ignore lint/complexity/noImportantStyles: reduced motion must beat every transition above */\n transition: none !important;\n }\n}\n\n/* Without the motion, the loading line (\u00A77.9) stands still across the whole width. */\n@media (prefers-reduced-motion: reduce) {\n .loadbar.on::before {\n background: var(--tint);\n }\n}\n", "/* ---- Narrow screens (\u00A77.8): the room list is a page of its own (#/), under the app bar; a room or another page fills\n the screen, with its own header and a way back. ---- */\n\n@media (max-width: 720px) {\n .sidebar {\n display: none;\n }\n\n /* The app bar has Jump to (an icon), the brand and you. */\n #app:has(.layout:not(.home)) > .app-bar,\n .side-top,\n .jump-row,\n .side-foot {\n display: none;\n }\n\n /* At / the room list is the page. */\n .layout.home .sidebar {\n display: flex;\n flex: 1;\n border: 0;\n }\n\n /* Out of sight, but its heading stays the page's h1 for a screen reader; not its text (a guest's links). */\n .layout.home .pane {\n position: absolute;\n clip-path: inset(50%);\n }\n\n .layout.home .welcome p {\n display: none;\n }\n\n .sidebar nav {\n padding: 0 0.625rem 1.5rem;\n }\n\n /* Rows of 40px (DMs and collections too), 15px names, 22px counts; a 28px face or tile. */\n .room-section li a,\n .room-section li.dm a,\n .room-section[data-section=\"collections\"] li a {\n gap: 0.75rem;\n height: 2.5rem;\n padding: 0 0.75rem;\n font-size: 0.9375rem;\n }\n\n .room-section .badge {\n min-width: 1.375rem;\n padding: 0 0.4375rem;\n font-size: 0.75rem;\n line-height: 1.375rem;\n }\n\n /* The leading icon's column as wide as the face or tile below it. */\n .room-section li a > .lead,\n .room-section[data-section=\"inbox\"] a::before {\n width: 1.75rem;\n }\n\n .room-section li.dm .avatar,\n .room-section[data-section=\"collections\"] li a::before {\n width: 1.75rem;\n height: 1.75rem;\n font-size: 0.6875rem;\n }\n\n .room-section[data-section=\"collections\"] li a::before {\n border-radius: 0.5rem;\n }\n\n .room-section[data-section=\"collections\"] li a > .ci {\n width: 0.875rem;\n height: 0.875rem;\n margin: 0 0.4375rem 0 -2.0625rem;\n }\n\n .section-head .icon-button,\n .fold,\n .room-section .section-title,\n .room-section > summary {\n height: 2.75rem;\n }\n\n .section-head {\n padding: 0.625rem 0 0;\n }\n\n .section-head .icon-button {\n width: 2.75rem;\n }\n\n /* In line with the section heads above it, which lose their side padding here (QA BUG-288). */\n .room-section[data-section=\"more\"] > summary {\n margin: 0.625rem 0 0 -0.5rem;\n }\n\n /* A room: tighter sides, a 56px frosted header with 44px buttons (no members: a back arrow instead), a 32px avatar. */\n .room-header {\n gap: 2px;\n min-height: 3.5rem;\n padding: 0 0.375rem;\n }\n\n .room-header .back {\n margin-left: 0;\n }\n\n .room-header .icon-button,\n .room-header .menu > summary {\n width: 2.75rem;\n height: 2.75rem;\n }\n\n .room-members {\n display: none;\n }\n\n .msg {\n padding-right: 1rem;\n padding-left: calc(1rem + 2rem + 0.625rem);\n }\n\n .msg > .avatar {\n left: 1rem;\n width: 2rem;\n height: 2rem;\n }\n\n .day,\n .new-line {\n margin-inline: 1rem;\n }\n\n .actions {\n right: 1rem;\n }\n\n /* The message box 8px from the screen's edges, 44px buttons. */\n .composer {\n padding: 0.375rem 0.5rem calc(0.5rem + env(safe-area-inset-bottom));\n }\n\n .composer-row {\n min-height: 3rem;\n padding: 2px 2px 2px 0.75rem;\n }\n\n .composer-buttons {\n gap: 0;\n }\n\n .composer-buttons > button,\n .composer-buttons > .menu > summary {\n width: 2.75rem;\n height: 2.75rem;\n }\n\n .composer textarea {\n min-height: 2.75rem;\n padding-block: calc((2.75rem - 1lh) / 2);\n }\n\n /* More than one line: the text takes the whole width, the buttons a row of their own under it. */\n .composer-box.multi .composer-row {\n flex-wrap: wrap;\n padding-top: 0.25rem;\n }\n\n .composer-box.multi textarea {\n flex-basis: 100%;\n padding-block: 0.375rem 0;\n }\n\n .composer-box.multi .counter {\n margin-right: auto;\n }\n\n .composer-box.multi .composer-buttons {\n margin-left: auto;\n }\n\n /* Replying: who on one line, what on the next, so neither is cut too early. */\n .replying {\n align-items: center;\n padding-block: 0.3125rem;\n padding-left: 0.75rem;\n }\n\n /* The desktop's wider inset (composer.css) is too much here: back to the text's 12px. */\n .tray {\n padding-left: 0.6875rem;\n }\n\n .tray-error {\n margin-inline: 0.6875rem;\n }\n\n .replying-label {\n flex-direction: column;\n gap: 0;\n align-items: stretch;\n line-height: 1.35;\n }\n}\n\n@media (min-width: 721px) {\n .back {\n display: none;\n }\n}\n"],
5
- "mappings": "AAGA,WACE,YAAa,MACb,WAAY,OACZ,YAAa,IAAI,IACjB,aAAc,KACd,IAAK,2CAA4C,OAAO,SACxD,cAAe,CAAC,KAAK,KAAK,CAAE,CAAC,UAAU,CAAE,CAAC,KAAK,CAAE,CAAC,UAAU,CAAE,CAAC,CAAC,SAAS,CAAE,CAAC,CAAC,SAC/E,CAEA,WACE,YAAa,MACb,WAAY,OACZ,YAAa,IAAI,IACjB,aAAc,KACd,IAAK,uCAAwC,OAAO,SACpD,cAAe,CAAC,KAAK,CAAE,CAAC,KAAK,KAAK,CAAE,CAAC,KAAK,KAAK,CAAE,CAAC,UAAU,CAAE,CAAC,KACjE,CAEA,WACE,YAAa,MACb,WAAY,OACZ,YAAa,IAAI,IACjB,aAAc,KACd,IAAK,oCAAqC,OAAO,SACjD,cAAe,CAAC,KAAK,KAAK,CAAE,CAAC,UAAU,CAAE,CAAC,KAAK,KAAK,CAAE,CAAC,KAAK,CAAE,CAAC,UAAU,CAAE,CAAC,UAC9E,CAEA,WACE,YAAa,MACb,WAAY,OACZ,YAAa,IAAI,IACjB,aAAc,KACd,IAAK,wCAAyC,OAAO,SACrD,cACE,CAAC,KAAK,KAAK,CAAE,CAAC,UAAU,CAAE,CAAC,UAAU,CAAE,CAAC,UAAU,CAAE,CAAC,UAAU,CAAE,CAAC,KAAK,CAAE,CAAC,KAAK,CAAE,CAAC,KAAK,CAAE,CAAC,UAAU,CAAE,CAAC,KAAK,KAAK,CAAE,CAAC,UAAU,CAAE,CAAC,KAAK,CAAE,CAAC,UAAU,CAAE,CAAC,UAAU,CAAE,CAAC,KAAK,CAAE,CAAC,UAAU,C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ACf,CAEA,CALC,YAKY,CALC,MAKM,SAClB,WAAY,KACZ,cAAe,QAAS,CAC1B,CAEA,CAVC,YAUY,CAVC,MAUM,CAAC,QACnB,aAAc,IAChB,CAEA,CAdC,YAcY,CAdC,MAcM,CA9BnB,iBA+BC,YAAa,IACf,CAGA,CAAC,SACC,YAAa,OACb,cAAe,SACf,aAAc,MAChB,CAGA,CAAC,KACC,aAAc,QAChB,CAEA,CAAC,WACC,cAAe,QACjB,CAEA,CAAC,eACC,eAAgB,OAChB,IAAK,EACL,YAAa,QACb,YAAa,IACf,CACF,CAEA,OAAO,UAAY,OACjB,CAvGc,KAwGZ,QAAS,IACX,CACF",
6
- "names": []
7
- }
@@ -1,2 +0,0 @@
1
- var H={title:"Chirkle",logo:"",inviteOnly:!1,passwordReset:!1};var v=class extends Error{status;response;isAbort;constructor(s,r={},o=!1){super(r.message||"Something went wrong."),this.name="PbError",this.status=s,this.response=r,this.isAbort=o}},F="pocketbase_auth";function B(t){try{let s=t.split(".")[1].replaceAll("-","+").replaceAll("_","/");return Number(JSON.parse(atob(s)).exp)||0}catch{return 0}}function Z(t){let s="",r=null,o=new Set,l=a=>{let d={};try{d=JSON.parse(a||"{}")??{}}catch{}s=d.token||"",r=d.record||null},f=(a,d)=>{s=a,r=d;for(let u of[...o])u()};return t&&(l(t.getItem(F)),addEventListener("storage",a=>{a.key===F&&(l(a.newValue),f(s,r))})),{get token(){return s},get record(){return r},get isValid(){return B(s)>Date.now()/1e3},get expiresAt(){return B(s)*1e3},save(a,d){t?.setItem(F,JSON.stringify({token:a,record:d})),f(a,d)},clear(){t?.removeItem(F),f("",null)},onChange(a){return o.add(a),()=>{o.delete(a)}}}}var Y=(t={})=>{let s=[];for(let[r,o]of Object.entries(t))o!==void 0&&s.push(`${encodeURIComponent(r)}=${encodeURIComponent(o)}`);return s.length?`?${s.join("&")}`:""},V=t=>t instanceof Blob||Array.isArray(t)&&t.some(s=>s instanceof Blob);function X(t){let s=new FormData;for(let[r,o]of Object.entries(t))if(o!==void 0)if(V(o))for(let l of[o].flat())s.append(r,l);else typeof o=="string"?s.append(r,o):s.append("@jsonPayload",JSON.stringify({[r]:o}));return s}function ee(t,s,r,o,l){return new Promise((f,a)=>{let d=new XMLHttpRequest;d.open(s,t);for(let[u,b]of Object.entries(r))d.setRequestHeader(u,b);d.upload.onprogress=u=>u.lengthComputable&&u.total&&l(u.loaded/u.total),d.onload=()=>f({status:d.status,json:async()=>JSON.parse(d.responseText)}),d.onerror=()=>a(new TypeError("Network request failed")),d.onabort=()=>a(new DOMException("Aborted","AbortError")),d.send(o)})}function fe(t,s=Z()){let r=t.replace(/\/+$/,"");async function o(d,{method:u="GET",query:b,body:m,signal:h,onUpload:e,tag:n}={}){let i={};s.token&&(i.Authorization=s.token),n?.sent&&Object.assign(i,{"If-None-Match":n.sent,"Cache-Control":"no-cache"});let g;m&&(Object.values(m).some(V)?g=X(m):(i["Content-Type"]="application/json",g=JSON.stringify(m)));let P=A=>!!h?.aborted||A?.name==="AbortError",y,x={},U=r+d+Y(b);try{y=e&&g instanceof FormData?await ee(U,u,i,g,e):await fetch(U,{method:u,headers:i,...g?{body:g}:{},...h?{signal:h}:{}});let A=y.headers?.get("ETag");if(A&&n?.got?.(A),y.status===304)return;x=await y.json().catch(C=>{if(P(C)||y.status<300&&y.status!==204)throw C;return{}})}catch(A){throw new v(0,{},P(A))}if(y.status>=400)throw new v(y.status,x??{});return x}let l=re(`${r}/api/realtime`,o),f=s.token,a=f?s.record?.id??"":"";return s.onChange(()=>{if(s.token===f)return;f=s.token;let d=f?s.record?.id??"":"";if(d===a)return l.resubmit();a=d,l.restart()}),{authStore:s,realtime:l,send:o,filter:(d,u)=>d.replace(/\{:(\w+)\}/g,(b,m)=>{if(!Object.hasOwn(u,m))return b;let h=u[m];return typeof h=="string"?JSON.stringify(h):String(h)}),fileUrl:(d,u,b,m)=>`${r}/api/files/${[d,u,b].map(encodeURIComponent).join("/")}${Y(m)}`}}var G=[200,300,500,1e3,1200,1500,2e3],te=15e3;function re(t,s){let r=null,o="",l=new Map,f=[],a=0,d=!1,u,b,m=[],h=null,e=Promise.resolve(),n=()=>[...l.keys()],i=()=>{let p=n();return p.length!==f.length||p.some(w=>!f.includes(w))},g=new Set,P=p=>{let w=r;!w||g.has(p)||p==="PB_CONNECT"||(g.add(p),w.addEventListener(p,_=>{if(r===w)for(let R of l.get(p)??[])R(_)}))};async function y(){if(o){if(!l.size)return O();if(i()){f=n(),h=new AbortController;try{await s("/api/realtime",{method:"POST",body:{clientId:o,subscriptions:f},signal:h.signal})}catch(p){if(!(p instanceof v&&p.isAbort))throw p}}}}function x(){let p=e.then(y);return e=p.catch(()=>{}),p}function U(){return a>0?Promise.resolve():new Promise((p,w)=>{m.push({resolve:p,reject:w}),m.length===1&&queueMicrotask(A)})}function A(){O(!0),u=setTimeout(()=>C(new Error("EventSource connect took too long.")),te);let p=new EventSource(t);r=p,g=new Set;for(let _ of l.keys())P(_);let w=()=>r===p;p.onerror=()=>w()&&C(new Error("Failed to establish realtime connection.")),p.addEventListener("PB_CONNECT",_=>{w()&&(o=_.lastEventId,f=[],x().then(async()=>{for(let R=3;w()&&i()&&R>0;R--)await x();if(w()){for(let R of m)R.resolve();m=[],a=0,clearTimeout(b),clearTimeout(u);for(let R of l.get("PB_CONNECT")??[])R(_);d=!1,i()&&await x()}}).catch(R=>{w()&&(o="",f=[],C(R))}))})}function C(p){if(clearTimeout(u),clearTimeout(b),d=!0,!o&&!a){for(let w of m)w.reject(p instanceof v?p:new v(0));if(m=[],!l.size)return O()}O(!0),b=setTimeout(A,G[Math.min(a,G.length-1)]),a++}function O(p=!1){if(clearTimeout(u),clearTimeout(b),h?.abort(),h=null,r?.close(),r=null,o="",f=[],!p){a=0;for(let w of m)w.resolve();m=[]}}return{get isConnected(){return!!r&&!!o&&!m.length},get recovered(){return d},async subscribe(p,w,_){let R=_?`${p}?options=${encodeURIComponent(JSON.stringify({query:_}))}`:p,j=N=>{let D;try{D=JSON.parse(N.data)}catch{}w(D||{})},Q=l.get(R)??[];return l.set(R,[...Q,j]),P(R),!r||!o||m.length?await U():Q.length||await x(),async()=>{let N=(l.get(R)??[]).filter(D=>D!==j);N.length?l.set(R,N):l.delete(R),await x()}},async unsubscribe(){l.clear(),await x()},resubmit(){if(!o||!l.size)return;f=[];let p=r;x().catch(()=>r===p&&C(new v(0)))},restart(){!r&&!m.length||(O(),l.size&&U().catch(()=>{}))}}}function he(t){return{room:t,kind:"latest",args:{}}}function ye(t){return{room:t,kind:"first",args:{}}}function we(t,s){return{room:t,kind:"older",args:{created:s.created,id:s.id}}}function Pe(t,s){return{room:t,kind:"newer",args:{created:s.created,id:s.id}}}function xe(t,s,r,o){return{room:t,kind:"changed",args:{since:s,from:r.created,to:o.created}}}var Re=t=>({...t,files:!0});var S=class extends Error{status;fields;codes;constructor(s,r,o={},l={}){super(s),this.name="ApiError",this.status=r,this.fields=o,this.codes=l}},se="signup_login_failed";function oe(t){return t instanceof S?t.status===0?"Can't reach the server. Check your connection.":t.status===429?"Too many attempts. Wait a few seconds and try again.":t.message:"Something went wrong. Please try again."}var Ce=t=>t instanceof S&&Object.values(t.fields)[0]||oe(t),ie="id,room,text,created,updated,edited_at,deleted,files,file_names,file_sources,file_dims,reactions,previews,author,expand.author.id,expand.author.name,expand.author.avatar,expand.author.no_dms,expand.author.instance,expand.author.kind,reply_to,expand.reply_to.id,expand.reply_to.author,expand.reply_to.text,expand.reply_to.deleted,expand.reply_to.files,expand.reply_to.expand.author.id,expand.reply_to.expand.author.name,expand.reply_to.expand.author.avatar,forwarded_from,forward_of,expand.forwarded_from.id,expand.forwarded_from.name,mentions",E={expand:"author,reply_to.author,forwarded_from",fields:ie},ae="chat/messages",de="id,name,archived,created_by,kind,visibility,members,posting,writers,last_message_at,created,shared,expand.members.id,expand.members.name,expand.members.avatar,expand.members.no_dms,expand.members.instance,expand.writers.id,expand.writers.name,expand.writers.avatar,expand.writers.no_dms,expand.writers.instance",k={expand:"members,writers",fields:de},L="id,room",ce="id,title,logo,invite_only,password_reset";function J(t){if(t instanceof S)return t;if(t instanceof v){let s=t.response.data??{},r=o=>Object.fromEntries(Object.entries(s).filter(([,l])=>l&&typeof l[o]=="string").map(([l,f])=>[l,f[o]]));return new S(t.message,t.status,r("message"),r("code"))}return new S(t instanceof Error?t.message:String(t),0)}async function c(t){try{return await t}catch(s){throw J(s)}}var T=t=>({id:t.id,name:t.name,avatar:t.avatar??"",...t.no_dms?{no_dms:!0}:{},...t.instance?{instance:t.instance}:{},...t.moderator?{moderator:!0}:{},...t.handle?{handle:t.handle}:{}}),I="id,name,avatar,instance,handle";function W(t,s=50,r=1){return{kind:t.kind,...t.args,...t.files?{files:"1"}:{},...t.q?{q:t.q}:{},limit:s,...r>1?{page:r}:{},...E}}function M(t,s){let r=`/api/collections/${s}`,o=a=>`${r}/records/${encodeURIComponent(a)}`,l=(a,d,u,b)=>t.send(`${r}/records`,{query:{page:a,perPage:d,...u},signal:b}),f=async a=>{let{token:d,record:u}=await a;return t.authStore.save(d,u),u};return{list:l,async fullList(a,d,u=1e3){let b=[];for(let m=1;;m++){let{items:h}=await l(m,u,{skipTotal:!0,...a},d);if(b.push(...h),h.length<u)return b}},get:(a,d,u)=>t.send(o(a),{query:d,signal:u}),create:(a,d,u)=>t.send(`${r}/records`,{method:"POST",body:a,query:d,onUpload:u}),async update(a,d,u){let b=await t.send(o(a),{method:"PATCH",body:d,query:u}),m=t.authStore.record;return m?.id===b.id&&m.collectionName===s&&t.authStore.save(t.authStore.token,{...m,...b}),b},delete:a=>t.send(o(a),{method:"DELETE"}),authWithPassword:(a,d)=>f(t.send(`${r}/auth-with-password`,{method:"POST",body:{identity:a,password:d}})),authRefresh:async()=>{let a=t.authStore.token,{token:d,record:u}=await t.send(`${r}/auth-refresh`,{method:"POST"});return t.authStore.token===a&&t.authStore.save(d,u),u},action:(a,d)=>t.send(`${r}/${a}`,{method:"POST",body:d}),authAt:(a,d)=>f(t.send(a,{method:"POST",body:d}))}}var le=new Set([400,401,403,404]);function ke(t){let s=new Set,r={authStore:t.authStore,realtime:t.realtime,filter:t.filter,fileUrl:t.fileUrl,async send(e,n={}){let i=t.authStore.token;try{return await t.send(e,n)}catch(g){if(g instanceof v&&((n.method??"GET")!=="GET"||g.status===401)&&!e.includes("/auth-")&&le.has(g.status)&&i&&i===t.authStore.token)for(let y of[...s])y();throw g}}},o=M(r,"users"),l=M(r,"rooms"),f=M(r,"hidden_rooms"),a=M(r,"messages"),d=M(r,"site"),u=(e,n,i)=>c(r.realtime.subscribe(`${e}/*`,g=>{let{action:P,record:y}=g;n(P,y)},i)),b=e=>c(r.realtime.subscribe(ae,n=>{let{action:i,record:g}=n;e(i,g)})),m=()=>{let e=h.currentUser();if(!e)throw new S("Not logged in.",401);return e.id},h={currentUser(){let e=r.authStore.record;return r.authStore.isValid&&e?.collectionName==="users"?T(e):null},async signUp({email:e,password:n,name:i,inviteCode:g}){let P=g?{invite_code:g}:{};await c(o.create({email:e,password:n,passwordConfirm:n,name:i,...P}));try{return await h.logIn(e,n)}catch(y){let x=J(y);throw new S(x.message,x.status,{},{auth:se})}},async logIn(e,n){return T(await c(o.authWithPassword(e,n)))},async requestPasswordReset(e){await c(o.action("request-password-reset",{email:e.trim().toLowerCase()}))},async confirmPasswordReset(e,n){await c(o.action("confirm-password-reset",{token:e,password:n,passwordConfirm:n}))},async refreshAuth(){if(!h.currentUser())throw new S("Not logged in.",401);return T(await c(o.authRefresh()))},sessionExpiry:()=>r.authStore.expiresAt,logOut(){r.authStore.clear()},forgetExpired(){let e=r.authStore.record;return!e||r.authStore.isValid?"":(r.authStore.clear(),e.id)},onAuthChange(e){return r.authStore.onChange(()=>e())},onRejected(e){return s.add(e),()=>{s.delete(e)}},async site(e){let{items:n}=await c(d.list(1,1,{sort:"created",skipTotal:!0,fields:ce},e)),i=n[0];return i?{title:i.title||H.title,logo:i.logo?r.fileUrl("site",i.id,i.logo):"",inviteOnly:i.invite_only===!0,passwordReset:i.password_reset===!0}:H},setAvatar:async e=>T(await c(o.update(m(),{avatar:e},{fields:I}))),removeAvatar:async()=>T(await c(o.update(m(),{avatar:null},{fields:I}))),rename:async e=>T(await c(o.update(m(),{name:e},{fields:I}))),setHandle:async e=>T(await c(o.update(m(),{handle:e},{fields:I}))),async changePassword(e,n){return m(),T(await c(o.authAt("/api/chat/password",{oldPassword:e,password:n})))},account:()=>import("./account-api-J6A6IYVX.js").then(e=>e.createAccountApi(r,c)),invites:()=>import("./invite-api-7G7XPXQW.js").then(e=>e.createInviteApi(r,c)),avatarUrl(e,n){return e.avatar?r.fileUrl("users",e.id,e.avatar,{thumb:`${n}x${n}`}):""},listRooms:e=>c(r.send("/api/chat/rooms",{query:k,signal:e})),getRoom:(e,n)=>c(l.get(e,k,n)),createRoom:async(e,n)=>c(l.create({name:e,created_by:m(),...n?{visibility:n}:{}},k)),setArchived:(e,n)=>c(l.update(e,{archived:n},k)),setAccess:(e,n,i,g,P=[])=>c(l.update(e,{visibility:n,members:n==="private"?[...i]:[],...g?{posting:g,writers:g==="selected"?[...P]:[]}:{}},k)),openDm:e=>c(r.send("/api/chat/dms",{method:"POST",body:{user:e}})),async searchUsers(e,n){return m(),(await c(r.send("/api/chat/users",{query:{q:e},signal:n}))).map(T)},remoteUser:async(e,n)=>T(await c(r.send("/api/chat/remote-users",{method:"POST",body:{address:e,...n?{room:n}:{}}}))),async usersById(e,n){let i=e.slice(0,50);if(!i.length)return[];let g=Object.fromEntries(i.map((y,x)=>[`u${x}`,y])),P={filter:r.filter(i.map((y,x)=>`id = {:u${x}}`).join(" || "),g),fields:I,skipTotal:!0};return(await c(o.list(1,i.length,P,n))).items.map(T)},listHidden:e=>c(f.fullList({fields:L},e)),hideRoom:async e=>c(f.create({user:m(),room:e},{fields:L})),unhideRoom:async e=>{await c(f.delete(e))},unreadCounts:e=>c(r.send("/api/chat/unread",{signal:e})),firstUnread:(e,n)=>c(r.send(`/api/chat/unread/${e}`,{signal:n})),markRead:async(e,n)=>{await c(r.send("/api/chat/reads",{method:"POST",body:{room:e,at:n}}))},page:async(e,n,i)=>{let g=`/api/chat/rooms/${encodeURIComponent(e.room)}/messages`,P=i&&{sent:i.items.length?i.tag:void 0,got:i.got};return await c(r.send(g,{query:W(e),signal:n,tag:P}))??[...i?.items??[]]},getMessage:(e,n)=>c(a.get(e,E,n)),async changes(e,n){let i=[];for(let g=1;;g++){let P=`/api/chat/rooms/${encodeURIComponent(e.room)}/messages`,y=await c(r.send(P,{query:W(e,200,g),signal:n}));if(i.push(...y),y.length<200)return i}},send:async(e,n)=>c(a.create({id:e.id,room:e.room,author:m(),text:e.text,...e.files?.length?{files:e.files}:{},...e.replyTo?{reply_to:e.replyTo}:{},...e.items?.length?{items:e.items}:{}},E,e.files?.length?n:void 0)),edit:(e,n)=>c(a.update(e,{text:n},E)),softDelete:e=>c(a.update(e,{deleted:!0},E)),react:(e,n,i)=>c(r.send("/api/chat/reactions",{method:"POST",body:{message:e,emoji:n,on:i},query:E})),deleteMany:e=>c(r.send("/api/chat/delete",{method:"POST",body:{messages:e},query:E})),isBanned:async(e,n)=>!!(await c(o.get(e,{fields:"id,banned"},n))).banned,setBanned:async(e,n)=>{await c(r.send("/api/chat/ban",{method:"POST",body:{user:e,banned:n}}))},forward:(e,n)=>c(r.send("/api/chat/forward",{method:"POST",body:{messages:e,room:n},query:E})),fileUrl:(e,n,i)=>r.fileUrl("messages",e.forward_of||e.id,n,{thumb:i}),posterUrl:(e,n)=>h.fileUrl(e,n).replace("/api/files/messages/","/api/chat/posters/"),collections:e=>c(r.send("/api/chat/collections",{signal:e})),markSeen:async(e,n)=>{await c(r.send("/api/chat/subs/seen",{method:"POST",body:{collection:e,...n?{at:n}:{}}}))},badges:(e,n)=>c(r.send("/api/chat/badges",{query:{ids:e.join(",")},signal:n})),itemUrl:(e,n)=>r.fileUrl("collection_items",e.id,e.file,{thumb:n}),itemPosterUrl:e=>h.itemUrl(e).replace("/api/files/collection_items/","/api/chat/posters/items/"),async subscribeCollections(e,n){let i=await Promise.all([u("collections",n,{fields:"id",filter:r.filter("owner = {:me}",{me:m()})}),u("collection_subs",n,{fields:"id"}),...e.map(g=>c(r.realtime.subscribe(`collections/${g}`,n,{fields:"id"})))]);return async()=>{await Promise.all(i.map(g=>g()))}},subscribeBadges:e=>c(r.realtime.subscribe("chat/badges",n=>e(n.id))),request:(e,n)=>c(r.send(e,n)),media:(e,n,i)=>c(r.send(`/api/chat/media/${e}`,{query:n,signal:i})),subscribeMessages:(e,n)=>b((i,g)=>g.room===e&&n(i,g)),subscribeRooms:e=>u("rooms",e,k),subscribeHidden:e=>u("hidden_rooms",e,{fields:L}),subscribeAllMessages:e=>b((n,i)=>e(n,{id:i.id,room:i.room,author:i.author,deleted:i.deleted,reply_to:i.reply_to??"",mentions:i.mentions??[]})),subscribeInbox:e=>c(r.realtime.subscribe("chat/inbox",n=>e(n))),subscribeReads:e=>u("room_reads",e,{fields:L}),onConnect(e){let n=r.realtime.isConnected,i=r.realtime.subscribe("PB_CONNECT",()=>{e(n||r.realtime.recovered),n=!0});return i.catch(()=>{}),()=>{i.then(g=>g()).catch(()=>{})}},unsubscribeAll:()=>c(r.realtime.unsubscribe())};return h}function Me(t){return t?Date.parse(t.replace(" ","T")):NaN}function Ne(t){return new Date(t).toISOString().replace("T"," ")}function $(t,s){let r=new Date(t),o=new Date(s);return r.getFullYear()===o.getFullYear()&&r.getMonth()===o.getMonth()&&r.getDate()===o.getDate()}var K=(t,s)=>new Date(t).getFullYear()===new Date(s).getFullYear(),ue={time:{hour:"numeric",minute:"2-digit"},dateTime:{month:"short",day:"numeric",hour:"numeric",minute:"2-digit"},dateTimeYear:{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"2-digit"},day:{weekday:"long",month:"long",day:"numeric"},dayYear:{weekday:"long",year:"numeric",month:"long",day:"numeric"},full:{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"}},z=new Map;function q(t,s,r){let o=`${s??""}|${t}`,l=z.get(o);return l||(l=new Intl.DateTimeFormat(s,ue[t]),z.set(o,l)),l.format(r)}function De(t,s=Date.now(),r){return $(t,s)?q("time",r,t):q(K(t,s)?"dateTime":"dateTimeYear",r,t)}function Fe(t,s=Date.now(),r){if($(t,s))return"Today";let o=new Date(s);return o.setDate(o.getDate()-1),$(t,o.getTime())?"Yesterday":q(K(t,s)?"day":"dayYear",r,t)}function Le(t,s){return q("full",s,t)}export{he as a,ye as b,we as c,Pe as d,xe as e,Re as f,H as g,Z as h,fe as i,S as j,se as k,oe as l,Ce as m,ke as n,Me as o,Ne as p,De as q,Fe as r,Le as s};
2
- //# sourceMappingURL=chunk-5PKDEWJS.js.map