chirkle 0.4.0 → 0.4.1

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 (80) hide show
  1. package/README.md +32 -24
  2. package/bin/release/darwin-amd64/chirkle-server +2 -2
  3. package/bin/release/darwin-arm64/chirkle-server +0 -0
  4. package/bin/release/linux-amd64/chirkle-server +0 -0
  5. package/bin/release/linux-arm64/chirkle-server +0 -0
  6. package/package.json +2 -1
  7. package/pb_hooks/lib/account.js +541 -6
  8. package/pb_hooks/lib/collections.js +4 -4
  9. package/pb_hooks/lib/dms.js +1 -1
  10. package/pb_hooks/lib/inbox.js +1 -1
  11. package/pb_hooks/lib/invites.js +266 -0
  12. package/pb_hooks/lib/messages.js +11 -2
  13. package/pb_hooks/lib/moderation.js +1 -1
  14. package/pb_hooks/lib/retention.js +3 -0
  15. package/pb_hooks/lib/site.js +1 -1
  16. package/pb_hooks/lib/users.js +38 -10
  17. package/pb_hooks/main.pb.js +26 -1
  18. package/pb_hooks/telegram/api.js +64 -12
  19. package/pb_hooks/telegram/inbound.js +106 -15
  20. package/pb_hooks/telegram/outbound.js +63 -37
  21. package/pb_hooks/telegram/worker.js +59 -15
  22. package/pb_migrations/1760000052_deleted_accounts.js +19 -0
  23. package/pb_migrations/1760000053_account_jobs.js +45 -0
  24. package/pb_migrations/1760000054_room_invites.js +39 -0
  25. package/pb_migrations/1760000055_invite_barred.js +16 -0
  26. package/pb_migrations/1760000056_telegram_fetch.js +21 -0
  27. package/pb_public/assets/{access-PB77EH4F.css → access-GPRLOZOO.css} +2 -2
  28. package/pb_public/assets/{access-PB77EH4F.css.map → access-GPRLOZOO.css.map} +2 -2
  29. package/pb_public/assets/access-UK3L54NR.js +2 -0
  30. package/pb_public/assets/access-UK3L54NR.js.map +7 -0
  31. package/pb_public/assets/account-CT2BVMAX.css +2 -0
  32. package/pb_public/assets/account-CT2BVMAX.css.map +7 -0
  33. package/pb_public/assets/account-api-J6A6IYVX.js +2 -0
  34. package/pb_public/assets/account-api-J6A6IYVX.js.map +7 -0
  35. package/pb_public/assets/app-HB3NZHQ2.js +3 -0
  36. package/pb_public/assets/app-HB3NZHQ2.js.map +7 -0
  37. package/pb_public/assets/app-XJ73EU5O.css +2 -0
  38. package/pb_public/assets/app-XJ73EU5O.css.map +7 -0
  39. package/pb_public/assets/chunk-AG73QNUN.js +2 -0
  40. package/pb_public/assets/chunk-AG73QNUN.js.map +7 -0
  41. package/pb_public/assets/chunk-DCLJRQ53.js +2 -0
  42. package/pb_public/assets/chunk-DCLJRQ53.js.map +7 -0
  43. package/pb_public/assets/chunk-N2OFGBCZ.js +2 -0
  44. package/pb_public/assets/{chunk-PWNJABVI.js.map → chunk-N2OFGBCZ.js.map} +4 -4
  45. package/pb_public/assets/chunk-OKIIBH7O.js +2 -0
  46. package/pb_public/assets/chunk-OKIIBH7O.js.map +7 -0
  47. package/pb_public/assets/chunk-UZDXAORM.js +2 -0
  48. package/pb_public/assets/chunk-UZDXAORM.js.map +7 -0
  49. package/pb_public/assets/chunk-WR25F7FU.js +2 -0
  50. package/pb_public/assets/chunk-WR25F7FU.js.map +7 -0
  51. package/pb_public/assets/invite-OGT5E2MZ.js +2 -0
  52. package/pb_public/assets/invite-OGT5E2MZ.js.map +7 -0
  53. package/pb_public/assets/invite-api-7G7XPXQW.js +2 -0
  54. package/pb_public/assets/invite-api-7G7XPXQW.js.map +7 -0
  55. package/pb_public/assets/login-TK6K4WGB.js +2 -0
  56. package/pb_public/assets/{login-ECFBJP6Q.js.map → login-TK6K4WGB.js.map} +1 -1
  57. package/pb_public/assets/profile-3R6S5QYS.js +2 -0
  58. package/pb_public/assets/profile-3R6S5QYS.js.map +7 -0
  59. package/pb_public/assets/stats-GTO2H6PG.js +2 -0
  60. package/pb_public/assets/stats-GTO2H6PG.js.map +7 -0
  61. package/pb_public/index.html +7 -5
  62. package/pb_public/stats.html +1 -1
  63. package/scripts/service.mjs +201 -0
  64. package/scripts/start.mjs +7 -1
  65. package/pb_public/assets/access-LHPD2EHG.js +0 -2
  66. package/pb_public/assets/access-LHPD2EHG.js.map +0 -7
  67. package/pb_public/assets/app-6ETOTHXQ.js +0 -3
  68. package/pb_public/assets/app-6ETOTHXQ.js.map +0 -7
  69. package/pb_public/assets/app-ZGHECF33.css +0 -2
  70. package/pb_public/assets/app-ZGHECF33.css.map +0 -7
  71. package/pb_public/assets/chunk-GXMWOXBX.js +0 -2
  72. package/pb_public/assets/chunk-GXMWOXBX.js.map +0 -7
  73. package/pb_public/assets/chunk-IFQGGTSP.js +0 -2
  74. package/pb_public/assets/chunk-IFQGGTSP.js.map +0 -7
  75. package/pb_public/assets/chunk-PWNJABVI.js +0 -2
  76. package/pb_public/assets/login-ECFBJP6Q.js +0 -2
  77. package/pb_public/assets/profile-NQQLAEDT.js +0 -2
  78. package/pb_public/assets/profile-NQQLAEDT.js.map +0 -7
  79. package/pb_public/assets/stats-ARDU576A.js +0 -2
  80. package/pb_public/assets/stats-ARDU576A.js.map +0 -7
@@ -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: #fbfaff;--surface: #f1eefc;--raised: #fff;--fg: #1d1530;--text: #1d1530;--muted: #5e5874;--dim: #645e7c;--border: #e3ddf5;--line: #e3ddf5;--hover: #e9e4fb;--accent: #5b3df5;--fill: #5b3df5;--on-fill: #fff;--accent-2: #c42a7c;--grad: linear-gradient(135deg, #6a4bff, #c42a7c);--tint: color-mix(in srgb, var(--accent) 14%, transparent);--danger: #c41d36;--new: #b0175f;--highlight: #fff1b8;--shadow: 0 6px 24px rgb(60 30 140 / 14%);--radius: 10px;--pill: 999px;--ease: cubic-bezier(.34, 1.56, .64, 1);font:16px/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: #a58bff;--fill: #a58bff;--on-fill: #16181a;--danger: #ff7a8f;--new: #f9a8d4;--highlight: #3d3314;--shadow: 0 12px 32px rgb(0 0 0 / 45%)}}: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: #a58bff;--fill: #a58bff;--on-fill: #16181a;--danger: #ff7a8f;--new: #f9a8d4;--highlight: #3d3314;--shadow: 0 12px 32px rgb(0 0 0 / 45%)}*,*: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],.composer button[type=submit],.new-room 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),.composer button[type=submit]:hover:not(:disabled),.new-room 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:18px;height:18px;background:currentcolor;mask:var(--i) center / contain no-repeat}.icon-button{display:inline-flex;flex:none;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:0;border-radius:8px;background:none;color:var(--muted)}input:focus-visible,textarea:focus-visible{outline:3px 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-gear{--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='3'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1.1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1.1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9a1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1Z'/%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='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-6-8.5M8 14s1.5 2 4 2 4-2 4-2M9 9h.01M15 9h.01M19 2v6M16 5h6'/%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")}html,body,#app{height:100%}html{touch-action:manipulation}#app{display:flex;flex-direction:column;height:100dvh}.app-bar{display:flex;gap:.75rem;align-items:center;min-height:60px;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:30px;height:30px;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}.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:6px}.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:44px;height:44px}.update-bar{padding:6px 16px;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 280px;flex-direction:column;min-width:0;min-height:0;border-right:1px solid var(--line);background:var(--surface)}.sidebar .rooms{display:flex;flex:1;flex-direction:column;min-height:0;max-width:none;margin:0;padding:0}.sidebar nav{flex:1;padding:0 12px 12px;overflow-y:auto}.side-top{display:flex;flex-direction:column;padding:14px 14px 12px}.side-top .brand{height:44px;padding:0 8px;color:var(--fg)}.jump-button{display:flex;flex:1;gap:10px;align-items:center;min-width:0;height:34px;padding:0 8px 0 10px;border:0;border-radius:8px;background:none;color:var(--muted);font-weight:500;text-align:left}.jump-button:before{width:16px;height:16px}.jump-button span{flex:1}.jump-button kbd{transition:color .15s}.jump-row:hover kbd{color:var(--text)}.jump-button:active:not(:disabled){transform:none}.side-foot{display:flex;flex:none;flex-wrap:wrap;gap:4px;align-items:center;min-height:68px;padding:8px 12px 8px 10px;border-top:1px solid var(--line)}.side-foot .me-link{gap:10px;height:48px;padding:0 8px}.side-foot .avatar{width:34px;height:34px}.side-foot .icon-button:before{width:17px;height:17px}.side-foot p{flex-basis:100%;margin:4px 4px 6px;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:40px;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)}.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:24px;height:24px;font-size:.6rem}.avatar.s32{width:32px;height:32px;font-size:.75rem}.msg>.avatar.s32{width:36px;height:36px}.avatar.s96{width:96px;height:96px;font-size:2rem;box-shadow:0 0 0 4px var(--bg),0 0 0 7px 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:20px;max-width:736px;padding:28px 28px 48px}.card,.profile-notify{display:flex;flex-direction:column;gap:14px;margin:0;padding:18px 20px 20px;border:1px solid var(--line);border-radius:16px;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:16px;align-items:center}.profile-avatar h2{margin-bottom:8px}.profile-picture.busy{opacity:.6}.profile-avatar-actions{display:flex;flex-wrap:wrap;gap:8px}.profile-avatar-actions>.button,.profile-avatar-actions>button{display:inline-flex;align-items:center;height:34px;padding:0 14px;border-color:transparent;border-radius:9px;font-size:.8125rem}label.button{background:var(--hover)}.profile-avatar-actions button{padding:0 12px;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:16px;row-gap:3px}.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:18px}.segmented{display:inline-flex;gap:2px;padding:3px;border-radius:10px;background:var(--surface)}.profile-theme .segmented{grid-column:2;grid-row:1 / span 2}.segmented label{position:relative;padding:0 14px;border-radius:8px;color:var(--muted);font-size:.8125rem;font-weight:600;line-height:32px;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:12px}.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:6px;color:var(--muted);font-size:.8125rem;font-weight:600}.profile-name .row{display:flex;gap:8px}.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:3px 0 0}.profile-notify{gap:0;padding-bottom:0}.profile-notify legend{order:-2;margin-bottom:3px}.profile-notify>.field-status{order:-1;margin:0 0 10px}.profile-notify>.field-status:empty{margin:0}.profile-avatar .avatar{width:72px;height:72px;font-size:1.5rem;box-shadow:0 0 0 3px var(--bg),0 0 0 5px var(--accent)}.notify-choice{display:flex;flex-direction:row-reverse;justify-content:space-between;align-items:center;min-height:52px;margin:0 -20px;padding:0 20px;border-top:1px solid var(--line);cursor:pointer}.notify-choice input,input.switch{appearance:none;flex:none;width:36px;height:22px;margin:0;padding:0;border:0;border-radius:11px;background:radial-gradient(circle 9px at 11px 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:14px 0}@media(max-width:720px){.profile-body{padding:20px 16px 40px}.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:10px}}.app-main:has(>.auth){display:flex;background:var(--page, var(--bg))}.auth{display:flex;flex-direction:column;gap:24px;width:100%;max-width:420px;margin:auto;padding:2rem 1rem}.auth h1{display:flex;flex-direction:column;gap:14px;align-items:center;font-size:1.625rem;text-align:center}.auth h1:not(.has-logo):before{content:"";width:56px;height:56px;background:url(/icons/icon.svg) center / contain no-repeat}.auth .brand-by{margin:-18px 0 0;text-align:center}.auth h1 .brand-logo{display:block;height:4rem;max-width:12rem}.auth-card{display:flex;flex-direction:column;gap:18px;padding:24px;border:1px solid var(--border);border-radius:16px;background:var(--raised);animation:pop .4s var(--ease)}.tabs{display:grid;grid-template-columns:1fr 1fr;gap:2px;padding:3px;border-radius:10px;background:var(--surface)}[role=tab]{height:36px;border:0;border-radius:8px;background:none;color:var(--muted)}[role=tab][aria-selected=true]{background:var(--hover);color:var(--fg)}.field{margin-bottom:14px}.field input{height:42px}.auth-forgot{display:block;margin:-6px 0 10px auto}.auth-card h2{margin:0;font-size:1.125rem}.auth-hint{margin:0 0 14px;color:var(--muted)}.auth-back{align-self:center}.auth-form button[type=submit]{width:100%;height:44px;margin-top:4px;font-size:.9375rem}.rooms{max-width:40rem;margin:0 auto;padding:1rem}.section-head{display:flex;align-items:center;justify-content:space-between;padding:16px 6px 6px 4px}.room-section h2{font-size:inherit}.fold,.room-section>summary{display:flex;gap:6px;align-items:center;height:28px;padding:0 8px 0 4px;border:0;border-radius:6px;background:none;color:var(--dim);font-size:.75rem;font-weight:600;letter-spacing:0;list-style:none;cursor:pointer}.room-section .section-title{display:flex;align-items:center;height:28px;padding:0 8px;color:var(--dim);font-size:.75rem;font-weight:600}.room-section>summary::-webkit-details-marker{display:none}.fold:before,.room-section>summary:before{width:12px;height:12px;transition:transform .15s}.fold[aria-expanded=false]:before,.room-section:not([open])>summary:before{transform:rotate(-90deg)}.section-head .icon-button{width:26px;height:26px;color:var(--dim)}.section-head .icon-button:before{width:15px;height:15px}.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:2px 0;border-radius:8px}@media(hover:hover){.room-section li:hover{background:var(--hover)}}.room-section li a{display:flex;flex:1;gap:10px;align-items:center;min-width:0;height:34px;padding:0 10px;color:var(--muted);font-weight:500;text-decoration:none}.room-section li a:before{content:"#";width:16px;color:var(--dim);font-weight:600;text-align:center}.more-body li a{height:32px;color:var(--dim)}.room-section li.dm a,.room-section[data-section=collections] li a{height:36px}.room-section li.dm a:before{content:none}.room-section li.dm .avatar{width:22px;height:22px;font-size:10px}.room-section li a>span:not(.avatar,.badge,.vis,.owner,.ci,.n){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-section li a.unread,.room-section li a[aria-current=page]{color:var(--fg);font-weight:600}.room-section li a[aria-current=page]:before{color:var(--accent)}.room-section li:has(a[aria-current=page]){background:var(--tint)}.room-section li a>.vis{color:var(--dim)}.room-section li a>.vis:before{width:14px;height:14px}.badge{flex:none;min-width:20px;margin-left:auto;padding:0 6px;border-radius:10px;background:var(--fill);color:var(--on-fill);font-size:.6875rem;font-weight:700;line-height:20px;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:4px;height:26px;padding:0 9px;border:0;border-radius:6px;background:var(--hover);font-size:.75rem}.room-section[data-section=more]>summary{justify-content:flex-start;margin:18px 6px 0 4px}.room-section[data-section=more] .count{margin-left:auto}.more-body{margin:2px 0 4px;padding:2px 0 6px;border-radius:10px;background:var(--hover)}.more-part h3{display:flex;gap:8px;align-items:center;margin:0;padding:8px 10px 4px;color:var(--dim);font-size:.6875rem;font-weight:600}.more-part h3:before{width:13px;height:13px}.empty{color:var(--muted)}.more-body .empty{margin:0;padding:8px 10px}.new-room{display:flex;flex-direction:column;gap:8px;margin:2px 2px 8px;padding:10px;border:1px solid var(--border);border-radius:12px;background:var(--raised);animation:pop .25s var(--ease)}.name-field{display:flex;gap:6px;align-items:center;height:36px;padding:0 10px;border:1px solid var(--accent);border-radius:8px;background:var(--surface);color:var(--dim);font-weight:600}.name-field input{padding:0;border:0;background:none;outline:none;color:var(--fg);font-weight:400}.seg{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;margin:0;padding:2px;border:0;border-radius:8px;background:var(--surface)}.seg label{display:flex;gap:5px;align-items:center;justify-content:center;height:30px;border-radius:6px;color:var(--muted);font-size:.75rem;font-weight:600;cursor:pointer}.seg label:before{width:12px;height:12px}.seg label:has(:checked){background:var(--hover);color:var(--fg)}.seg label:has(:focus-visible){outline:2px solid var(--accent)}.new-room .hint{margin:0 2px;color:var(--muted);font-size:.75rem}.form-buttons{display:flex;gap:6px;justify-content:flex-end}.form-buttons button{height:32px;padding:0 12px;font-size:.8125rem}.form-buttons .cancel{border-color:transparent;background:none}.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:36px;height:36px;border-radius:8px;color:var(--muted)}.room-section .menu>summary.i-dots{width:26px;height:26px;border-radius:6px}.menu>summary:hover,.menu[open]>summary{background:var(--hover);color:var(--fg)}.menu-items{position:absolute;top:calc(100% + 4px);right:0;z-index:10;display:flex;flex-direction:column;gap:2px;min-width:17.5rem;max-width:20rem;padding:6px;border:1px solid var(--border);border-radius:12px;background:var(--raised);box-shadow:var(--shadow);animation:pop .2s var(--ease);transform-origin:top right}.menu-items button{display:flex;gap:12px;align-items:center;min-height:38px;padding:0 10px;border:0;border-radius:8px;background:none;font-weight:400;text-align:left}.menu-items button:hover{background:var(--hover)}.menu-items button:before{width:16px;height:16px;color:var(--muted)}.menu-items .tile:before{width:16px;height:16px;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:6px 10px}.attach+.menu-items .tile{--hue: #a78bfa;display:flex;flex:none;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px;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:8px 10px;font-weight:600}.attach+.menu-items small{margin-top:2px;font-size:.75rem;font-weight:400}.menu-items .sep{margin-top:11px;box-shadow:0 -7px 0 -6px var(--border)}.menu-items [aria-checked]{justify-content:flex-start}.menu-items [aria-checked]:after{content:"";width:36px;height:22px;margin-left:auto;border-radius:11px;background:radial-gradient(circle 9px at 11px 50%,#fff 98%,transparent) var(--border);transition:background-position .15s}.menu-items [aria-checked=true]:after{background-color:var(--fill);background-position:14px 0}.menu-items p{margin:.25rem .5rem;font-size:.9rem}.room{display:flex;flex-direction:column;height:100%}.room-header{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:center;min-height:64px;padding:0 20px 0 28px;border-bottom:1px solid var(--line)}.room-header h1{display:flex;flex:1;gap:10px;align-items:center;min-width:0;font-size:1.125rem}.day span{padding:3px 10px;border:1px solid var(--border);border-radius:10px}.previews span{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;gap:5px;align-items:center;height:24px;padding:0 9px;border-radius:12px;background:var(--hover);color:var(--muted);font-size:.75rem;font-weight:600;letter-spacing:0}.vis-badge:before{width:12px;height:12px}.room-members{position:relative;display:flex;gap:8px;align-items:center;height:36px;margin-right:13px;padding:0 10px 0 6px;border:0;border-radius:18px;background:none;color:var(--muted);font-size:.8125rem}.room-members:after{content:"";position:absolute;right:-13px;width:1px;height:20px;background:var(--border)}.faces{display:flex}.faces .avatar{border:2px solid var(--bg);box-sizing:content-box}.msg>.avatar{position:absolute;top:8px;left:28px}.faces .avatar+.avatar{margin-left:-8px}.room-header .room-error{flex-basis:100%}.room-header .room-shared{flex-basis:100%;margin:0;color:var(--muted);font-size:.8rem}.back{display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin-left:-16px;border-radius:12px;color:var(--muted)}.back:before{width:22px;height:22px}.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:12px 0 8px;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:12px;align-items:center;margin:8px 28px 4px;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 28px 2px 78px;color:var(--text);line-height:1.55;transition:background-color .1s}.msg.group-start>.reply-quote~.avatar{top:30px}.msg.group-start{min-height:50px;padding-top:6px;margin-top:6px}@media(hover:hover){.messages:not(.by-touch) .msg:hover{background:color-mix(in srgb,var(--fill) 7%,transparent)}}.meta{display:flex;gap:8px;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}.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% + 4px);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:6px;margin:6px 0 2px;padding:0;list-style:none;font-size:.8125rem;font-weight:600}.previews li{max-width:100%}.previews a{display:flex;gap:8px;align-items:center;height:32px;padding:0 12px 0 8px;border:1px solid var(--border);border-radius:8px;background:color-mix(in srgb,var(--fg) 4%,transparent);text-decoration:none}.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:10px;align-items:center;padding:10px 20px 10px 28px;border-bottom:1px solid var(--line);background:var(--raised);box-shadow:0 12px 24px #0003}.search-bar{display:contents}.room-search:before{z-index:1;grid-area:1 / 1;width:16px;height:16px;margin-left:14px;color:var(--dim);pointer-events:none}.search-bar input{grid-area:1 / 1;height:42px;padding-left:40px}.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:6px -12px 0 -16px;padding:0;list-style:none}.room-search .search-results .link{display:block;height:34px;margin:6px auto 4px;padding:0 14px;border:1px solid var(--border);border-radius:10px;color:var(--fg);font-size:.8125rem;text-decoration:none}.search-result{display:grid;grid-template-columns:26px minmax(0,1fr);column-gap:12px;width:100%;padding:7px 12px;border:0;border-radius:10px;background:none;text-align:left;font-weight:400}.search-result .avatar{grid-row:1 / 3;width:26px;height:26px;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:6px;align-items:center;max-width:calc(100% + 32px);margin:0 0 2px -32px;padding:0 4px 0 0;border:0;border-radius:6px;background:none;color:var(--dim);font-size:.75rem;font-weight:400;line-height:1.5;text-align:left}.reply-quote:before{content:"";flex:none;align-self:flex-end;width:26px;height:10px;margin-bottom:-4px;border:solid var(--border);border-width:2px 0 0 2px;border-top-left-radius:6px}.msg:not(.group-start)>.reply-quote{max-width:100%;margin-left:0}.msg:not(.group-start)>.reply-quote:before{content:none}.reply-quote:active:not(:disabled){transform:none}@media(hover:hover){.reply-quote:hover{color:var(--fg)}}.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-quote.deleted .reply-text{padding-right:.15em;font-style:italic}.replying{display:flex;gap:10px;align-items:center;min-height:40px;padding:0 14px 0 22px;border-top:1px solid var(--line);color:var(--muted);font-size:.8125rem}.replying-label{flex:1;min-width:0;overflow:hidden;color:var(--muted);text-overflow:ellipsis;white-space:nowrap}.replying-label strong{color:var(--fg);font-weight:600}.replying-text:before{content:" \b7 "}.replying .remove{width:28px;height:28px}.mention{color:var(--accent);font-weight:600}.mention.me{border-radius:4px;background:var(--tint);color:var(--text)}.room-section[data-section=inbox] a:before{content:"@"}.badge+.badge{margin-left:0}.attachments{margin:.3rem 0 .15rem}.att-images{--att-h: 120px;--att-max-w: 240px;display:flex;flex-wrap:wrap;gap:4px}.att-images.one{--att-h: 240px;--att-max-w: 400px}.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 12px;overflow:hidden;border:1px solid var(--border);border-radius:10px;background:color-mix(in srgb,var(--fg) 5%,transparent);color:var(--fg);font-size:.8125rem;font-weight:600;line-height:40px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.att-file:before{content:"";display:inline-block;width:16px;height:16px;margin-right:8px;background:var(--accent);vertical-align:-3px;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:4px;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:4px;left:4px;display:flex;gap:.2rem;align-items:center;max-width:calc(100% - 8px);padding:0 .45rem;overflow:hidden;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.att-src>.i-lock:before{width:12px;height:12px}a.att-src:hover{background:var(--accent)}.att-save{top:4px;right:4px;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:"";width:22px;height:22px;border-radius:6px;background:color-mix(in srgb,var(--hue) 16%,transparent)}.room-section[data-section=collections] li a>.ci{width:13px;height:13px;margin:0 4.5px 0 -27.5px;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:18px;color:var(--dim);font-size:.75rem;text-align:right}.room-section li .owner{color:var(--muted);font-size:.8rem}.tray-item .ci{width:40px;color:var(--muted)}.msg.pending{opacity:.6;animation:pop .3s var(--ease)}.msg.failed .body,.msg.failed .attachments{opacity:.7}.msg.to-me{margin-right:16px;margin-left:16px;padding-right:12px;padding-left:62px;border-radius:10px;background:color-mix(in srgb,var(--fill) 10%,transparent)}.msg.to-me>.avatar{left:12px}.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:-14px;right:28px;z-index:1;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:2px;max-width:calc(100% - 56px);padding:3px;border:1px solid var(--border);border-radius:10px;background:var(--raised);box-shadow:var(--shadow);opacity:0;pointer-events:none}.actions button{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:0;border-radius:7px;background:none;color:var(--muted)}.actions button:before{width:16px;height:16px}.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 28px;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:10px;background:var(--bg)}@keyframes fade-out{to{opacity:0}}.reactions{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 2px}.reaction,.add-reaction{display:inline-flex;gap:6px;align-items:center;height:28px;padding:0 10px;border:1px solid var(--border);border-radius:14px;background:color-mix(in srgb,var(--fg) 4%,transparent);color:var(--muted);font-size:.8125rem;font-weight:600}.reaction.mine{border-color:color-mix(in srgb,var(--fill) 55%,transparent);background:var(--tint);color:var(--fg)}.add-reaction{width:32px;justify-content:center;padding:0;border-style:dashed;background:none;color:var(--dim)}.add-reaction:before{width:15px;height:15px}.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:26px;padding:0 10px;border:0;border-radius:6px;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:16px;left:50%;display:flex;gap:8px;align-items:center;height:36px;padding:0 14px 0 12px;border-radius:18px;background:var(--raised);box-shadow:var(--shadow);font-size:.8125rem;transform:translate(-50%);animation:pop .3s var(--ease)}.new-messages:before{width:14px;height:14px}.new-messages:active:not(:disabled){transform:translate(-50%) scale(.95)}.composer{border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom)}.composer-row{display:flex;gap:4px;align-items:flex-end;min-height:67px;padding:13px 14px 14px 12px}.composer-row>button,.composer-row>.menu>summary{width:40px;height:40px;border-radius:10px}.composer textarea{flex:1;align-self:center;min-width:0;min-height:40px;max-height:10rem;overflow-x:hidden;padding:calc((40px - 1lh)/2) 6px;border:0;background:none;outline:none;resize:none}.composer .menu[open]>summary{background:var(--tint);color:var(--accent)}.composer .menu-items{top:auto;right:auto;bottom:calc(100% + 8px);left:0;transform-origin:bottom left}.composer .send{display:flex;flex:none;align-items:center;justify-content:center;padding:0}.composer .send:before{width:17px;height:17px}.composer .send:disabled{opacity:1;background:color-mix(in srgb,var(--fill) 25%,transparent);color:color-mix(in srgb,#fff 55%,transparent)}.composer .counter{align-self:center}.focus-key{align-self:center;margin-inline:4px;white-space:nowrap}.composer textarea:focus~.focus-key{display:none}@media(hover:none){.focus-key{display:none}}.tray{display:flex;flex-wrap:wrap;gap:.4rem;max-height:9.5rem;margin:0;padding:12px 14px 0 22px;overflow-y:auto;list-style:none}.tray-item{display:flex;gap:.4rem;align-items:center;max-width:16rem;padding:.25rem .25rem .25rem .4rem;border:1px solid var(--border);border-radius:var(--radius);background:var(--raised);font-size:.85rem;animation:pop .25s var(--ease)}.tray-thumb{flex:none;border-radius:8px;object-fit:cover}.tray-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tray-size{flex:none;color:var(--muted)}.tray-item .remove{flex:none;padding:0 .45rem;border:0}.tray-error{margin:0 0 .4rem;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:110px;cursor:pointer;user-select:none}.messages.selecting .msg>.avatar{left:60px}.msg>.select{position:absolute;top:17px;left:28px;width:18px;height:18px;padding:0;accent-color:var(--fill)}.msg:not(.group-start)>.select{top:6px}.messages.selecting .msg.to-me{padding-left:94px}.msg.to-me>.select{left:12px}.messages.selecting .msg.to-me>.avatar{left:44px}.msg.selected{background:var(--tint)}.selection-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;min-height:68px;padding:8px 16px calc(8px + env(safe-area-inset-bottom)) 24px;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:8px}.selection-bar .ic:before{width:16px;height:16px}.selection-bar button{height:38px}.selection-bar button:not(.primary,.danger){border-color:transparent;background:none}@media(max-width:400px){.selection-bar{padding-left:16px}.selection-bar .ic:before{display:none}}dialog.forward,dialog.access{width:min(30rem,calc(100% - 2rem));max-height:min(36rem,85vh);padding:20px 24px;border:1px solid var(--border);border-radius:16px;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:10px}dialog.forward::backdrop,dialog.access::backdrop{background:#08060ea8}.forward-list{min-height:0;overflow-y:auto}.switcher>.search-status{margin:8px 20px}.switcher .forward-list{padding:8px}dialog.forward.busy .forward-list{opacity:.6;pointer-events:none}dialog.switcher{width:min(35rem,calc(100% - 2rem));max-height:min(36rem,calc(100dvh - 140px - 1rem));margin-top:140px;padding:0;overflow:hidden}dialog.switcher[open]{gap:0}.jump-field{display:flex;flex:none;gap:12px;align-items:center;height:60px;padding:0 20px;border-bottom:1px solid var(--border);color:var(--muted)}.jump-field:before{width:18px;height:18px}.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 6px;border:1px solid var(--border);border-radius:5px;color:var(--muted);font:inherit;font-size:.6875rem;font-weight:600;line-height:1.5}.jump-keys{display:flex;flex:none;gap:16px;margin:0;padding:10px 20px;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:12px;height:46px;padding:0 12px;border-radius:10px;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:28px;height:28px}.switcher .tile{display:flex;flex:none;align-items:center;justify-content:center;border-radius:8px;background:var(--hover);color:var(--dim);font-weight:700}.switcher .tile:before{width:14px;height:14px}.switcher small{margin-left:4px;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:12px;height:44px;padding:0 10px;border-radius:10px}dialog:not(.switcher) .forward-list .avatar,dialog.forward .hash{width:30px;height:30px}dialog.forward .hash{display:flex;align-items:center;justify-content:center;border-radius:8px;background:var(--hover)}.hash{flex:none;width:24px;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:12px;align-items:center;min-height:68px;margin:0;padding:12px 16px calc(12px + env(safe-area-inset-bottom)) 28px;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(4px)}}@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 10px 24px}.room-section li a,.room-section li.dm a,.room-section[data-section=collections] li a{gap:12px;height:48px;padding:0 12px;font-size:.9375rem}.room-section .badge{min-width:22px;padding:0 7px;font-size:.75rem;line-height:22px}.room-section li.dm .avatar,.room-section[data-section=collections] li a:before{width:28px;height:28px;font-size:.6875rem}.room-section[data-section=collections] li a:before{border-radius:8px}.room-section[data-section=collections] li a>.ci{width:14px;height:14px;margin:0 7px 0 -33px}.section-head .icon-button,.fold,.room-section>summary{height:44px}.section-head{padding:10px 0 0}.section-head .icon-button{width:44px}.room-header{gap:2px;min-height:60px;padding:0 6px}.room-header .back{margin-left:0}.room-header .icon-button,.room-header .menu>summary{width:44px;height:44px}.room-members{display:none}.msg{padding-right:16px;padding-left:58px}.msg>.avatar{left:16px;width:32px;height:32px}.msg.to-me{margin:0 8px;padding-left:50px}.msg.to-me>.avatar{left:8px}.messages.selecting .msg.to-me{padding-left:102px}.msg.to-me>.select{left:20px}.messages.selecting .msg.to-me>.avatar{left:52px}.msg.group-start>.reply-quote{max-width:calc(100% + 26px);margin-left:-26px}.reply-quote:before{width:20px}.day,.new-line{margin-inline:16px}.actions{right:16px}.composer-row{min-height:64px;padding:10px 8px 10px 6px}.composer-row>button,.composer-row>.menu>summary{width:44px;height:44px}}@media(min-width:721px){.back{display:none}}
2
- /*# sourceMappingURL=app-ZGHECF33.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: #fbfaff;\n --surface: #f1eefc;\n --raised: #fff;\n --fg: #1d1530;\n --text: #1d1530;\n --muted: #5e5874;\n --dim: #645e7c;\n --border: #e3ddf5;\n --line: #e3ddf5;\n --hover: #e9e4fb;\n --accent: #5b3df5;\n /* Solid fills: Send, badges, primary buttons, with --on-fill text on them. */\n --fill: #5b3df5;\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 --danger: #c41d36; /* \u2265 4.5:1 on every light background, hover included (QA BUG-57) */\n --new: #b0175f;\n --highlight: #fff1b8;\n --shadow: 0 6px 24px rgb(60 30 140 / 14%);\n --radius: 10px;\n --pill: 999px;\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 16px / 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: #a58bff;\n --fill: #a58bff;\n --on-fill: #16181a;\n --danger: #ff7a8f;\n --new: #f9a8d4;\n --highlight: #3d3314;\n --shadow: 0 12px 32px rgb(0 0 0 / 45%);\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: #a58bff;\n --fill: #a58bff;\n --on-fill: #16181a;\n --danger: #ff7a8f;\n --new: #f9a8d4;\n --highlight: #3d3314;\n --shadow: 0 12px 32px rgb(0 0 0 / 45%);\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.composer button[type=\"submit\"],\n.new-room 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 .composer button[type=\"submit\"]:hover:not(:disabled),\n .new-room 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: 18px;\n height: 18px;\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: 36px;\n height: 36px;\n padding: 0;\n border: 0;\n border-radius: 8px;\n background: none;\n color: var(--muted);\n}\n\ninput:focus-visible,\ntextarea:focus-visible {\n outline: 3px 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-gear {\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='3'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1.1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1.1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9a1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1Z'/%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='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-6-8.5M8 14s1.5 2 4 2 4-2 4-2M9 9h.01M15 9h.01M19 2v6M16 5h6'/%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", "/* ---- 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#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: 60px;\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: 30px;\n height: 30px;\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.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: 6px;\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: 44px;\n height: 44px;\n}\n\n/* A new version is out (\u00A727.4): one line above everything, the page shrinks under it. */\n.update-bar {\n padding: 6px 16px;\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 280px;\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(--surface);\n}\n\n.sidebar .rooms {\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.sidebar nav {\n flex: 1;\n padding: 0 12px 12px;\n overflow-y: auto;\n}\n\n/* The site's name, over the rows (Jump to first) with no line between. */\n.side-top {\n display: flex;\n flex-direction: column;\n padding: 14px 14px 12px;\n}\n\n.side-top .brand {\n height: 44px;\n padding: 0 8px;\n color: var(--fg);\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: 10px;\n align-items: center;\n min-width: 0;\n height: 34px;\n padding: 0 8px 0 10px;\n border: 0;\n border-radius: 8px;\n background: none;\n color: var(--muted);\n font-weight: 500;\n text-align: left;\n}\n\n.jump-button::before {\n width: 16px;\n height: 16px;\n}\n\n.jump-button span {\n flex: 1;\n}\n\n/* Quieter until hovered by colour, not opacity: --muted at 0.75 failed 4.5:1 (QA BUG-259). */\n.jump-button kbd {\n transition: color 0.15s;\n}\n\n.jump-row:hover kbd {\n color: var(--text);\n}\n\n.jump-button:active:not(:disabled) {\n transform: none;\n}\n\n.side-foot {\n display: flex;\n flex: none;\n flex-wrap: wrap;\n gap: 4px;\n align-items: center;\n min-height: 68px;\n padding: 8px 12px 8px 10px;\n border-top: 1px solid var(--line);\n}\n\n.side-foot .me-link {\n gap: 10px;\n height: 48px;\n padding: 0 8px;\n}\n\n.side-foot .avatar {\n width: 34px;\n height: 34px;\n}\n\n.side-foot .icon-button::before {\n width: 17px;\n height: 17px;\n}\n\n/* A guest's way in. */\n.side-foot p {\n flex-basis: 100%;\n margin: 4px 4px 6px;\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: 40px;\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/* 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: 24px;\n height: 24px;\n font-size: 0.6rem;\n}\n\n.avatar.s32 {\n width: 32px;\n height: 32px;\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: 36px;\n height: 36px;\n}\n\n.avatar.s96 {\n width: 96px;\n height: 96px;\n font-size: 2rem;\n box-shadow:\n 0 0 0 4px var(--bg),\n 0 0 0 7px 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: 20px;\n max-width: calc(680px + 2 * 28px);\n padding: 28px 28px 48px;\n}\n\n.card,\n.profile-notify {\n display: flex;\n flex-direction: column;\n gap: 14px;\n margin: 0;\n padding: 18px 20px 20px;\n border: 1px solid var(--line);\n border-radius: 16px;\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: 16px;\n align-items: center;\n}\n\n.profile-avatar h2 {\n margin-bottom: 8px;\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: 8px;\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: 34px;\n padding: 0 14px;\n border-color: transparent;\n border-radius: 9px;\n font-size: 0.8125rem;\n}\n\nlabel.button {\n background: var(--hover);\n}\n\n.profile-avatar-actions button {\n padding: 0 12px;\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: 16px;\n row-gap: 3px;\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: 18px;\n}\n\n.segmented {\n display: inline-flex;\n gap: 2px;\n padding: 3px;\n border-radius: 10px;\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 14px;\n border-radius: 8px;\n color: var(--muted);\n font-size: 0.8125rem;\n font-weight: 600;\n line-height: 32px;\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: 12px;\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: 6px;\n color: var(--muted);\n font-size: 0.8125rem;\n font-weight: 600;\n}\n\n.profile-name .row {\n display: flex;\n gap: 8px;\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: 3px 0 0;\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: 3px;\n}\n\n.profile-notify > .field-status {\n order: -1;\n margin: 0 0 10px;\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: 72px;\n height: 72px;\n font-size: 1.5rem;\n box-shadow:\n 0 0 0 3px var(--bg),\n 0 0 0 5px 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: 52px;\n margin: 0 -20px;\n padding: 0 20px;\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: 36px;\n height: 22px;\n margin: 0;\n padding: 0;\n border: 0;\n border-radius: 11px;\n background: radial-gradient(circle 9px at 11px 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: 14px 0;\n}\n\n@media (max-width: 720px) {\n .profile-body {\n padding: 20px 16px 40px;\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: 10px;\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: 24px;\n width: 100%;\n max-width: 420px;\n margin: auto;\n padding: 2rem 1rem;\n}\n\n.auth h1 {\n display: flex;\n flex-direction: column;\n gap: 14px;\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: 56px;\n height: 56px;\n background: url(\"/icons/icon.svg\") center / contain no-repeat;\n}\n\n.auth .brand-by {\n margin: -18px 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: 18px;\n padding: 24px;\n border: 1px solid var(--border);\n border-radius: 16px;\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: 3px;\n border-radius: 10px;\n background: var(--surface);\n}\n\n[role=\"tab\"] {\n height: 36px;\n border: 0;\n border-radius: 8px;\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: 14px;\n}\n\n.field input {\n height: 42px;\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: -6px 0 10px auto;\n}\n\n.auth-card h2 {\n margin: 0;\n font-size: 1.125rem;\n}\n\n.auth-hint {\n margin: 0 0 14px;\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: 44px;\n margin-top: 4px;\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 chevron that folds it, and its \"+\" on the right. */\n.section-head {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 16px 6px 6px 4px;\n}\n\n.room-section h2 {\n font-size: inherit;\n}\n\n.fold,\n.room-section > summary {\n display: flex;\n gap: 6px;\n align-items: center;\n height: 28px;\n padding: 0 8px 0 4px;\n border: 0;\n border-radius: 6px;\n background: none;\n color: var(--dim);\n font-size: 0.75rem;\n font-weight: 600;\n letter-spacing: 0;\n list-style: none;\n cursor: pointer;\n}\n\n/* A heading that doesn't fold (a guest's Open Air rooms): set like the others, without the chevron (QA BUG-188). */\n.room-section .section-title {\n display: flex;\n align-items: center;\n height: 28px;\n padding: 0 8px;\n color: var(--dim);\n font-size: 0.75rem;\n font-weight: 600;\n}\n\n.room-section > summary::-webkit-details-marker {\n display: none;\n}\n\n.fold::before,\n.room-section > summary::before {\n width: 12px;\n height: 12px;\n transition: transform 0.15s;\n}\n\n.fold[aria-expanded=\"false\"]::before,\n.room-section:not([open]) > summary::before {\n transform: rotate(-90deg);\n}\n\n.section-head .icon-button {\n width: 26px;\n height: 26px;\n color: var(--dim);\n}\n\n.section-head .icon-button::before {\n width: 15px;\n height: 15px;\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: 2px 0;\n border-radius: 8px;\n}\n\n@media (hover: hover) {\n .room-section li:hover {\n background: var(--hover);\n }\n}\n\n.room-section li a {\n display: flex;\n flex: 1;\n gap: 10px;\n align-items: center;\n min-width: 0;\n height: 34px;\n padding: 0 10px;\n color: var(--muted);\n font-weight: 500;\n text-decoration: none;\n}\n\n.room-section li a::before {\n content: \"#\";\n width: 16px;\n color: var(--dim);\n font-weight: 600;\n text-align: center;\n}\n\n.more-body li a {\n height: 32px;\n color: var(--dim);\n}\n\n/* DM and collection rows: an avatar or icon instead of \"#\", a little taller. */\n.room-section li.dm a,\n.room-section[data-section=\"collections\"] li a {\n height: 36px;\n}\n\n.room-section li.dm a::before {\n content: none;\n}\n\n.room-section li.dm .avatar {\n width: 22px;\n height: 22px;\n font-size: 10px;\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, .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/* Unread (\u00A718.4): the name in full color and bold, plus a count. */\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(--fg);\n font-weight: 600;\n}\n\n.room-section li a[aria-current=\"page\"]::before {\n color: var(--accent);\n}\n\n.room-section li:has(a[aria-current=\"page\"]) {\n background: var(--tint);\n}\n\n/* Private and Open Air (\u00A723.1). */\n.room-section li a > .vis {\n color: var(--dim);\n}\n\n.room-section li a > .vis::before {\n width: 14px;\n height: 14px;\n}\n\n.badge {\n flex: none;\n min-width: 20px;\n margin-left: auto;\n padding: 0 6px;\n border-radius: 10px;\n background: var(--fill);\n color: var(--on-fill);\n font-size: 0.6875rem;\n font-weight: 700;\n line-height: 20px;\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: 4px;\n height: 26px;\n padding: 0 9px;\n border: 0;\n border-radius: 6px;\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.room-section[data-section=\"more\"] > summary {\n justify-content: flex-start;\n margin: 18px 6px 0 4px; /* the last row's 2px margin collapses into it */\n}\n\n.room-section[data-section=\"more\"] .count {\n margin-left: auto;\n}\n\n.more-body {\n margin: 2px 0 4px;\n padding: 2px 0 6px;\n border-radius: 10px;\n background: var(--hover);\n}\n\n.more-part h3 {\n display: flex;\n gap: 8px;\n align-items: center;\n margin: 0;\n padding: 8px 10px 4px;\n color: var(--dim);\n font-size: 0.6875rem;\n font-weight: 600;\n}\n\n.more-part h3::before {\n width: 13px;\n height: 13px;\n}\n\n.empty {\n color: var(--muted);\n}\n\n.more-body .empty {\n margin: 0;\n padding: 8px 10px;\n}\n\n/* The new-room form, in place under Rooms. */\n.new-room {\n display: flex;\n flex-direction: column;\n gap: 8px;\n margin: 2px 2px 8px;\n padding: 10px;\n border: 1px solid var(--border);\n border-radius: 12px;\n background: var(--raised);\n animation: pop 0.25s var(--ease);\n}\n\n.name-field {\n display: flex;\n gap: 6px;\n align-items: center;\n height: 36px;\n padding: 0 10px;\n border: 1px solid var(--accent);\n border-radius: 8px;\n background: var(--surface);\n color: var(--dim);\n font-weight: 600;\n}\n\n.name-field input {\n padding: 0;\n border: 0;\n background: none;\n outline: none;\n color: var(--fg);\n font-weight: 400;\n}\n\n/* A segmented choice (who can see a new room). */\n.seg {\n display: grid;\n grid-template-columns: repeat(3, minmax(0, 1fr));\n gap: 2px;\n margin: 0;\n padding: 2px;\n border: 0;\n border-radius: 8px;\n background: var(--surface);\n}\n\n.seg label {\n display: flex;\n gap: 5px;\n align-items: center;\n justify-content: center;\n height: 30px;\n border-radius: 6px;\n color: var(--muted);\n font-size: 0.75rem;\n font-weight: 600;\n cursor: pointer;\n}\n\n.seg label::before {\n width: 12px;\n height: 12px;\n}\n\n.seg label:has(:checked) {\n background: var(--hover);\n color: var(--fg);\n}\n\n.seg label:has(:focus-visible) {\n outline: 2px solid var(--accent);\n}\n\n.new-room .hint {\n margin: 0 2px;\n color: var(--muted);\n font-size: 0.75rem;\n}\n\n.form-buttons {\n display: flex;\n gap: 6px;\n justify-content: flex-end;\n}\n\n.form-buttons button {\n height: 32px;\n padding: 0 12px;\n font-size: 0.8125rem;\n}\n\n.form-buttons .cancel {\n border-color: transparent;\n background: none;\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: 36px;\n height: 36px;\n border-radius: 8px;\n color: var(--muted);\n}\n\n.room-section .menu > summary.i-dots {\n width: 26px;\n height: 26px;\n border-radius: 6px;\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% + 4px);\n right: 0;\n z-index: 10;\n display: flex;\n flex-direction: column;\n gap: 2px;\n min-width: 17.5rem;\n max-width: 20rem;\n padding: 6px;\n border: 1px solid var(--border);\n border-radius: 12px;\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: 12px;\n align-items: center;\n min-height: 38px;\n padding: 0 10px;\n border: 0;\n border-radius: 8px;\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: 16px;\n height: 16px;\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: 16px;\n height: 16px;\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: 6px 10px;\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: 32px;\n height: 32px;\n border-radius: 8px;\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: 8px 10px;\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: 11px;\n box-shadow: 0 -7px 0 -6px 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: 36px;\n height: 22px;\n margin-left: auto;\n border-radius: 11px;\n background: radial-gradient(circle 9px at 11px 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: 14px 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 display: flex;\n flex-direction: column;\n height: 100%;\n}\n\n.room-header {\n display: flex;\n flex-wrap: wrap;\n gap: 4px 12px;\n align-items: center;\n min-height: 64px;\n padding: 0 20px 0 28px;\n border-bottom: 1px solid var(--line);\n}\n\n.room-header h1 {\n display: flex;\n flex: 1;\n gap: 10px;\n align-items: center;\n min-width: 0;\n font-size: 1.125rem;\n}\n\n.day span {\n padding: 3px 10px;\n border: 1px solid var(--border);\n border-radius: 10px;\n}\n\n.previews span {\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, next to the name. */\n.vis-badge {\n display: inline-flex;\n flex: none;\n gap: 5px;\n align-items: center;\n height: 24px;\n padding: 0 9px;\n border-radius: 12px;\n background: var(--hover);\n color: var(--muted);\n font-size: 0.75rem;\n font-weight: 600;\n letter-spacing: 0;\n}\n\n.vis-badge::before {\n width: 12px;\n height: 12px;\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: 8px;\n align-items: center;\n height: 36px;\n margin-right: 13px;\n padding: 0 10px 0 6px;\n border: 0;\n border-radius: 18px;\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: -13px;\n width: 1px;\n height: 20px;\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: 8px;\n left: 28px;\n}\n\n.faces .avatar + .avatar {\n margin-left: -8px;\n}\n\n.room-header .room-error {\n flex-basis: 100%;\n}\n\n/* Where else a shared room is held (\u00A733.9). */\n.room-header .room-shared {\n flex-basis: 100%;\n margin: 0;\n color: var(--muted);\n font-size: 0.8rem;\n}\n\n.back {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 44px;\n height: 44px;\n margin-left: -16px;\n border-radius: 12px;\n color: var(--muted);\n}\n\n.back::before {\n width: 22px;\n height: 22px;\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.messages {\n flex: 1;\n min-height: 0;\n overflow-y: auto;\n overflow-anchor: auto;\n margin: 0;\n padding: 12px 0 8px;\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: 12px;\n align-items: center;\n margin: 8px 28px 4px;\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 28px 2px calc(28px + 36px + 14px);\n color: var(--text);\n line-height: 1.55;\n transition: background-color 0.1s;\n}\n\n/* A reply's quote is above the name: the avatar goes down with the name. */\n.msg.group-start > .reply-quote ~ .avatar {\n top: 30px;\n}\n\n.msg.group-start {\n min-height: 50px;\n padding-top: 6px;\n margin-top: 6px;\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: 8px;\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 a menu with \"Message\" (\u00A716.5). It shrinks and truncates like a plain name, so the\n 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% + 4px);\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 chip per link under the message, its favicon and title. */\n.previews {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: 6px;\n margin: 6px 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: 8px;\n align-items: center;\n height: 32px;\n padding: 0 12px 0 8px;\n border: 1px solid var(--border);\n border-radius: 8px;\n background: color-mix(in srgb, var(--fg) 4%, transparent);\n text-decoration: none;\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: 10px;\n align-items: center;\n padding: 10px 20px 10px 28px;\n border-bottom: 1px solid var(--line);\n background: var(--raised);\n box-shadow: 0 12px 24px 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: 16px;\n height: 16px;\n margin-left: 14px;\n color: var(--dim);\n pointer-events: none;\n}\n\n.search-bar input {\n grid-area: 1 / 1;\n height: 42px;\n padding-left: 40px;\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: 6px -12px 0 -16px;\n padding: 0;\n list-style: none;\n}\n\n.room-search .search-results .link {\n display: block;\n height: 34px;\n margin: 6px auto 4px;\n padding: 0 14px;\n border: 1px solid var(--border);\n border-radius: 10px;\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: 26px minmax(0, 1fr);\n column-gap: 12px;\n width: 100%;\n padding: 7px 12px;\n border: 0;\n border-radius: 10px;\n background: none;\n text-align: left;\n font-weight: 400;\n}\n\n.search-result .avatar {\n grid-row: 1 / 3;\n width: 26px;\n height: 26px;\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 quote of the original above the reply, joined to the avatar by a curve; clicking it\n shows the original. ---- */\n\n.reply-quote {\n display: flex;\n gap: 6px;\n align-items: center;\n max-width: calc(100% + 32px);\n margin: 0 0 2px -32px;\n padding: 0 4px 0 0;\n border: 0;\n border-radius: 6px;\n background: none;\n color: var(--dim);\n font-size: 0.75rem;\n font-weight: 400;\n line-height: 1.5;\n text-align: left;\n}\n\n/* From the avatar's middle to the message's text: the curve and the gap make up the quote's -32px, so its author\n lines up with the text below. */\n.reply-quote::before {\n content: \"\";\n flex: none;\n align-self: flex-end;\n width: 26px;\n height: 10px;\n margin-bottom: -4px;\n border: solid var(--border);\n border-width: 2px 0 0 2px;\n border-top-left-radius: 6px;\n}\n\n/* No avatar under a reply that goes on a group: no curve. */\n/* No avatar to reach to: the quote is as wide as the text at most (QA BUG-271: it kept the 32px more and ran past the\n column, under the window's edge). */\n.msg:not(.group-start) > .reply-quote {\n max-width: 100%;\n margin-left: 0;\n}\n\n.msg:not(.group-start) > .reply-quote::before {\n content: none;\n}\n\n.reply-quote:active:not(:disabled) {\n transform: none;\n}\n\n@media (hover: hover) {\n .reply-quote:hover {\n color: var(--fg);\n }\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/* 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/* Replying: a strip over the composer. */\n.replying {\n display: flex;\n gap: 10px;\n align-items: center;\n min-height: 40px;\n padding: 0 14px 0 22px;\n border-top: 1px solid var(--line);\n color: var(--muted);\n font-size: 0.8125rem;\n}\n\n.replying-label {\n flex: 1;\n min-width: 0;\n overflow: hidden;\n color: var(--muted);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.replying-label strong {\n color: var(--fg);\n font-weight: 600;\n}\n\n.replying-text::before {\n content: \" \u00B7 \";\n}\n\n.replying .remove {\n width: 28px;\n height: 28px;\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/* In the text's colour: the accent on the tint, in a message tinted as yours too, was under 4.5:1 (QA BUG-262). */\n.mention.me {\n border-radius: 4px;\n background: var(--tint);\n color: var(--text);\n}\n\n.room-section[data-section=\"inbox\"] a::before {\n content: \"@\";\n}\n\n.badge + .badge {\n margin-left: 0;\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: 120px;\n --att-max-w: 240px;\n display: flex;\n flex-wrap: wrap;\n gap: 4px;\n}\n\n.att-images.one {\n --att-h: 240px;\n --att-max-w: 400px;\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 12px;\n overflow: hidden;\n border: 1px solid var(--border);\n border-radius: 10px;\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: 40px;\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: 16px;\n height: 16px;\n margin-right: 8px;\n background: var(--accent);\n vertical-align: -3px;\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: 4px;\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: 4px;\n left: 4px;\n display: flex;\n gap: 0.2rem;\n align-items: center;\n max-width: calc(100% - 8px);\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: 12px;\n height: 12px;\n}\n\na.att-src:hover {\n background: var(--accent);\n}\n\n.att-save {\n top: 4px;\n right: 4px;\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 width: 22px;\n height: 22px;\n border-radius: 6px;\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: 13px;\n height: 13px;\n margin: 0 4.5px 0 -27.5px;\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: 18px;\n color: var(--dim);\n font-size: 0.75rem;\n text-align: right;\n}\n\n.room-section li .owner {\n color: var(--muted);\n font-size: 0.8rem;\n}\n\n/* A sending message's tile for an item from a collection. */\n.tray-item .ci {\n width: 40px;\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/* Someone else's reply to one of your messages (\u00A719.3): a tinted card, its avatar and text where other messages have them. */\n.msg.to-me {\n margin-right: 16px;\n margin-left: 16px;\n padding-right: 12px;\n padding-left: calc(12px + 36px + 14px);\n border-radius: 10px;\n background: color-mix(in srgb, var(--fill) 10%, transparent);\n}\n\n.msg.to-me > .avatar {\n left: 12px;\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: -14px;\n right: 28px;\n z-index: 1;\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-end;\n gap: 2px;\n max-width: calc(100% - 56px);\n padding: 3px;\n border: 1px solid var(--border);\n border-radius: 10px;\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: 32px;\n height: 32px;\n padding: 0;\n border: 0;\n border-radius: 7px;\n background: none;\n color: var(--muted);\n}\n\n.actions button::before {\n width: 16px;\n height: 16px;\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 28px;\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: 10px;\n background: var(--bg);\n}\n\n@keyframes fade-out {\n to {\n opacity: 0;\n }\n}\n", "/* ---- Reactions (\u00A720.3): a chip per emoji with its count; yours are tinted. ---- */\n\n.reactions {\n display: flex;\n flex-wrap: wrap;\n gap: 6px;\n margin: 4px 0 2px;\n}\n\n.reaction,\n.add-reaction {\n display: inline-flex;\n gap: 6px;\n align-items: center;\n height: 28px;\n padding: 0 10px;\n border: 1px solid var(--border);\n border-radius: 14px;\n background: color-mix(in srgb, var(--fg) 4%, transparent);\n color: var(--muted);\n font-size: 0.8125rem;\n font-weight: 600;\n}\n\n.reaction.mine {\n border-color: color-mix(in srgb, var(--fill) 55%, transparent);\n background: var(--tint);\n color: var(--fg);\n}\n\n.add-reaction {\n width: 32px;\n justify-content: center;\n padding: 0;\n border-style: dashed;\n background: none;\n color: var(--dim);\n}\n\n.add-reaction::before {\n width: 15px;\n height: 15px;\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: 26px;\n padding: 0 10px;\n border: 0;\n border-radius: 6px;\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/* \"N new messages\" / \"Jump to latest\": a raised pill over the bottom of the list. */\n.new-messages {\n position: absolute;\n bottom: 16px;\n left: 50%;\n display: flex;\n gap: 8px;\n align-items: center;\n height: 36px;\n padding: 0 14px 0 12px;\n border-radius: 18px;\n background: var(--raised);\n box-shadow: var(--shadow);\n font-size: 0.8125rem;\n transform: translateX(-50%);\n animation: pop 0.3s var(--ease);\n}\n\n.new-messages::before {\n width: 14px;\n height: 14px;\n}\n\n.new-messages:active:not(:disabled) {\n transform: translateX(-50%) scale(0.95);\n}\n\n/* The composer: a flat bar along the bottom; replying and attachments show in strips above it, menus float over the\n messages. */\n.composer {\n border-top: 1px solid var(--line);\n padding-bottom: env(safe-area-inset-bottom);\n}\n\n.composer-row {\n display: flex;\n gap: 4px;\n align-items: flex-end;\n /* With the composer's top border, as tall as the sidebar's foot (68px), so their top lines meet. */\n min-height: 67px;\n padding: 13px 14px 14px 12px;\n}\n\n.composer-row > button,\n.composer-row > .menu > summary {\n width: 40px;\n height: 40px;\n border-radius: 10px;\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: 40px;\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((40px - 1lh) / 2) 6px;\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. */\n.composer .menu-items {\n top: auto;\n right: auto;\n bottom: calc(100% + 8px);\n left: 0;\n transform-origin: bottom left;\n}\n\n.composer .send {\n display: flex;\n flex: none;\n align-items: center;\n justify-content: center;\n padding: 0;\n}\n\n.composer .send::before {\n width: 17px;\n height: 17px;\n}\n\n/* Nothing to send yet: dimmed. */\n.composer .send:disabled {\n opacity: 1;\n background: color-mix(in srgb, var(--fill) 25%, transparent);\n color: color-mix(in srgb, #fff 55%, transparent);\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.focus-key {\n align-self: center;\n margin-inline: 4px;\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) ---- */\n\n.tray {\n display: flex;\n flex-wrap: wrap;\n gap: 0.4rem;\n /* Up to 10 files: about three rows, then it scrolls, so the composer stays on screen on a phone. */\n max-height: 9.5rem;\n margin: 0;\n padding: 12px 14px 0 22px;\n overflow-y: auto;\n list-style: none;\n}\n\n.tray-item {\n display: flex;\n gap: 0.4rem;\n align-items: center;\n max-width: 16rem;\n padding: 0.25rem 0.25rem 0.25rem 0.4rem;\n border: 1px solid var(--border);\n border-radius: var(--radius);\n background: var(--raised);\n font-size: 0.85rem;\n animation: pop 0.25s var(--ease);\n}\n\n.tray-thumb {\n flex: none;\n border-radius: 8px;\n object-fit: cover;\n}\n\n.tray-name {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.tray-size {\n flex: none;\n color: var(--muted);\n}\n\n.tray-item .remove {\n flex: none;\n padding: 0 0.45rem;\n border: 0;\n}\n\n.tray-error {\n margin: 0 0 0.4rem;\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(28px + 32px + 36px + 14px);\n cursor: pointer;\n user-select: none;\n}\n\n.messages.selecting .msg > .avatar {\n left: 60px;\n}\n\n.msg > .select {\n position: absolute;\n top: 17px;\n left: 28px;\n width: 18px;\n height: 18px;\n padding: 0;\n accent-color: var(--fill);\n}\n\n.msg:not(.group-start) > .select {\n top: 6px;\n}\n\n/* A reply to you is a card set in by 16px: its checkbox and avatar line up with the others'. */\n.messages.selecting .msg.to-me {\n padding-left: calc(28px + 32px + 36px + 14px - 16px);\n}\n\n.msg.to-me > .select {\n left: 12px;\n}\n\n.messages.selecting .msg.to-me > .avatar {\n left: 44px;\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: 8px;\n align-items: center;\n min-height: 68px;\n padding: 8px 16px calc(8px + env(safe-area-inset-bottom)) 24px;\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: 8px;\n}\n\n.selection-bar .ic::before {\n width: 16px;\n height: 16px;\n}\n\n.selection-bar button {\n height: 38px;\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: 16px;\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: 20px 24px;\n border: 1px solid var(--border);\n border-radius: 16px;\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: 10px;\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: 8px 20px;\n}\n\n.switcher .forward-list {\n padding: 8px;\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 - 140px - 1rem));\n margin-top: 140px;\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: 12px;\n align-items: center;\n height: 60px;\n padding: 0 20px;\n border-bottom: 1px solid var(--border);\n color: var(--muted);\n}\n\n.jump-field::before {\n width: 18px;\n height: 18px;\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 6px;\n border: 1px solid var(--border);\n border-radius: 5px;\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: 16px;\n margin: 0;\n padding: 10px 20px;\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: 12px;\n height: 46px;\n padding: 0 12px;\n border-radius: 10px;\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: 28px;\n height: 28px;\n}\n\n.switcher .tile {\n display: flex;\n flex: none;\n align-items: center;\n justify-content: center;\n border-radius: 8px;\n background: var(--hover);\n color: var(--dim);\n font-weight: 700;\n}\n\n.switcher .tile::before {\n width: 14px;\n height: 14px;\n}\n\n.switcher small {\n margin-left: 4px;\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: 12px;\n height: 44px;\n padding: 0 10px;\n border-radius: 10px;\n}\n\ndialog:not(.switcher) .forward-list .avatar,\ndialog.forward .hash {\n width: 30px;\n height: 30px;\n}\n\ndialog.forward .hash {\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 8px;\n background: var(--hover);\n}\n\n.hash {\n flex: none;\n width: 24px;\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: 12px;\n align-items: center;\n min-height: 68px;\n margin: 0;\n padding: 12px 16px calc(12px + env(safe-area-inset-bottom)) 28px;\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(4px);\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 10px 24px;\n }\n\n /* Rows of 48px (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: 12px;\n height: 48px;\n padding: 0 12px;\n font-size: 0.9375rem;\n }\n\n .room-section .badge {\n min-width: 22px;\n padding: 0 7px;\n font-size: 0.75rem;\n line-height: 22px;\n }\n\n .room-section li.dm .avatar,\n .room-section[data-section=\"collections\"] li a::before {\n width: 28px;\n height: 28px;\n font-size: 0.6875rem;\n }\n\n .room-section[data-section=\"collections\"] li a::before {\n border-radius: 8px;\n }\n\n .room-section[data-section=\"collections\"] li a > .ci {\n width: 14px;\n height: 14px;\n margin: 0 7px 0 -33px;\n }\n\n .section-head .icon-button,\n .fold,\n .room-section > summary {\n height: 44px;\n }\n\n .section-head {\n padding: 10px 0 0;\n }\n\n .section-head .icon-button {\n width: 44px;\n }\n\n /* A room: tighter sides, a 60px header with 44px buttons, a 32px avatar. */\n .room-header {\n gap: 2px;\n min-height: 60px;\n padding: 0 6px;\n }\n\n .room-header .back {\n margin-left: 0;\n }\n\n .room-header .icon-button,\n .room-header .menu > summary {\n width: 44px;\n height: 44px;\n }\n\n .room-members {\n display: none;\n }\n\n .msg {\n padding-right: 16px;\n padding-left: calc(16px + 32px + 10px);\n }\n\n .msg > .avatar {\n left: 16px;\n width: 32px;\n height: 32px;\n }\n\n .msg.to-me {\n margin: 0 8px;\n padding-left: calc(8px + 32px + 10px);\n }\n\n .msg.to-me > .avatar {\n left: 8px;\n }\n\n /* Selecting, the card is set in by 8px here (selection.css). */\n .messages.selecting .msg.to-me {\n padding-left: calc(28px + 32px + 36px + 14px - 8px);\n }\n\n .msg.to-me > .select {\n left: 20px;\n }\n\n .messages.selecting .msg.to-me > .avatar {\n left: 52px;\n }\n\n /* The smaller avatar's middle is 26px left of the text (replies.css). */\n .msg.group-start > .reply-quote {\n max-width: calc(100% + 26px);\n margin-left: -26px;\n }\n\n .reply-quote::before {\n width: 20px;\n }\n\n .day,\n .new-line {\n margin-inline: 16px;\n }\n\n .actions {\n right: 16px;\n }\n\n .composer-row {\n min-height: 64px;\n padding: 10px 8px 10px 6px;\n }\n\n .composer-row > button,\n .composer-row > .menu > summary {\n width: 44px;\n height: 44px;\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,C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AzDc,OA0DnB,KAAM,KACN,MAAO,KACP,OAAQ,IACV,CAEA,CAXC,GAWG,CAAC,MArHP,OAsHY,EAAE,IACV,aAAc,IAChB,CAEA,CAhBC,GAgBG,CALC,KAKM,CAAE,CApEQ,OAqEnB,KAAM,GACR,CAGA,CAAC,QAAQ,CAAC,UAAU,CArBnB,GAqBuB,CAVnB,MAWH,aAAc,KAChB,CAEA,CAzBC,GAyBG,CAdC,KAcM,CAAE,CAAC,OACZ,KAAM,IACR,CAEA,CARC,QAQQ,CARC,UAQU,CA7BnB,GA6BuB,CAlBnB,KAkB0B,CAAE,CAjFZ,OAkFnB,KAAM,IACR,CAGA,CAlCC,GAkCG,CAAC,WAAY,CAAE,CAAC,YAClB,UAAW,KAAK,KAAK,EAAE,MACvB,YAAa,KACf,CAEA,CALoB,WAKR,QACV,MAAO,IACT,CAEA,CAAC,IACD,CAAC,SACC,cAAe,IACjB,CAEA,CAAC,QACC,MAAO,IACT,CAEA,CAAC,aACC,WAAY,KA/JhB,QAgKa,KAAK,IAAI,KAAK,GACzB,CAEA,CALC,YAKa,CAAE,OAChB,CANC,YAMa,CAAE,CAnEF,IAmEQ,CAAE,QACtB,MAAO,KACP,OAAQ,IACV,CACF,CAEA,OAAO,UAAY,OACjB,CA/Ec,KAgFZ,QAAS,IACX,CACF",
6
- "names": []
7
- }
@@ -1,2 +0,0 @@
1
- import{c as k,j as R}from"./chunk-DZC4SY4M.js";import{g as x}from"./chunk-PWNJABVI.js";import{a as g}from"./chunk-RPCBA7VF.js";import{a as s}from"./chunk-VTOUI25E.js";function J(e){return e?Date.parse(e.replace(" ","T")):NaN}function M(e){return new Date(e).toISOString().replace("T"," ")}function S(e,t){let n=new Date(e),r=new Date(t);return n.getFullYear()===r.getFullYear()&&n.getMonth()===r.getMonth()&&n.getDate()===r.getDate()}var T=(e,t)=>new Date(e).getFullYear()===new Date(t).getFullYear(),D={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"}},L=new Map;function h(e,t,n){let r=`${t??""}|${e}`,a=L.get(r);return a||(a=new Intl.DateTimeFormat(t,D[e]),L.set(r,a)),a.format(n)}function j(e,t=Date.now(),n){return S(e,t)?h("time",n,e):h(T(e,t)?"dateTime":"dateTimeYear",n,e)}function $(e,t=Date.now(),n){if(S(e,t))return"Today";let r=new Date(t);return r.setDate(r.getDate()-1),S(e,r.getTime())?"Yesterday":h(T(e,t)?"day":"dayYear",n,e)}function B(e,t){return h("full",t,e)}function z(e){let t=e,n=new Set;return{get:()=>t,set(r){let a=typeof r=="function"?r(t):r;if(!Object.keys(a).some(i=>a[i]!==t[i]))return;let u=t;t={...t,...a};for(let i of[...n])i(t,u)},subscribe(r){return n.add(r),()=>n.delete(r)}}}var A=new Map,Q=()=>({user:null,rooms:new Map,hidden:new Map,unread:A,mentions:new Map,inbox:0,roomsStatus:"idle",listLoads:0,activeRoomId:null,collections:null,activeCollectionId:null,away:!1,site:x}),V=e=>t=>({listLoads:t.listLoads+e});function W(e){return t=>({rooms:new Map(t.rooms).set(e.id,e)})}function X(e){return t=>{let n=new Map(t.rooms);return n.delete(e),{rooms:n}}}function Z(e,t){return n=>({hidden:new Map(n.hidden).set(e,t)})}function ee(e){return t=>{if(!t.hidden.has(e))return{};let n=new Map(t.hidden);return n.delete(e),{hidden:n}}}function te(e){return t=>({hidden:new Map([...t.hidden].filter(([,n])=>n!==e))})}function ne(e){return t=>({unread:new Map(t.unread).set(e,(t.unread.get(e)??0)+1)})}function re(e){return t=>{if(!t.unread.has(e)&&!t.mentions.has(e))return{};let n=new Map(t.unread),r=new Map(t.mentions);return n.delete(e),r.delete(e),{unread:n,mentions:r}}}function m(e,t){return t.archived||e.hidden.has(t.id)?0:e.unread.get(t.id)??0}var oe=(e,t)=>!!m(e,t)&&!!e.mentions.get(t.id),K=new Intl.Collator(void 0,{sensitivity:"base"}),v=(e,t)=>K.compare(e.name,t.name),Y=(e,t)=>{let n=e.last_message_at||e.created||"",r=t.last_message_at||t.created||"";return n<r?1:n>r?-1:e.id.localeCompare(t.id)};function E(e){let t=[],n=[],r=[],a=[];for(let i of e.rooms.values())i.kind==="dm"?(i.last_message_at||i.created_by===e.user?.id||i.id===e.activeRoomId)&&!e.hidden.has(i.id)&&n.push(i):i.archived?a.push(i):e.hidden.has(i.id)?r.push(i):t.push(i);let u=i=>(c,l)=>+!m(e,c)-+!m(e,l)||i(c,l);return{rooms:t.sort(u(v)),dms:n.sort(u(Y)),hidden:r.sort(v),archived:a.sort(v)}}var y="chirkle-jump",I={private:"ic i-lock",open:"ic i-globe"};function de(e){let{api:t,store:n,root:r}=e,a,u=new Map,i=o=>{let d=/^[a-z]$/i.test(o.key)?o.key.toLowerCase():o.code;!(o.ctrlKey||o.metaKey)||o.altKey||o.shiftKey||!/^(k|p|KeyK|KeyP)$/.test(d)||(o.preventDefault(),o.repeat||b())},c,l=o=>{if(!(c==null||o.ctrlKey||o.metaKey||o.altKey||o.isComposing)){if(o.key==="Escape")c=null;else if(o.key==="Backspace")c=c.slice(0,-1);else if(o.key.length===1)c+=o.key;else if(o.key!=="Enter")return;o.preventDefault(),o.stopImmediatePropagation()}},b=()=>{a||(c=""),a??=import("./switcher-TFSO45KV.js").then(o=>{let d=o.createSwitcher({state:n.get,sections:E,unread:m,other:R,icon:p=>I[k(p)]??"",avatar:p=>g(p,24,t.avatarUrl),navigate:e.navigate,opened:p=>u.get(p)??""});return r.append(d.el),d},o=>{throw a=void 0,c=void 0,o}),a.then(o=>{let d=c;if(c=void 0,d===null)return;o.toggle();let p=o.el.querySelector("input");!d||!p||(p.value=d,p.dispatchEvent(new Event("input")))},()=>{})},C=n.subscribe((o,d)=>{let p=o.activeRoomId??o.activeCollectionId,w=d.activeRoomId??d.activeCollectionId;if(p!==w)for(let f of[w,p])f&&u.set(f,M(Date.now()));o.user?.id!==d.user?.id&&(u.clear(),a?.then(f=>f.el.close(),()=>{}))});return document.addEventListener("keydown",i),document.addEventListener("keydown",l,!0),document.addEventListener(y,b),()=>{document.removeEventListener("keydown",i),document.removeEventListener("keydown",l,!0),document.removeEventListener(y,b),C()}}var U=e=>`Jump to (${e?"\u2318":"Ctrl+"}K)`;function _(e,t=!1){let{title:n,logo:r}=e,a=r?"brand has-logo":"brand",u=r?s("img",{src:r,alt:"",class:"brand-logo"}):null,i=t?O(e):null;return i?s("div",{class:a},[u,s("span",{class:"brand-name"},[s("a",{href:"/",class:"brand-title"},n),i])]):s("a",{href:"/",class:a},[u,s("span",{class:"brand-title"},n)])}function O({title:e},t="span"){return e.trim().toLowerCase()==="chirkle"?null:s(t,{class:"brand-by"},["chirps on ",s("a",{href:"https://chirkle.com",target:"_blank",rel:"noopener"},"Chirkle")])}function N(e){let t=/Mac|iP/.test(navigator.platform);return s("button",{type:"button",class:e?"jump-button ic i-search":"icon-button ic i-search","aria-label":"Jump to",title:U(t),on:{click:()=>document.dispatchEvent(new Event(y))}},e?[s("span",{},"Jump to\u2026"),s("kbd",{"aria-hidden":"true"},t?"\u2318K":"Ctrl K")]:[])}function ge({api:e,store:t}){let n=s("header",{class:"app-bar"});function r(){let u=t.get().user;n.replaceChildren(_(t.get().site),u?s("div",{class:"bar-end"},[N(!1),s("a",{href:"/me",class:"me-link",title:"Your profile"},[g(u,32,e.avatarUrl),s("span",{class:"who"},u.name)])]):s("nav",{class:"guest-links","aria-label":"Account"},[s("a",{href:"/login",class:"guest-link"},"Log in"),s("a",{href:"/signup",class:"guest-link primary"},"Sign up")]))}let a=t.subscribe((u,i)=>{(u.site!==i.site||u.user!==i.user)&&r()});return r(),{el:n,stop:a}}export{z as a,A as b,Q as c,V as d,W as e,X as f,Z as g,ee as h,te as i,ne as j,re as k,m as l,oe as m,E as n,J as o,M as p,j as q,$ as r,B as s,de as t,_ as u,O as v,N as w,ge as x};
2
- //# sourceMappingURL=chunk-GXMWOXBX.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../web/src/lib/time.ts", "../../web/src/store.ts", "../../web/src/jump.ts", "../../web/src/strings/header.ts", "../../web/src/header.ts"],
4
- "sourcesContent": ["import * as S from \"../strings/lib-time.ts\";\n// Time parsing and display (\u00A77.5, \u00A77.6.1). Intl formatters are created once per locale and reused.\n\n/** \"2026-10-10 12:34:56.789Z\" \u2192 epoch ms (NaN for \"\"). */\nexport function parsePb(s: string): number {\n return s ? Date.parse(s.replace(\" \", \"T\")) : NaN;\n}\n\n/** epoch ms \u2192 PocketBase datetime string. Fixed width, so string order is time order. */\nexport function toPb(ms: number): string {\n return new Date(ms).toISOString().replace(\"T\", \" \");\n}\n\nexport function sameDay(a: number, b: number): boolean {\n const x = new Date(a);\n const y = new Date(b);\n return x.getFullYear() === y.getFullYear() && x.getMonth() === y.getMonth() && x.getDate() === y.getDate();\n}\n\nconst sameYear = (a: number, b: number) => new Date(a).getFullYear() === new Date(b).getFullYear();\n\nconst STYLES = {\n time: { hour: \"numeric\", minute: \"2-digit\" },\n dateTime: { month: \"short\", day: \"numeric\", hour: \"numeric\", minute: \"2-digit\" },\n dateTimeYear: { year: \"numeric\", month: \"short\", day: \"numeric\", hour: \"numeric\", minute: \"2-digit\" },\n day: { weekday: \"long\", month: \"long\", day: \"numeric\" },\n dayYear: { weekday: \"long\", year: \"numeric\", month: \"long\", day: \"numeric\" },\n full: { year: \"numeric\", month: \"short\", day: \"numeric\", hour: \"numeric\", minute: \"2-digit\", second: \"2-digit\" },\n} satisfies Record<string, Intl.DateTimeFormatOptions>;\n\nconst cache = new Map<string, Intl.DateTimeFormat>();\n\nfunction fmt(style: keyof typeof STYLES, locale: string | undefined, ms: number): string {\n const key = `${locale ?? \"\"}|${style}`;\n let f = cache.get(key);\n if (!f) {\n f = new Intl.DateTimeFormat(locale, STYLES[style]);\n cache.set(key, f);\n }\n return f.format(ms);\n}\n\n/** Message timestamp: time only for today, date + time otherwise (year only when it differs). */\nexport function formatTime(ms: number, now = Date.now(), locale?: string): string {\n if (sameDay(ms, now)) return fmt(\"time\", locale, ms);\n return fmt(sameYear(ms, now) ? \"dateTime\" : \"dateTimeYear\", locale, ms);\n}\n\n/** Date divider label: \"Today\", \"Yesterday\", or a weekday + date. */\nexport function dayLabel(ms: number, now = Date.now(), locale?: string): string {\n if (sameDay(ms, now)) return \"Today\";\n const yesterday = new Date(now);\n yesterday.setDate(yesterday.getDate() - 1);\n if (sameDay(ms, yesterday.getTime())) return \"Yesterday\";\n return fmt(sameYear(ms, now) ? \"day\" : \"dayYear\", locale, ms);\n}\n\n/** Full timestamp for tooltips (e.g. the \"(edited)\" marker). */\nexport function formatFull(ms: number, locale?: string): string {\n return fmt(\"full\", locale, ms);\n}\n", "// Tiny observable app state (\u00A77.4). Message lists are owned by the room view, not stored here.\n\nimport { type Collections, DEFAULT_SITE, type Room, type Site, type User } from \"./lib/types.ts\";\n\ntype Listener<S> = (state: S, prev: S) => void;\n\nexport interface Store<S extends object> {\n get(): S;\n set(patch: Partial<S> | ((s: S) => Partial<S>)): void;\n subscribe(fn: Listener<S>): () => void;\n}\n\nexport function createStore<S extends object>(initial: S): Store<S> {\n let state = initial;\n const listeners = new Set<Listener<S>>();\n return {\n get: () => state,\n set(patch) {\n const p = typeof patch === \"function\" ? patch(state) : patch;\n if (!(Object.keys(p) as (keyof S)[]).some((k) => p[k] !== state[k])) return;\n const prev = state;\n state = { ...state, ...p };\n for (const fn of [...listeners]) fn(state, prev);\n },\n subscribe(fn) {\n listeners.add(fn);\n return () => listeners.delete(fn);\n },\n };\n}\n\n/** Where the room list is in its load cycle (owned by sync.ts). \"error\" keeps whatever was loaded before. */\nexport type LoadStatus = \"idle\" | \"loading\" | \"ready\" | \"error\";\n\nexport interface AppState {\n user: User | null;\n rooms: Map<string, Room>;\n /** roomId \u2192 hidden_rooms row id (needed to unhide). */\n hidden: Map<string, string>;\n /** roomId \u2192 unread messages (\u00A718); rooms without any are absent. UNCOUNTED until the counts are first in. */\n unread: Map<string, number>;\n /** roomId \u2192 its unread mentions of you and replies to you (\u00A741); rooms without any are absent. */\n mentions: Map<string, number>;\n /** Rows of your \"Mentions & replies\" inbox you haven't seen (\u00A741), at most 100. */\n inbox: number;\n roomsStatus: LoadStatus;\n /** Room list requests out now (the rooms and hidden rows, the unread counts): a line shows over the list (\u00A77.9). */\n listLoads: number;\n activeRoomId: string | null;\n /** Your collections and those you follow (\u00A731); null until loaded (and for guests). */\n collections: Collections | null;\n /** The collection whose page is open. */\n activeCollectionId: string | null;\n /** The tab isn't visible (\u00A722.4): nobody is reading the open room, so its new messages count too. */\n away: boolean;\n /** Branding and signup policy (\u00A724): not the session's, so it stays when the session ends. */\n site: Site;\n}\n\n/** `unread` before the counts are in (just after a reload): a room opened then asks where its unread messages start (QA BUG-93). */\nexport const UNCOUNTED: Map<string, number> = new Map();\n\nexport const initialState = (): AppState => ({\n user: null,\n rooms: new Map(),\n hidden: new Map(),\n unread: UNCOUNTED,\n mentions: new Map(),\n inbox: 0,\n roomsStatus: \"idle\",\n listLoads: 0,\n activeRoomId: null,\n collections: null,\n activeCollectionId: null,\n away: false,\n site: DEFAULT_SITE,\n});\n\n// ---- updates: pass to store.set(). Maps are replaced, never mutated, so listeners can compare by identity.\n\ntype Update = (s: AppState) => Partial<AppState>;\n\n/** A room list request went out (1) or is back (-1). */\nexport const listLoad =\n (d: 1 | -1): Update =>\n (s) => ({ listLoads: s.listLoads + d });\n\nexport function upsertRoom(r: Room): Update {\n return (s) => ({ rooms: new Map(s.rooms).set(r.id, r) });\n}\n\nexport function removeRoom(roomId: string): Update {\n return (s) => {\n const rooms = new Map(s.rooms);\n rooms.delete(roomId);\n return { rooms };\n };\n}\n\nexport function markHidden(roomId: string, rowId: string): Update {\n return (s) => ({ hidden: new Map(s.hidden).set(roomId, rowId) });\n}\n\n/** The room is no longer hidden (e.g. a DM reopened by POST /api/chat/dms, which deleted the row). */\nexport function unmarkHiddenRoom(roomId: string): Update {\n return (s) => {\n if (!s.hidden.has(roomId)) return {};\n const hidden = new Map(s.hidden);\n hidden.delete(roomId);\n return { hidden };\n };\n}\n\n/** Forget a hidden_rooms row (realtime deletes only carry the row id, not the room). */\nexport function unmarkHidden(rowId: string): Update {\n return (s) => ({ hidden: new Map([...s.hidden].filter(([, row]) => row !== rowId)) });\n}\n\n/** One more unread message in the room (a live event, \u00A718.3). */\nexport function bumpUnread(roomId: string): Update {\n return (s) => ({ unread: new Map(s.unread).set(roomId, (s.unread.get(roomId) ?? 0) + 1) });\n}\n\n/** The room has been read (\u00A718.3). */\nexport function clearUnread(roomId: string): Update {\n return (s) => {\n if (!s.unread.has(roomId) && !s.mentions.has(roomId)) return {};\n const unread = new Map(s.unread);\n const mentions = new Map(s.mentions);\n unread.delete(roomId);\n mentions.delete(roomId);\n return { unread, mentions };\n };\n}\n\n// ---- selectors\n\n/**\n * The badge for a room (\u00A718.4): none for hidden or archived rooms, which stay silent (\u00A713). The room you are in keeps\n * its badge (and its place among the unread) until you have scrolled down to its newest messages (2026-11-02).\n */\nexport function unreadCount(s: AppState, room: Room): number {\n if (room.archived || s.hidden.has(room.id)) return 0;\n return s.unread.get(room.id) ?? 0;\n}\n\n/** A room's \"@\" (\u00A741): it has unread messages that mention you or reply to you. */\nexport const mentioned = (s: AppState, room: Room): boolean => !!unreadCount(s, room) && !!s.mentions.get(room.id);\n\n/** One collator for every sort: `localeCompare` with options builds a new one per comparison, which is slow. */\nconst collator = new Intl.Collator(undefined, { sensitivity: \"base\" });\nconst byName = (a: Room, b: Room) => collator.compare(a.name, b.name);\n\n/** Most recent activity first: the latest message, or creation for a DM without one yet. */\nconst byActivity = (a: Room, b: Room) => {\n const at = a.last_message_at || a.created || \"\";\n const bt = b.last_message_at || b.created || \"\";\n return at < bt ? 1 : at > bt ? -1 : a.id.localeCompare(b.id);\n};\n\n/**\n * Room list sections (\u00A77.1, \u00A716.5). Archived wins over hidden. Open DMs are listed by activity; closed\n * (hidden) DMs are left out entirely, and a DM is never archived. A DM nobody has written in yet is listed only for\n * the member who opened it, so just opening one doesn't show up for the other person (QA BUG-29), and while it is\n * open: the other member may have opened it too, and their DM must not be missing from their own list (QA BUG-37).\n * Rooms and DMs with unread messages are listed first.\n */\nexport function roomSections(s: AppState): { rooms: Room[]; dms: Room[]; hidden: Room[]; archived: Room[] } {\n const rooms: Room[] = [];\n const dms: Room[] = [];\n const hidden: Room[] = [];\n const archived: Room[] = [];\n for (const r of s.rooms.values()) {\n if (r.kind === \"dm\") {\n const started = !!r.last_message_at || r.created_by === s.user?.id || r.id === s.activeRoomId;\n if (started && !s.hidden.has(r.id)) dms.push(r);\n } else if (r.archived) archived.push(r);\n else if (s.hidden.has(r.id)) hidden.push(r);\n else rooms.push(r);\n }\n // Rooms and DMs with unread messages first, each group in its usual order.\n const unreadFirst = (by: (a: Room, b: Room) => number) => (a: Room, b: Room) =>\n Number(!unreadCount(s, a)) - Number(!unreadCount(s, b)) || by(a, b);\n return {\n rooms: rooms.sort(unreadFirst(byName)),\n dms: dms.sort(unreadFirst(byActivity)),\n hidden: hidden.sort(byName),\n archived: archived.sort(byName),\n };\n}\n", "// Jump to (\u00A732): Ctrl+K or Ctrl+P (\u2318 too) anywhere, or the sidebar's \"Jump to\u2026\" button (a JUMP event), opens the\n// switcher, a lazy chunk loaded on the first press. Also\n// keeps when each room and collection was last opened, for its \"most recent first\" (QA BUG-134).\n\nimport type { Api } from \"./api.ts\";\nimport { otherMember, visibilityOf } from \"./lib/rooms.ts\";\nimport { toPb } from \"./lib/time.ts\";\nimport { type AppState, roomSections, type Store, unreadCount } from \"./store.ts\";\nimport { avatar } from \"./ui/avatar.ts\";\nimport type { Switcher } from \"./views/switcher.ts\";\n\n/** Sent on document by the sidebar's \"Jump to\u2026\" button. */\nexport const JUMP = \"chirkle-jump\";\n\n/** The switcher's icon for a private and an Open Air room; \"#\" for a public one. */\nconst ICONS: Record<string, string> = { private: \"ic i-lock\", open: \"ic i-globe\" };\n\nexport function startJumpTo(o: { api: Api; store: Store<AppState>; root: HTMLElement; navigate: (path: string) => void }): () => void {\n const { api, store, root } = o;\n let switcher: Promise<Switcher> | undefined;\n const opened = new Map<string, string>();\n\n const onKey = (e: KeyboardEvent) => {\n // By the letter typed, or by the key's place when it types no Latin letter (a Cyrillic layout).\n const k = /^[a-z]$/i.test(e.key) ? e.key.toLowerCase() : e.code;\n if (!(e.ctrlKey || e.metaKey) || e.altKey || e.shiftKey || !/^(k|p|KeyK|KeyP)$/.test(k)) return;\n e.preventDefault(); // not the browser's search bar or printing\n if (!e.repeat) toggle(); // held down: not open, closed, open\u2026 (QA BUG-137)\n };\n\n /**\n * While the chunk loads (the first time, slow on a slow network): what is typed meanwhile, for the field once it shows,\n * not for the composer behind it, where an Enter would send it (QA BUG-205). Null: Escape, so it doesn't show.\n */\n let early: string | null | undefined;\n const hold = (e: KeyboardEvent) => {\n if (early == null || e.ctrlKey || e.metaKey || e.altKey || e.isComposing) return;\n if (e.key === \"Escape\") early = null;\n else if (e.key === \"Backspace\") early = early.slice(0, -1);\n else if (e.key.length === 1) early += e.key;\n else if (e.key !== \"Enter\") return;\n e.preventDefault();\n e.stopImmediatePropagation();\n };\n\n const toggle = () => {\n if (!switcher) early = \"\";\n switcher ??= import(\"./views/switcher.ts\").then(\n (m) => {\n const s = m.createSwitcher({\n state: store.get,\n sections: roomSections,\n unread: unreadCount,\n other: otherMember,\n icon: (r) => ICONS[visibilityOf(r)] ?? \"\",\n avatar: (u) => avatar(u, 24, api.avatarUrl),\n navigate: o.navigate,\n opened: (id) => opened.get(id) ?? \"\",\n });\n root.append(s.el);\n return s;\n },\n (err: unknown) => {\n switcher = undefined; // tried again next time\n early = undefined;\n throw err;\n },\n );\n switcher.then(\n (s) => {\n const typed = early;\n early = undefined;\n if (typed === null) return;\n s.toggle();\n const input = s.el.querySelector(\"input\");\n if (!typed || !input) return;\n input.value = typed;\n input.dispatchEvent(new Event(\"input\"));\n },\n () => {},\n );\n };\n\n const offStore = store.subscribe((s, prev) => {\n // The page left too: the first one may have opened before this listened.\n const open = s.activeRoomId ?? s.activeCollectionId;\n const left = prev.activeRoomId ?? prev.activeCollectionId;\n if (open !== left) for (const id of [left, open]) if (id) opened.set(id, toPb(Date.now()));\n if (s.user?.id !== prev.user?.id) {\n // Someone else's rooms from here on: not the last user's list, nor where they went (QA BUG-136).\n opened.clear();\n switcher?.then(\n (x) => x.el.close(),\n () => {},\n );\n }\n });\n document.addEventListener(\"keydown\", onKey);\n document.addEventListener(\"keydown\", hold, true);\n document.addEventListener(JUMP, toggle);\n return () => {\n document.removeEventListener(\"keydown\", onKey);\n document.removeEventListener(\"keydown\", hold, true);\n document.removeEventListener(JUMP, toggle);\n offStore();\n };\n}\n", "// The user-facing text of header.ts (docs/REFACTOR.md item 56): one module per source file, so a lazy\n// screen's text stays in its own chunk. Copy changes here; a translation would replace these.\n\nexport const JUMP_TO = \"Jump to\";\nexport const jumpToK = (mac: boolean) => `Jump to (${mac ? \"\u2318\" : \"Ctrl+\"}K)`;\nexport const CTRL_K = \"Ctrl K\";\nexport const JUMP_TO_ELLIPSIS = \"Jump to\u2026\";\nexport const YOUR_PROFILE = \"Your profile\";\nexport const ACCOUNT = \"Account\";\nexport const LOG_IN = \"Log in\";\nexport const SIGN_UP = \"Sign up\";\nexport const CHIRPS_ON = \"chirps on \";\n", "// The app bar (\u00A77.1), shown on phones and on the pages without a sidebar: the site's logo and title (\u00A724), then\n// \"Jump to\" (\u00A732) and who is logged in (a link to the profile, \u00A722.2) or, for a guest, the way in (\u00A723.3). Drawn\n// again when the site or the user changes. Next to the sidebar the sidebar shows the same (rooms.ts).\n\nimport type { Api } from \"./api.ts\";\nimport { h } from \"./dom.ts\";\nimport { JUMP } from \"./jump.ts\";\nimport type { Site } from \"./lib/types.ts\";\nimport type { AppState, Store } from \"./store.ts\";\nimport * as S from \"./strings/header.ts\";\nimport { avatar } from \"./ui/avatar.ts\";\n\n/** The site's logo and title, a link home. `by`: with \"chirps on Chirkle\" under the title (byLine), the title then\n * being the link home, stretched over the whole brand, so that line can hold a link of its own. */\nexport function brand(site: Site, by = false): HTMLElement {\n const { title, logo } = site;\n const cls = logo ? \"brand has-logo\" : \"brand\";\n const img = logo ? h(\"img\", { src: logo, alt: \"\", class: \"brand-logo\" }) : null;\n const line = by ? byLine(site) : null;\n if (!line) return h(\"a\", { href: \"/\", class: cls }, [img, h(\"span\", { class: \"brand-title\" }, title)]);\n return h(\"div\", { class: cls }, [img, h(\"span\", { class: \"brand-name\" }, [h(\"a\", { href: \"/\", class: \"brand-title\" }, title), line])]);\n}\n\n/** \"chirps on Chirkle\", linking to chirkle.com: the small print under a site's own name in the sidebar and on the login\n * page. None for a site still called Chirkle, which would say it twice. */\nexport function byLine({ title }: Site, tag: \"span\" | \"p\" = \"span\"): HTMLElement | null {\n if (title.trim().toLowerCase() === \"chirkle\") return null;\n return h(tag, { class: \"brand-by\" }, [\n \"chirps on \",\n h(\"a\", { href: \"https://chirkle.com\", target: \"_blank\", rel: \"noopener\" }, \"Chirkle\"),\n ]);\n}\n\n/** Opens Jump to (\u00A732); `text` shows its name and shortcut next to the icon. */\nexport function jumpButton(text: boolean): HTMLElement {\n const mac = /Mac|iP/.test(navigator.platform);\n return h(\n \"button\",\n {\n type: \"button\",\n class: text ? \"jump-button ic i-search\" : \"icon-button ic i-search\",\n \"aria-label\": \"Jump to\",\n title: S.jumpToK(mac),\n on: { click: () => document.dispatchEvent(new Event(JUMP)) },\n },\n text ? [h(\"span\", {}, \"Jump to\u2026\"), h(\"kbd\", { \"aria-hidden\": \"true\" }, mac ? \"\u2318K\" : \"Ctrl K\")] : [],\n );\n}\n\nexport function createHeader({ api, store }: { api: Api; store: Store<AppState> }): { el: HTMLElement; stop: () => void } {\n const el = h(\"header\", { class: \"app-bar\" });\n\n function render() {\n const user = store.get().user;\n el.replaceChildren(\n brand(store.get().site),\n user\n ? h(\"div\", { class: \"bar-end\" }, [\n jumpButton(false),\n h(\"a\", { href: \"/me\", class: \"me-link\", title: \"Your profile\" }, [\n avatar(user, 32, api.avatarUrl),\n h(\"span\", { class: \"who\" }, user.name),\n ]),\n ])\n : h(\"nav\", { class: \"guest-links\", \"aria-label\": \"Account\" }, [\n h(\"a\", { href: \"/login\", class: \"guest-link\" }, \"Log in\"),\n h(\"a\", { href: \"/signup\", class: \"guest-link primary\" }, \"Sign up\"),\n ]),\n );\n }\n\n const stop = store.subscribe((s, prev) => {\n if (s.site !== prev.site || s.user !== prev.user) render();\n });\n render();\n return { el, stop };\n}\n"],
5
- "mappings": "uKAIO,SAASA,EAAQC,EAAmB,CACzC,OAAOA,EAAI,KAAK,MAAMA,EAAE,QAAQ,IAAK,GAAG,CAAC,EAAI,GAC/C,CAGO,SAASC,EAAKC,EAAoB,CACvC,OAAO,IAAI,KAAKA,CAAE,EAAE,YAAY,EAAE,QAAQ,IAAK,GAAG,CACpD,CAEO,SAASC,EAAQC,EAAWC,EAAoB,CACrD,IAAMC,EAAI,IAAI,KAAKF,CAAC,EACdG,EAAI,IAAI,KAAKF,CAAC,EACpB,OAAOC,EAAE,YAAY,IAAMC,EAAE,YAAY,GAAKD,EAAE,SAAS,IAAMC,EAAE,SAAS,GAAKD,EAAE,QAAQ,IAAMC,EAAE,QAAQ,CAC3G,CAEA,IAAMC,EAAW,CAACJ,EAAWC,IAAc,IAAI,KAAKD,CAAC,EAAE,YAAY,IAAM,IAAI,KAAKC,CAAC,EAAE,YAAY,EAE3FI,EAAS,CACb,KAAM,CAAE,KAAM,UAAW,OAAQ,SAAU,EAC3C,SAAU,CAAE,MAAO,QAAS,IAAK,UAAW,KAAM,UAAW,OAAQ,SAAU,EAC/E,aAAc,CAAE,KAAM,UAAW,MAAO,QAAS,IAAK,UAAW,KAAM,UAAW,OAAQ,SAAU,EACpG,IAAK,CAAE,QAAS,OAAQ,MAAO,OAAQ,IAAK,SAAU,EACtD,QAAS,C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A,EAAE,IAAK,CAAE,KAAM,UAAW,MAAO,oBAAqB,EAAG,SAAS,CACpE,CAAC,CACP,CACF,CAEA,IAAMgB,EAAOL,EAAM,UAAU,CAACM,EAAGC,IAAS,EACpCD,EAAE,OAASC,EAAK,MAAQD,EAAE,OAASC,EAAK,OAAML,EAAO,CAC3D,CAAC,EACD,OAAAA,EAAO,EACA,CAAE,GAAAD,EAAI,KAAAI,CAAK,CACpB",
6
- "names": ["parsePb", "s", "toPb", "ms", "sameDay", "a", "b", "x", "y", "sameYear", "STYLES", "cache", "fmt", "style", "locale", "key", "f", "formatTime", "now", "dayLabel", "yesterday", "formatFull", "createStore", "initial", "state", "listeners", "patch", "p", "k", "prev", "fn", "UNCOUNTED", "initialState", "DEFAULT_SITE", "listLoad", "d", "s", "upsertRoom", "r", "removeRoom", "roomId", "rooms", "markHidden", "rowId", "unmarkHiddenRoom", "hidden", "unmarkHidden", "row", "bumpUnread", "clearUnread", "unread", "mentions", "unreadCount", "room", "mentioned", "collator", "byName", "a", "b", "byActivity", "at", "bt", "roomSections", "dms", "archived", "unreadFirst", "by", "JUMP", "ICONS", "startJumpTo", "o", "api", "store", "root", "switcher", "opened", "onKey", "e", "k", "toggle", "early", "hold", "m", "s", "roomSections", "unreadCount", "otherMember", "r", "visibilityOf", "u", "avatar", "id", "err", "typed", "input", "offStore", "prev", "open", "left", "toPb", "x", "jumpToK", "mac", "brand", "site", "by", "title", "logo", "cls", "img", "h", "line", "byLine", "tag", "jumpButton", "text", "mac", "jumpToK", "JUMP", "createHeader", "api", "store", "el", "render", "user", "avatar", "stop", "s", "prev"]
7
- }
@@ -1,2 +0,0 @@
1
- function x(){let e=new AbortController,t=[];return{signal:e.signal,get active(){return!e.signal.aborted},defer(n){e.signal.aborted?n():t.push(n)},sub(n){n.catch(()=>{}),this.defer(()=>n.then(a=>a()).catch(()=>{}))},dispose(){if(!e.signal.aborted){e.abort();for(let n of t.reverse())try{n()}catch{}t.length=0}}}}var d=new Set(["image/jpeg","image/png","image/webp"]);function h(e,t,n){let a=Math.min(1,n/Math.max(e,t,1));return{width:Math.max(1,Math.round(e*a)),height:Math.max(1,Math.round(t*a))}}function f(e,t){return typeof OffscreenCanvas=="function"?new OffscreenCanvas(e,t):Object.assign(document.createElement("canvas"),{width:e,height:t})}function b(e,t){return"convertToBlob"in e?e.convertToBlob({type:t,quality:.85}).catch(()=>null):new Promise(n=>e.toBlob(n,t,.85))}async function C(e,t){if(!d.has(e.type)||typeof createImageBitmap!="function")return e;let n;try{n=await createImageBitmap(e);let{width:a,height:r}=h(n.width,n.height,t),u=f(a,r),m=u.getContext("2d");if(!m)return e;m.drawImage(n,0,0,a,r);let o=e.type==="image/png"?"image/png":"image/jpeg",l=await b(u,o);if(l?.type!==o)return e;let p=(o==="image/png"?/\.png$/i.test(e.name):/\.jpe?g$/i.test(e.name))?e.name:`${e.name.replace(/\.[^.]*$/,"")||"image"}.${o==="image/png"?"png":"jpg"}`;return new File([l],p,{type:o,lastModified:e.lastModified})}catch{return e}finally{n?.close()}}var w=["auto","light","dark"],i="chat.theme",v={light:"#f1eefc",dark:"#111214"};function c(){try{return globalThis.localStorage??null}catch{return null}}function g(e=c()){try{let t=e?.getItem(i);return t==="light"||t==="dark"?t:"auto"}catch{return"auto"}}function s(e,t=document){let n=t.documentElement;e==="auto"?delete n.dataset.theme:n.dataset.theme=e;for(let a of t.querySelectorAll('meta[name="theme-color"]')){let r=a.media.includes("dark")?"dark":"light";a.content=v[e==="auto"?r:e]}}function M(e,t=c()){try{e==="auto"?t?.removeItem(i):t?.setItem(i,e)}catch{}s(e)}function S(e=c()){s(g(e));let t=new AbortController;return addEventListener("storage",n=>{(n.key===i||n.key===null)&&s(g(e))},{signal:t.signal}),()=>t.abort()}export{x as a,C as b,w as c,i as d,g as e,M as f,S as g};
2
- //# sourceMappingURL=chunk-IFQGGTSP.js.map