diff --git a/CLAUDE.md b/CLAUDE.md index 4e3e729..4b90adc 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -181,6 +181,8 @@ Routes load their page modules on demand. Document-level page styles must be gat The identity dialog retains page-owned CSS with narrowly targeted `:deep` selectors so the existing declaration order and specificity remain intact. Shared button rules target its dedicated classes across the component boundary. Its close button is positioned within the modal. Public skin-contract tests include Vue files recursively under `components/web-client`; keep new public parts documented. +The public join form uses explicit named field models and emits page actions. The chat panel receives a presentation subset of the single page-owned chat controller; keep its list ref bound to the rendered scroller so tab changes and new messages retain automatic scrolling. Form grid columns must allow shrinking, and narrow identity/relay controls must wrap without clipping translated text. + Admin presentation components receive stable feature controllers; do not instantiate duplicate controllers in children. The welcome-language model remains page-owned and the skin file input belongs to its presentation component. Feature CSS crosses these boundaries with `:deep`, while shell and language-control selectors retain their existing scope. On narrow screens the brand and logout occupy the first row and all four navigation links share a separate row with at least 44 px high targets. Keep each repair batch tied to its current plan item. Combine related fixes before running the full verification command; use focused checks during diagnosis and repeat the full suite only when subsequent changes or failures warrant it. diff --git a/docs/CODE_REFACTOR_PLAN.zh-CN.md b/docs/CODE_REFACTOR_PLAN.zh-CN.md index c47b524..586d0b2 100644 --- a/docs/CODE_REFACTOR_PLAN.zh-CN.md +++ b/docs/CODE_REFACTOR_PLAN.zh-CN.md @@ -1,18 +1,18 @@ # WebSpeak 代码待修改清单与修改方向 -本文聚焦 `webspeak-webclient`,记录当前代码结构、待修改项、大致修改方向与验收条件。本批收尾三个管理展示组件并修复窄屏导航;统一验证通过 385 项测试及前后端构建。待办分为结构整理、已有改动验收和真实环境验证;缺少验证证据的事项不直接认定为代码故障。 +本文聚焦 `webspeak-webclient`,记录当前代码结构、待修改项、大致修改方向与验收条件。本批提取加入表单与聊天面板,并修复加入表单长文案在窄屏撑宽的问题;统一验证通过 385 项测试及前后端构建,后续样式修复通过前端构建及 11 项皮肤检查。待办分为结构整理、已有改动验收和真实环境验证;缺少验证证据的事项不直接认定为代码故障。 -按用户要求,每批仅处理当前节点相关问题,合并相关修复后统一验证,不扩展到无关模块。管理页主要交互与布局已检查,原生确认框阻塞的操作验收单独保留。后续逐区拆分客户端模板;样式整理单独进行。真实消息兼容、TeamSpeak 媒体、Android 真机及发布复现独立跟踪,可提前安排。媒体、连接、命令、诊断、消息、身份及公共皮肤状态已有独立模块,继续复用。当前待办和实施方向放在前部,历史修复及验证记录保留在后部。 +按用户要求,每批仅处理当前节点相关问题,合并相关修复后统一验证,不扩展到无关模块。管理页主要交互与布局已检查,原生确认框阻塞的操作验收单独保留。加入表单与聊天面板已拆分;后续处理频道成员、音频设置等区域,样式格式整理单独进行。真实消息兼容、TeamSpeak 媒体、Android 真机及发布复现独立跟踪,可提前安排。媒体、连接、命令、诊断、消息、身份及公共皮肤状态已有独立模块,继续复用。当前待办和实施方向放在前部,历史修复及验证记录保留在后部。 ## 范围与依据 - 记录日期:2026 年 10 月 1 日。 -- 当前记录基线:`dev` 分支,`19ac9a98695935175db0cb3e423b725736c8b8f6`;应用版本 `0.2.5-preview`。以下现状包含当前工作区,不能全部归为该提交的内容。 -- 本批接续管理页已有五处源码与测试改动及三个展示组件;修复范围限于这些组件、导航及所属样式,不改动媒体、协议、数据库或依赖。 -- 本次恢复施工后,在节点检查结束时执行一次 `npm run verify`:38 个测试文件中的 385 项测试通过,后端编译、前端类型检查与生产构建通过。 +- 当前记录基线:`dev` 分支,`0f39fc75513d39a15b3f6b28ee806888f8b58010`;应用版本 `0.2.5-preview`。以下现状包含当前工作区,不能全部归为该提交的内容。 +- 本批仅处理 06-C 的加入表单、聊天面板、所属样式和相应测试定位;状态控制器、协议、媒体、数据库和依赖未变。 +- 两个组件合并验证:首次 `npm run verify` 有两项源码检查仍指向旧模板或旧选择器,更新检查位置后全量重跑,385 项测试及前后端构建通过。浏览器随后发现表单窄屏问题,集中调整样式后只补跑前端构建和 11 项皮肤检查,均通过。 - 既有皮肤修复记录记载新增 23 项测试,以及 `npm run verify` 通过 385 项测试和前后端构建;其中 5 项先复现旧结果覆盖及失效归属问题。这些是此前批次的验证结果,不是本轮重新执行的结果。 -- 浏览器验收使用本机内存数据库、模拟认证与受控响应;覆盖管理表单、路由、邀请、皮肤导入及启停、保存回滚、退出与认证失效。四路由、五语、320/390/768/1280 像素的 80 组边界检查通过;另检查浅色窄屏和键盘导航。它们不证明真实 TeamSpeak 或生产鉴权链路。 -- 基线 `19ac9a9` 的 CI 与 Docker 健康检查已确认成功;本批管理改动需使用自己的提交核对远端结果。 +- 本批浏览器使用实际前端及 HTTP/WebSocket 桥接、模拟 TeamSpeak 客户端和受控加入凭证响应。表单与聊天各完成五语、三皮肤、320/390/1280 像素共 45 组 DOM 边界检查;主要交互见下节。模拟服务结果不能证明真实 TeamSpeak 消息或媒体兼容。管理页此前的 80 组检查保留在验收记录。 +- 管理批次基线 `0f39fc7` 的 CI 与 Docker 健康检查已确认成功(运行 36843893787);本批客户端改动需使用自己的提交核对远端结果。 - 下文“代码可确认”指控制流或配置可直接支持的判断;具体故障发生条件仍需回归用例验证。“待验收”表示证据尚缺,不等于已发生故障。P1/P2/P3 表示建议实施顺序,不代表安全漏洞等级。 - 后文身份、消息、媒体、皮肤等“实施记录”属于此前批次;其中“本批”指各记录对应的历史批次。当前待办以本页前部状态表为准。 @@ -31,7 +31,7 @@ | 浏览器连接与命令 | `web/src/voice/connection.ts`、`commands.ts` | 连接模块 132 行,拥有请求取消、期限、socket 与代次;命令模块 59 行,拥有确认等待及统一收尾 | | 浏览器诊断 | `web/src/voice/audio-diagnostics.ts`、`web/src/composables/useWebClientPerformance.ts` | 采样模块 168 行,拥有等待、来源范围与兼容计数;面板 composable 管理轮询和可比样本的展示 | | 会话消息状态 | `web/src/voice/session-state.ts` | 172 行;拥有成员与频道、聊天历史、事件、通知、会话范围和私聊身份映射 | -| 页面与业务状态 | `web/src/views/`、`web/src/composables/` | 主页面 1,043 行,当前工作区管理页 251 行;聊天 composable 管理按会话和对象隔离的草稿、发送等待及反馈 | +| 页面与业务状态 | `web/src/views/`、`web/src/composables/` | 主页面 983 行,管理页 251 行;聊天 composable 管理按会话和对象隔离的草稿、发送等待及反馈 | | 管理展示组件 | `web/src/components/admin/` | 服务器设置 125 行、运维 39 行、皮肤 48 行;状态仍由父页创建,主要表单与路由交互已验收 | | 身份导入与导出 | `useWebClientIdentity.ts`、`components/web-client/IdentityImportDialog.vue` | 159 行状态模块与 53 行展示组件;异步操作、启动恢复与导出资源独立归属 | | 前端基础服务 | `web/src/services/`、`web/src/i18n/`、`web/src/skins/` | 请求、浏览器存储、身份导入、主题、皮肤及多语言;皮肤运行时的提交受取消和期限保护 | @@ -49,7 +49,7 @@ | 编号 | 优先级 | 待办及依据 | 大致修改方向 | 完成条件 | | --- | --- | --- | --- | --- | -| 06-C 客户端 | P2 | 待重构:主页面已有业务模块,加入、聊天、成员、设置等模板仍集中 | 一次拆一个稳定界面区域,页面保留连接和状态编排 | 表单、五语、主题、皮肤接口、键盘与窄屏布局保持一致 | +| 06-C 客户端 | P2 | 加入表单与聊天已提取并完成本批交互检查;频道成员、音频与设置模板仍集中 | 按区域提取,相关区域合并验收;页面保留连接和状态编排 | 表单、五语、主题、皮肤接口、键盘与窄屏布局保持一致 | | 06-C 管理页 | P2 | 展示拆分与主要交互已完成;移除皮肤时原生确认框使浏览器工具卡住,移除、断开会话及下载的完整浏览器流程仍缺记录 | 保留确认与业务逻辑,工具恢复或人工检查时补验,不为绕过工具问题重写功能 | 移除、断开与下载的实际结果有记录;状态及接口测试不能替代完整浏览器链路 | | 03 | P2 | 共享契约已落地,真实收发与旧客户端兼容仍缺验收证据 | 用脱敏的实际消息样本核对字段、默认值、非法输入及兼容范围 | 两端解析一致;非法消息受控处理,不误丢有效事件 | | 02-C | P2 | 本机与边界替身测试不能证明真实媒体链路 | 建立真实 TeamSpeak 双向语音、WebRTC 回退、伴奏和多用户验收步骤 | 记录版本、浏览器、网络、设备、步骤及实际结果 | @@ -80,21 +80,21 @@ ### 06-C 页面组件 -当前依据:[WebClient.vue](/Desktop/othercode/teamspeakclient4web/webspeak-webclient/web/src/views/WebClient.vue:1) 有 1,043 行,身份导入与皮肤状态已独立,其余模板仍同时承载加入页、语音活动、聊天、频道成员、音频控制和多个弹窗。[AdminView.vue](/Desktop/othercode/teamspeakclient4web/webspeak-webclient/web/src/views/AdminView.vue:41) 已由 400 行减至 251 行,三个管理模板迁移到独立组件。管理页剩余浏览器验收缺口见前表,客户端继续明确展示边界;不以文件长度推定运行故障。 +当前依据:[WebClient.vue](/Desktop/othercode/teamspeakclient4web/webspeak-webclient/web/src/views/WebClient.vue:1) 有 983 行,加入表单、聊天面板与身份导入已独立;父页仍承载语音活动、频道成员、音频控制和多个弹窗。[AdminView.vue](/Desktop/othercode/teamspeakclient4web/webspeak-webclient/web/src/views/AdminView.vue:41) 已由 400 行减至 251 行,三个管理模板迁移到独立组件。管理页剩余浏览器验收缺口见前表,客户端继续明确展示边界;不以文件长度推定运行故障。 -以下名称为建议,实施时按实际接口确定。先迁移一个区域并验收,再迁移下一处,避免同时重写模板和业务状态。 +以下名称为建议,实施时按实际接口确定。按稳定区域迁移,相关展示区域合并后统一验收,避免同时重写模板和业务状态。 | 区域 | 建议组件及职责 | 状态保留位置与接口 | 重点验收 | | --- | --- | --- | --- | -| 加入页 | `JoinForm` 展示目标、昵称、频道、身份选项与连接状态 | 连接与历史仍由现有 composable 管理;表单用明确字段模型,提交、取消和导入用事件 | 固定与开放模式、收藏与历史、连接等待及取消、密码交互 | +| 加入页,已提取 | `JoinForm` 展示目标、昵称、频道、身份选项与连接状态 | 连接与历史仍由现有 composable 管理;表单用明确字段模型,提交、取消和导入用事件 | 固定与开放模式、收藏与历史、连接等待及取消、密码交互 | | 频道与成员 | `ChannelMemberPanel` 展示层级、成员状态和操作入口 | 复用 `useWebClientChannels` 与 `useWebClientMembers`;移动、私语、私聊等动作交回已有控制层 | 搜索、展开、频道切换、桌面拖放与触屏操作、菜单定位 | -| 聊天 | `ChatPanel` 展示标签、历史、草稿和发送反馈 | 草稿与待确认状态继续由单一 `useWebClientChat` 实例管理;保留外部打开私聊的入口 | 切标签保留草稿、发送失败与重试、目标离线、滚动和移动端切页 | +| 聊天,已提取 | `ChatPanel` 展示标签、历史、草稿和发送反馈 | 草稿与待确认状态继续由单一 `useWebClientChat` 实例管理;保留外部打开私聊的入口 | 切标签保留草稿、发送失败与重试、目标离线、滚动和移动端切页 | | 音频与弹窗 | 身份导入已提取;继续拆音频工具栏、设置面板及密码弹窗 | 媒体仍由语音控制模块拥有;设置关闭触发现有清理;身份状态复用已完成的 06-H | 静音、音量、设备切换、试听、焦点、Esc 关闭及资源释放 | -| 管理功能页,已有工作区实现 | `AdminServerSettings`、`AdminOperations`、`AdminSkins` 已提取,先验收这三个边界 | 父页创建三个管理 composable,通过稳定 `model` 对象传入;登录、CSRF、路由与总览仍在页面;欢迎词语言用具名模型传递,WebRTC 提示用事件返回 | 保存期间继续编辑、请求失败保留草稿、欢迎词语言、退出失败、路由切换、皮肤文件选择及操作互斥 | +| 管理功能页,已提交 | `AdminServerSettings`、`AdminOperations`、`AdminSkins` 已提取,先验收这三个边界 | 父页创建三个管理 composable,通过稳定 `model` 对象传入;登录、CSRF、路由与总览仍在页面;欢迎词语言用具名模型传递,WebRTC 提示用事件返回 | 保存期间继续编辑、请求失败保留草稿、欢迎词语言、退出失败、路由切换、皮肤文件选择及操作互斥 | 接口只传该区域需要的状态和动作,避免把整页上下文塞进一个对象,也避免父子各自实例化同一个业务 composable。管理组件当前使用 `ReturnType` 描述功能控制器,并在 setup 中解构,因此依赖父页维持同一控制器实例;若后续支持替换实例,需要同步调整读取方式。可以用 `Pick` 或专用接口缩小暴露范围,但不为形式重写已明确的状态归属。展示辅助函数如头像、时间格式在确有多处复用时集中,不额外引入全局状态层。 -样式需要随组件边界一并核对。[客户端样式入口](/Desktop/othercode/teamspeakclient4web/webspeak-webclient/web/src/views/WebClient.vue:1043)和[管理页样式入口](/Desktop/othercode/teamspeakclient4web/webspeak-webclient/web/src/views/AdminView.vue:251)均使用 `scoped`,当前 CSS 分别为 1,299 与 451 行。身份弹窗已有针对组件的 `:deep` 规则;管理页当前改动将大量功能区选择器改为 `:deep`,并保留部分外壳和语言控件选择器的原作用范围。不要把这项源码变化直接等同于视觉一致:需对比子组件内部、共享按钮与语言菜单的字体、间距、尺寸、折行,以及样式声明顺序和优先级。必要时改为组件自有样式或更窄的区域选择器,保留明暗主题、`data-ws-part` 和路由隔离,管理页保持独立于公开皮肤。 +样式需要随组件边界一并核对。[客户端样式入口](/Desktop/othercode/teamspeakclient4web/webspeak-webclient/web/src/views/WebClient.vue:983)和[管理页样式入口](/Desktop/othercode/teamspeakclient4web/webspeak-webclient/web/src/views/AdminView.vue:251)均使用 `scoped`,当前 CSS 分别为 1,303 与 451 行。身份弹窗已有针对组件的 `:deep` 规则;管理页当前改动将大量功能区选择器改为 `:deep`,并保留部分外壳和语言控件选择器的原作用范围。不要把这项源码变化直接等同于视觉一致:需对比子组件内部、共享按钮与语言菜单的字体、间距、尺寸、折行,以及样式声明顺序和优先级。必要时改为组件自有样式或更窄的区域选择器,保留明暗主题、`data-ws-part` 和路由隔离,管理页保持独立于公开皮肤。 测试也需跟随边界调整:[皮肤节点检查](/Desktop/othercode/teamspeakclient4web/webspeak-webclient/web/src/services/skin-pack.test.ts:80)在当前工作区已递归读取 `components/web-client` 和 `components/admin` 下的 Vue 文件,保留公开节点契约及管理页隔离检查。[管理页状态测试](/Desktop/othercode/teamspeakclient4web/webspeak-webclient/web/test/admin-view.test.mjs:79)已改为读取父页功能模型,仍用 `render: () => null` 替换模板,不能单独证明子组件的字段与事件接线正确。后续验收必须覆盖真实渲染的表单、按钮和路由交互;这属于测试覆盖边界,不能推定测试已发现业务故障。 @@ -102,7 +102,15 @@ 每个区域验收包括桌面与窄屏、五语长文案、明暗主题和自定义皮肤;对比布局、滚动、弹层遮挡及键盘操作。编译通过和源码正则匹配不能替代实际渲染检查。 -### 管理组件的本批验收结果 +### 加入表单与聊天面板的本批结果 + +- `JoinForm.vue` 通过七个具名模型回传字段,连接、取消、收藏、历史选择及身份操作通过事件回到父页。固定模式提交、开放模式目标/端口/昵称/频道/密码/中继回传、收藏与最近连接回填、身份弹窗入口和取消连接均已检查。取消后释放迟到的凭证响应,页面仍停留加入页。 +- `ChatPanel.vue` 接收父页单一聊天控制器的展示子集,保留草稿与确认状态归属;DOM 滚动引用仍接回该控制器。频道/服务器草稿切换、失败保留、成功回执清空、事件日志、外部打开私聊及私聊草稿恢复均已检查。两条长消息后实际滚动位置为 351,内容 867、可视高度 516,底部剩余距离为 0。 +- 拆分前后桌面空聊天面板 29 个元素的尺寸、字体、间距及颜色一致。加入页保留原结构、字段标识与皮肤节点;样式声明顺序不变,仅调整跨组件选择器和下述布局问题。 +- 窄屏问题:开放模式与展开身份选项时,长文案撑宽隐式网格列;俄语 320 像素视口实测表单宽 250、内容列约 369 像素。改为 `minmax(0, 1fr)` 列,窄屏身份按钮允许换行,中继说明与选择框纵向排列,并允许字段标签折行。修复后表单、聊天各 45 组五语×三皮肤×三宽度的控件边界检查通过。皮肤为内置浅色、深色及随项目提供的 ILLUSIA;未覆盖任意第三方皮肤包。 +- 浏览器无警告/错误日志。本批主要覆盖模拟服务的正常展示和操作;真实目标离线、真实媒体及生产消息兼容不归为本批完成项。其余客户端展示边界仍见 06-C 待办。 + +### 管理组件的此前验收结果 三个展示组件继续使用父页创建的控制器,未复制业务状态。欢迎词语言通过具名模型传递,WebRTC 提示通过事件返回父页,皮肤文件输入由展示组件持有。现有管理状态测试改为访问功能模型;皮肤契约检查包含递归的管理组件目录。 @@ -155,6 +163,7 @@ Android 记录具体设备和系统,验收连接、双向语音、输入输出 | 原事项或范围 | 当前状态 | | --- | --- | | 06-K 管理页导航 | 窄屏改为品牌与退出、四项导航两行布局;五语四路由四宽度共 80 组边界检查通过 | +| 06-C 加入与聊天 | 两个展示组件已提取;修复开放表单长文案撑宽,表单与聊天共 90 组语言/皮肤/宽度边界检查通过 | | 06-C 管理展示组件 | 三个组件已提取,父页保持状态归属;主要交互通过,原生确认与下载类浏览器验收缺口仍在待办表 | | 06-I、06-J 皮肤生命周期 | 最新选择、页面取消、目录乱序、8 秒等待期限、资源及存储归属已修复;23 项新增测试与本机浏览器检查通过 | | 06-H 身份异步操作及 06-C 身份弹窗 | 24 项时序与资源测试通过,状态与模板分离,关闭按钮定位修正;正常文件读取、错误反馈、焦点和响应式布局已有浏览器验证 | diff --git a/web/src/components/web-client/ChatPanel.vue b/web/src/components/web-client/ChatPanel.vue new file mode 100644 index 0000000..6b07812 --- /dev/null +++ b/web/src/components/web-client/ChatPanel.vue @@ -0,0 +1,72 @@ + + + diff --git a/web/src/components/web-client/JoinForm.vue b/web/src/components/web-client/JoinForm.vue new file mode 100644 index 0000000..98a6fa7 --- /dev/null +++ b/web/src/components/web-client/JoinForm.vue @@ -0,0 +1,77 @@ + + + diff --git a/web/src/services/skin-pack.test.ts b/web/src/services/skin-pack.test.ts index 8926856..cb4d7dc 100644 --- a/web/src/services/skin-pack.test.ts +++ b/web/src/services/skin-pack.test.ts @@ -194,8 +194,8 @@ test("the activity artwork layer floats above room content without intercepting assert.match(css, /\.voice-activity-artwork\s*\{\s*position: absolute;\s*z-index: 2;\s*inset: -26px 0 -48px;[^}]*pointer-events: none;/); assert.match(css, /\.voice-activity-artwork\s*\{[^}]*transform: perspective\(1100px\) rotateY\(-2\.5deg\) translateZ\(22px\)/); assert.match(css, /\.app-shell \.member-panel::before\s*\{\s*content: "";\s*position: absolute;\s*z-index: 1;\s*left: -28px;\s*bottom: 18px;\s*width: min\(430px, calc\(100vw - 24px\)\);\s*aspect-ratio: 3 \/ 2;[^}]*perspective\(1100px\) rotateY\(-8deg\)/); - assert.match(css, /\.app-shell \.chat-empty\[data-ws-state="messages-empty"\]\s*\{[^}]*min-height: 210px;\s*padding: 126px 12px 10px;/); - assert.match(css, /\.app-shell \.chat-panel \.section-heading,[\s\S]*?\.app-shell \.chat-panel \.message-composer\s*\{\s*position: relative;\s*z-index: 3;/); + assert.match(css, /:deep\(\.app-shell \.chat-empty\[data-ws-state="messages-empty"\]\)\s*\{[^}]*min-height: 210px;\s*padding: 126px 12px 10px;/); + assert.match(css, /:deep\(\.app-shell \.chat-panel \.section-heading\),[\s\S]*?:deep\(\.app-shell \.chat-panel \.message-composer\)\s*\{\s*position: relative;\s*z-index: 3;/); assert.match(css, /\.screen-share-player\s*\{[^}]*background: var\(--surface-1\)/); assert.match(css, /\.screen-share-player-exit\s*\{[^}]*z-index: 3;/); assert.match(css, /\.screen-share-player-stage\s*\{[^}]*var\(--accent\)[^}]*var\(--surface-2\)/); @@ -205,7 +205,7 @@ test("the activity artwork layer floats above room content without intercepting test("channel empty state removes its bubble ornament and keeps the text-channel label", async () => { const [view, chat] = await Promise.all([ - readFile(new URL("../views/WebClient.vue", import.meta.url), "utf8"), + readFile(new URL("../components/web-client/ChatPanel.vue", import.meta.url), "utf8"), readFile(new URL("../composables/useWebClientChat.ts", import.meta.url), "utf8"), ]); assert.doesNotMatch(view, /data-ws-state="messages-empty">
{ const css = await readFile(new URL("../styles/web-client.css", import.meta.url), "utf8"); - assert.ok(css.includes('.join-page *:not([data-ws-part="home.join-card"])')); + assert.ok(css.includes('.join-page :deep(*:not([data-ws-part="home.join-card"]))')); assert.ok(css.includes("animation: none !important")); assert.doesNotMatch(css, /\.join-page \*, \.join-page \*::before, \.join-page \*::after\s*\{\s*animation: none !important/); assert.ok(css.includes("padding: 0 clamp(12px, 1.4vw, 22px);"), "homepage header contents keep an inset from their container edge"); diff --git a/web/src/styles/web-client.css b/web/src/styles/web-client.css index 942185c..908b09a 100644 --- a/web/src/styles/web-client.css +++ b/web/src/styles/web-client.css @@ -57,35 +57,35 @@ .visitor-count-total { position: relative; z-index: 1; min-width: 0; overflow: hidden; color: inherit; font-size: .92em; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; opacity: .78; } .visitor-count-spark { position: relative; z-index: 1; color: #35bea7; font-size: 15px; line-height: 1; animation: visitor-spark 2.1s ease-in-out infinite; } .join-card { padding: 30px; border: 1px solid rgba(214, 226, 223, .8); border-radius: 20px; background: rgba(255, 255, 255, .86); box-shadow: 0 20px 52px rgba(35, 68, 63, .08); backdrop-filter: blur(12px); } -.card-kicker, .section-kicker { color: #79918c; font-size: 10px; font-weight: 700; letter-spacing: .16em; } +.card-kicker, :deep(.section-kicker) { color: #79918c; font-size: 10px; font-weight: 700; letter-spacing: .16em; } .join-card h2 { margin: 10px 0 7px; color: #1b2825; font-size: 27px; letter-spacing: -.045em; } .card-lead { margin: 0 0 7px; color: #7b8885; font-size: 13px; } -.notice { display: flex; align-items: flex-start; gap: 10px; min-width: 0; margin: 0 0 10px; padding: 9px 10px; border-radius: 10px; font-size: 12px; line-height: 1.45; } +:deep(.notice) { display: flex; align-items: flex-start; gap: 10px; min-width: 0; margin: 0 0 10px; padding: 9px 10px; border-radius: 10px; font-size: 12px; line-height: 1.45; } .notice-content { min-width: 0; overflow-wrap: anywhere; } .notice-content code { display: block; max-width: 100%; margin-top: 3px; overflow: hidden; color: currentColor; font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: 10px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; opacity: .78; } .error-notice { color: #a53c38; background: #fff0ef; border: 1px solid #f7d4d1; } -.warning-notice { color: #8a6537; background: #fff8e9; border: 1px solid #f2dfb3; } -.notice-symbol { display: grid; place-items: center; width: 16px; height: 16px; flex: 0 0 auto; border-radius: 50%; color: #fff; background: currentColor; color: #fff; font-size: 10px; font-weight: 800; } -.error-notice .notice-symbol { background: #d95d55; } -.warning-notice .notice-symbol { background: #c89143; } -.join-form { display: grid; gap: 6px; } -.field-grid { display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: 12px; } -.field-grid .field-label { display: block; } -.field-grid .field-label:not(:first-child) { margin-top: 0; } +:deep(.warning-notice) { color: #8a6537; background: #fff8e9; border: 1px solid #f2dfb3; } +:deep(.notice-symbol) { display: grid; place-items: center; width: 16px; height: 16px; flex: 0 0 auto; border-radius: 50%; color: #fff; background: currentColor; color: #fff; font-size: 10px; font-weight: 800; } +:deep(.error-notice .notice-symbol) { background: #d95d55; } +:deep(.warning-notice .notice-symbol) { background: #c89143; } +:deep(.join-form) { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; } +:deep(.field-grid) { display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: 12px; } +:deep(.field-grid .field-label) { display: block; } +:deep(.field-grid .field-label:not(:first-child)) { margin-top: 0; } .field-hint { margin: 1px 0 5px; color: #879590; font-size: 10px; line-height: 1.5; } -.field-label, .settings-label { color: #43514d; font-size: 11px; font-weight: 600; } -.field-label:not(:first-child) { margin-top: 6px; } -.field-label span { color: #a2aaa7; font-weight: 400; } -.field-wrap { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 14px; color: #8b9b96; border-radius: 10px; background: #f3f6f5; transition: .2s ease; } -.field-wrap:focus-within { color: #006a64; background: #fff; box-shadow: 0 0 0 2px #81d8d0; } -.field-wrap input { width: 100%; min-width: 0; padding: 0; color: #24312f; outline: none; border: 0; background: transparent; font-size: 13px; } -.field-wrap input::placeholder { color: #a5b0ad; } -.primary-button, :deep(.identity-import-submit) { display: inline-flex; align-items: center; justify-content: center; gap: 10px; color: #fff; background: #006a64; border-radius: 9px; font-size: 12px; font-weight: 700; cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s; } -.primary-button:hover:not(:disabled), :deep(.identity-import-submit:hover:not(:disabled)) { background: #005650; box-shadow: 0 9px 20px rgba(0, 106, 100, .18); transform: translateY(-1px); } -.primary-button:active:not(:disabled), :deep(.identity-import-submit:active:not(:disabled)) { transform: translateY(0); } -.primary-button:disabled, :deep(.identity-import-submit:disabled) { cursor: not-allowed; opacity: .45; } -.connect-button { width: 100%; min-height: 44px; margin-top: 10px; font-size: 13px; } -.button-spinner { width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; } +:deep(.field-label), .settings-label { color: #43514d; font-size: 11px; font-weight: 600; } +:deep(.field-label:not(:first-child)) { margin-top: 6px; } +:deep(.field-label span) { color: #a2aaa7; font-weight: 400; } +:deep(.field-wrap) { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 14px; color: #8b9b96; border-radius: 10px; background: #f3f6f5; transition: .2s ease; } +:deep(.field-wrap:focus-within) { color: #006a64; background: #fff; box-shadow: 0 0 0 2px #81d8d0; } +:deep(.field-wrap input) { width: 100%; min-width: 0; padding: 0; color: #24312f; outline: none; border: 0; background: transparent; font-size: 13px; } +:deep(.field-wrap input::placeholder) { color: #a5b0ad; } +:deep(.primary-button), :deep(.identity-import-submit) { display: inline-flex; align-items: center; justify-content: center; gap: 10px; color: #fff; background: #006a64; border-radius: 9px; font-size: 12px; font-weight: 700; cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s; } +:deep(.primary-button:hover:not(:disabled)), :deep(.identity-import-submit:hover:not(:disabled)) { background: #005650; box-shadow: 0 9px 20px rgba(0, 106, 100, .18); transform: translateY(-1px); } +:deep(.primary-button:active:not(:disabled)), :deep(.identity-import-submit:active:not(:disabled)) { transform: translateY(0); } +:deep(.primary-button:disabled), :deep(.identity-import-submit:disabled) { cursor: not-allowed; opacity: .45; } +:deep(.connect-button) { width: 100%; min-height: 44px; margin-top: 10px; font-size: 13px; } +:deep(.button-spinner) { width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; } .join-meta { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 12px; color: #96a29f; font-size: 10px; } .join-footer { display: flex; align-items: center; min-height: 68px; background: var(--surface-0); color: #9ba6a3; border-top: 1px solid #e8edeb; font-size: 11px; }.join-footer a { color: #628e89; text-decoration: none; }.join-footer a:hover { color: #006a64; text-decoration: underline; } .footer-separator { margin: 0 8px; color: #ccd5d1; }.footer-spacer { flex: 1; } @@ -113,8 +113,8 @@ .workspace { display: flex; min-width: 0; flex-direction: column; background: #fff; }.workspace-header { display: flex; align-items: center; justify-content: space-between; min-height: 73px; padding: 0 29px; border-bottom: 1px solid #eef2f0; }.breadcrumbs { display: flex; align-items: center; gap: 9px; min-width: 0; color: #52605b; font-size: 12px; }.breadcrumbs strong { overflow: hidden; color: #26332f; text-overflow: ellipsis; white-space: nowrap; }.crumb-muted { color: #98a39f; }.mobile-brand { display: none; color: #006a64; font-size: 17px; font-weight: 800; letter-spacing: -.06em; }.mobile-brand em { color: #293632; font-style: normal; font-weight: 500; }.workspace-actions, .dock-actions { display: flex; align-items: center; gap: 8px; }.header-action, .dock-icon { display: grid; place-items: center; color: #75847f; background: transparent; border-radius: 8px; cursor: pointer; transition: .16s; }.header-action { width: 32px; height: 32px; }.header-action:hover, .dock-icon:hover { color: #006a64; background: #edf5f2; }.disconnect-button { display: inline-flex; align-items: center; gap: 6px; min-height: 33px; margin-left: 8px; padding: 0 13px; color: #a94d48; background: #fff2f1; border-radius: 8px; font-size: 11px; font-weight: 700; cursor: pointer; }.disconnect-button:hover { color: #fff; background: #c95a54; } .workspace { display: flex; min-width: 0; flex-direction: column; background: #fff; }.workspace-header { display: flex; align-items: center; justify-content: space-between; min-height: 73px; padding: 0 29px; border-bottom: 1px solid #eef2f0; }.breadcrumbs { display: flex; align-items: center; gap: 9px; min-width: 0; color: #52605b; font-size: 12px; }.breadcrumbs strong { overflow: hidden; color: #26332f; text-overflow: ellipsis; white-space: nowrap; }.crumb-muted { color: #98a39f; }.mobile-brand { display: none; color: #006a64; font-size: 17px; font-weight: 800; letter-spacing: -.06em; }.mobile-brand em { color: #293632; font-style: normal; font-weight: 500; }.workspace-actions, .dock-actions { display: flex; align-items: center; gap: 8px; }.header-action, .dock-icon { display: grid; place-items: center; color: #75847f; background: transparent; border-radius: 8px; cursor: pointer; transition: .16s; }.header-action { width: 32px; height: 32px; }.header-action:hover, .dock-icon:hover { color: #006a64; background: #edf5f2; }.workspace-language { margin-left: 3px; }.disconnect-button { display: inline-flex; align-items: center; gap: 6px; min-height: 33px; margin-left: 8px; padding: 0 13px; color: #a94d48; background: #fff2f1; border-radius: 8px; font-size: 11px; font-weight: 700; cursor: pointer; }.disconnect-button:hover { color: #fff; background: #c95a54; } .workspace-scroll { flex: 1; overflow-y: auto; }.workspace-content { width: min(950px, calc(100% - 64px)); margin: 0 auto; padding: 31px 0 27px; }.room-hero { position: relative; min-height: 190px; overflow: hidden; padding: 30px 34px; border-radius: 16px; background: linear-gradient(110deg, #e3f4f1, #f8fbfa 68%, #fff); }.room-hero-content { position: relative; z-index: 1; }.room-eyebrow { color: #4d817a; font-size: 10px; }.live-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; color: #2d7540; background: #d6f5d9; border-radius: 999px; font-size: 9px; letter-spacing: .08em; }.live-pill i { width: 5px; height: 5px; border-radius: 50%; background: #56cf69; }.room-hero h1 { display: flex; align-items: center; gap: 8px; margin: 16px 0 7px; color: #18302c; font-size: 26px; letter-spacing: -.05em; }.room-hero h1 .ui-icon { color: #006a64; }.room-hero p { max-width: 470px; margin: 0; color: #64817a; font-size: 12px; line-height: 1.6; }.room-stats { display: flex; align-items: center; gap: 11px; margin-top: 19px; color: #52716b; font-size: 10px; }.room-stats span { display: inline-flex; align-items: center; gap: 5px; }.stat-divider { width: 1px; height: 13px; background: #b8d9d4; }.hero-decoration { position: absolute; border: 1px solid rgba(0,106,100,.12); border-radius: 50%; }.hero-decoration.one { width: 250px; height: 250px; right: 48px; top: -116px; }.hero-decoration.two { width: 355px; height: 355px; right: -20px; top: -168px; }.hero-visual { position: absolute; right: 85px; bottom: 20px; width: 160px; height: 120px; opacity: .75; }.orbit { position: absolute; inset: 16px 4px; border: 1px solid rgba(0,106,100,.19); border-radius: 50%; transform: rotate(28deg); }.orbit-b { inset: 0 26px; transform: rotate(-49deg); }.hero-wave { position: absolute; right: 29px; bottom: 45px; display: flex; align-items: center; gap: 4px; height: 53px; }.hero-wave i { display: block; width: 3px; min-height: 8px; border-radius: 4px; background: #63c7bf; animation: wave 2.2s ease-in-out infinite alternate; }.hero-wave i:nth-child(3n) { background: #90f691; animation-delay: -.8s; }.hero-wave i:nth-child(4n) { animation-delay: -.4s; } -.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }.voice-section { margin-top: 34px; }.section-heading h2 { display: flex; align-items: center; gap: 7px; margin: 6px 0 0; color: #1d2926; font-size: 20px; letter-spacing: -.04em; }.section-counter { color: #87928e; font-size: 10px; }.voice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(142px, 1fr)); gap: 12px; margin-top: 17px; }.voice-card { position: relative; min-height: 152px; padding: 17px 11px 13px; border: 1px solid #edf1ef; border-radius: 13px; background: #fff; box-shadow: 0 7px 18px rgba(20,58,51,.04); text-align: center; transition: .18s; }.voice-card:hover { z-index: 3; transform: translateY(-2px); box-shadow: 0 11px 24px rgba(20,58,51,.08); }.voice-card.speaking { border-color: #90f691; box-shadow: 0 0 14px rgba(144,246,145,.35); }.voice-avatar-wrap { position: relative; z-index: 3; width: 68px; margin: 0 auto 11px; }.voice-avatar { display: grid; place-items: center; width: 68px; height: 68px; color: #fff; border-radius: 50%; font-size: 20px; font-weight: 700; }.voice-status { position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; width: 24px; height: 24px; color: #78908b; background: #fff; border: 1px solid #e0eae6; border-radius: 50%; }.voice-status.speaking { color: #278c3b; border-color: #90f691; }.voice-card > strong, .voice-card > span { position: relative; z-index: 3; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.voice-card > strong { color: #2c3935; font-size: 12px; }.voice-card > span { margin-top: 5px; color: #91a09a; font-size: 10px; }.voice-card.speaking > span { color: #278c3b; }.more-card { display: grid; place-items: center; align-content: center; }.more-count { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 11px; color: #006a64; background: #e0f2ef; border-radius: 50%; font-size: 14px; font-weight: 700; }.voice-empty { display: flex; align-items: center; gap: 11px; margin-top: 17px; padding: 18px; color: #83908c; border: 1px dashed #dce6e2; border-radius: 12px; font-size: 11px; }.voice-empty .empty-icon { margin: 0; width: 34px; height: 34px; }.voice-empty strong { color: #4c5e58; }.voice-empty span:last-child { margin-left: auto; } -.chat-panel { margin-top: 34px; padding: 0 clamp(14px, 1.8vw, 24px) 20px; border-top: 1px solid #eef2f0; }.chat-heading { padding-top: 25px; }.chat-heading h2 .ui-icon { color: #006a64; }.message-list { display: flex; flex-direction: column; gap: 18px; min-height: 170px; max-height: 360px; overflow-y: auto; padding: 22px 8px 10px 3px; }.chat-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 145px; color: #9aa6a2; text-align: center; }.chat-empty-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 11px; color: #6fa8a2; background: #e5f3f1; border-radius: 14px; }.chat-empty strong { color: #556761; font-size: 12px; }.chat-empty span { margin-top: 5px; font-size: 10px; }.message-row { display: flex; align-items: flex-start; gap: 11px; max-width: 78%; }.message-row.mine { align-self: flex-end; flex-direction: row-reverse; }.message-avatar { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 auto; color: #fff; border-radius: 10px; font-size: 11px; font-weight: 700; }.message-body { min-width: 0; }.message-meta { display: flex; align-items: baseline; gap: 8px; margin: 1px 0 6px; }.message-row.mine .message-meta { justify-content: flex-end; }.message-meta strong { color: #384843; font-size: 11px; }.message-meta time { color: #a1ada9; font-size: 9px; }.message-bubble { padding: 10px 13px; color: #43534e; background: #f1f5f3; border-radius: 4px 13px 13px 13px; font-size: 12px; line-height: 1.55; }.message-row.mine .message-bubble { color: #fff; background: #006a64; border-radius: 13px 4px 13px 13px; }.message-composer { display: flex; align-items: center; gap: 7px; min-height: 48px; padding: 6px 8px 6px 12px; background: #f3f6f5; border-radius: 11px; }.message-composer input { width: 100%; min-width: 0; border: 0; outline: none; background: transparent; color: #3a4944; font-size: 12px; }.message-composer input::placeholder { color: #9aa6a2; }.composer-tool { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 auto; color: #94a19d; background: transparent; border-radius: 7px; }.composer-tool:not(:disabled) { cursor: pointer; }.composer-tool:disabled { opacity: .6; }.send-button { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; color: #fff; background: #006a64; border-radius: 9px; cursor: pointer; }.send-button:disabled { cursor: not-allowed; opacity: .35; } +:deep(.section-heading) { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }.voice-section { margin-top: 34px; }:deep(.section-heading h2) { display: flex; align-items: center; gap: 7px; margin: 6px 0 0; color: #1d2926; font-size: 20px; letter-spacing: -.04em; }:deep(.section-counter) { color: #87928e; font-size: 10px; }.voice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(142px, 1fr)); gap: 12px; margin-top: 17px; }.voice-card { position: relative; min-height: 152px; padding: 17px 11px 13px; border: 1px solid #edf1ef; border-radius: 13px; background: #fff; box-shadow: 0 7px 18px rgba(20,58,51,.04); text-align: center; transition: .18s; }.voice-card:hover { z-index: 3; transform: translateY(-2px); box-shadow: 0 11px 24px rgba(20,58,51,.08); }.voice-card.speaking { border-color: #90f691; box-shadow: 0 0 14px rgba(144,246,145,.35); }.voice-avatar-wrap { position: relative; z-index: 3; width: 68px; margin: 0 auto 11px; }.voice-avatar { display: grid; place-items: center; width: 68px; height: 68px; color: #fff; border-radius: 50%; font-size: 20px; font-weight: 700; }.voice-status { position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; width: 24px; height: 24px; color: #78908b; background: #fff; border: 1px solid #e0eae6; border-radius: 50%; }.voice-status.speaking { color: #278c3b; border-color: #90f691; }.voice-card > strong, .voice-card > span { position: relative; z-index: 3; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.voice-card > strong { color: #2c3935; font-size: 12px; }.voice-card > span { margin-top: 5px; color: #91a09a; font-size: 10px; }.voice-card.speaking > span { color: #278c3b; }.more-card { display: grid; place-items: center; align-content: center; }.more-count { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 11px; color: #006a64; background: #e0f2ef; border-radius: 50%; font-size: 14px; font-weight: 700; }.voice-empty { display: flex; align-items: center; gap: 11px; margin-top: 17px; padding: 18px; color: #83908c; border: 1px dashed #dce6e2; border-radius: 12px; font-size: 11px; }.voice-empty .empty-icon { margin: 0; width: 34px; height: 34px; }.voice-empty strong { color: #4c5e58; }.voice-empty span:last-child { margin-left: auto; } +.chat-panel { margin-top: 34px; padding: 0 clamp(14px, 1.8vw, 24px) 20px; border-top: 1px solid #eef2f0; }:deep(.chat-heading) { padding-top: 25px; }:deep(.chat-heading h2 .ui-icon) { color: #006a64; }:deep(.message-list) { display: flex; flex-direction: column; gap: 18px; min-height: 170px; max-height: 360px; overflow-y: auto; padding: 22px 8px 10px 3px; }:deep(.chat-empty) { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 145px; color: #9aa6a2; text-align: center; }:deep(.chat-empty-icon) { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 11px; color: #6fa8a2; background: #e5f3f1; border-radius: 14px; }:deep(.chat-empty strong) { color: #556761; font-size: 12px; }:deep(.chat-empty span) { margin-top: 5px; font-size: 10px; }:deep(.message-row) { display: flex; align-items: flex-start; gap: 11px; max-width: 78%; }:deep(.message-row.mine) { align-self: flex-end; flex-direction: row-reverse; }:deep(.message-avatar) { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 auto; color: #fff; border-radius: 10px; font-size: 11px; font-weight: 700; }:deep(.message-body) { min-width: 0; }:deep(.message-meta) { display: flex; align-items: baseline; gap: 8px; margin: 1px 0 6px; }:deep(.message-row.mine .message-meta) { justify-content: flex-end; }:deep(.message-meta strong) { color: #384843; font-size: 11px; }:deep(.message-meta time) { color: #a1ada9; font-size: 9px; }:deep(.message-bubble) { padding: 10px 13px; color: #43534e; background: #f1f5f3; border-radius: 4px 13px 13px 13px; font-size: 12px; line-height: 1.55; }:deep(.message-row.mine .message-bubble) { color: #fff; background: #006a64; border-radius: 13px 4px 13px 13px; }:deep(.message-composer) { display: flex; align-items: center; gap: 7px; min-height: 48px; padding: 6px 8px 6px 12px; background: #f3f6f5; border-radius: 11px; }:deep(.message-composer input) { width: 100%; min-width: 0; border: 0; outline: none; background: transparent; color: #3a4944; font-size: 12px; }:deep(.message-composer input::placeholder) { color: #9aa6a2; }.composer-tool { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 auto; color: #94a19d; background: transparent; border-radius: 7px; }.composer-tool:not(:disabled) { cursor: pointer; }.composer-tool:disabled { opacity: .6; }:deep(.send-button) { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; color: #fff; background: #006a64; border-radius: 9px; cursor: pointer; }:deep(.send-button:disabled) { cursor: not-allowed; opacity: .35; } .control-dock { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 74px; padding: 10px 29px; border-top: 1px solid #e9efec; background: rgba(255,255,255,.94); box-shadow: 0 -5px 18px rgba(23,52,47,.03); }.dock-user { display: flex; align-items: center; gap: 9px; min-width: 140px; }.dock-avatar { width: 34px; height: 34px; border-radius: 10px; font-size: 11px; }.dock-user strong, .dock-user span { display: block; }.dock-user strong { max-width: 125px; overflow: hidden; color: #33423d; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }.dock-user span { display: flex; align-items: center; gap: 5px; margin-top: 4px; color: #7e8d87; font-size: 9px; }.dock-user span i { width: 5px; height: 5px; border-radius: 50%; background: #65d879; }.dock-center { display: flex; align-items: center; gap: 14px; }.mic-mode-switch { display: flex; padding: 3px; background: #eef3f1; border-radius: 8px; }.mic-mode-switch button { display: inline-flex; align-items: center; gap: 5px; padding: 7px 9px; color: #8b9894; background: transparent; border-radius: 6px; font-size: 10px; cursor: pointer; }.mic-mode-switch button.active { color: #006a64; background: #fff; box-shadow: 0 2px 5px rgba(21,54,48,.08); font-weight: 700; }.ptt-indicator { display: inline-flex; align-items: center; gap: 7px; color: #7c8b86; font-size: 10px; }.ptt-indicator span { width: 7px; height: 7px; border-radius: 50%; background: #b2bfbb; }.ptt-indicator.active { color: #278c3b; }.ptt-indicator.active span { background: #65d879; box-shadow: 0 0 0 4px rgba(101,216,121,.15); }.dock-actions { min-width: 140px; justify-content: flex-end; }.dock-icon { width: 34px; height: 34px; }.dock-end { display: grid; place-items: center; width: 37px; height: 37px; color: #fff; background: #c95a54; border-radius: 10px; cursor: pointer; }.dock-end:hover { background: #b84c47; } .member-panel { min-width: 0; padding: 26px 16px; color: #2c3935; background: #fbfcfc; border-left: 1px solid #eef2f0; }.member-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; }.member-panel-heading h2 { margin: 5px 0 0; color: #25322e; font-size: 19px; letter-spacing: -.04em; }.member-search { margin-top: 18px; padding: 0 10px; min-height: 33px; }.member-group { margin-top: 24px; }.member-group-title { display: flex; align-items: center; gap: 8px; color: #85928e; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }.group-line { height: 1px; flex: 1; background: #e6edeb; }.member-list { display: flex; flex-direction: column; gap: 17px; margin-top: 17px; }.member-row { display: flex; align-items: center; gap: 8px; min-width: 0; }.member-avatar { position: relative; display: grid; place-items: center; width: 33px; height: 33px; flex: 0 0 auto; color: #fff; border-radius: 10px; font-size: 10px; font-weight: 700; }.member-avatar.speaking { box-shadow: 0 0 0 2px #90f691, 0 0 10px rgba(144,246,145,.35); }.member-presence { position: absolute; right: -2px; bottom: -2px; width: 9px; height: 9px; border: 2px solid #fbfcfc; border-radius: 50%; background: #65d879; }.member-copy { min-width: 0; flex: 1; }.member-copy strong, .member-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.member-copy strong { color: #34423d; font-size: 10px; }.member-copy span { margin-top: 4px; color: #96a29e; font-size: 9px; }.member-volume { display: flex; align-items: center; gap: 5px; color: #a1afaa; width: 64px; }.member-volume input { width: 45px; height: 4px; appearance: none; border-radius: 99px; outline: none; cursor: pointer; }.member-volume input::-webkit-slider-thumb, .settings-range::-webkit-slider-thumb { width: 14px; height: 14px; appearance: none; border: 2px solid #81d8d0; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.12); cursor: pointer; }.member-volume input::-moz-range-thumb, .settings-range::-moz-range-thumb { width: 14px; height: 14px; border: 2px solid #81d8d0; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.12); cursor: pointer; }.member-empty { margin-top: 22px; color: #98a49f; font-size: 10px; text-align: center; }.member-panel-tip { display: flex; gap: 8px; margin-top: 36px; padding: 12px; color: #72827c; background: #eef5f2; border-radius: 9px; font-size: 9px; line-height: 1.5; }.member-panel-tip .ui-icon { color: #5e9e96; } @@ -125,12 +125,12 @@ .channel-password-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 17px; color: #006a64; background: #e4f4f0; border-radius: 14px; } .channel-password-modal h2 { margin: 7px 0 8px; color: #1d2d29; font-size: 24px; letter-spacing: -.04em; } .channel-password-modal > p { margin: 0 0 23px; color: #70817b; font-size: 12px; line-height: 1.6; } -.channel-password-form .field-label { margin-bottom: 8px; } -.channel-password-form .field-wrap { margin-bottom: 12px; } +:deep(.channel-password-form .field-label) { margin-bottom: 8px; } +:deep(.channel-password-form .field-wrap) { margin-bottom: 12px; } .channel-password-error { margin: 0 0 14px; } .channel-password-actions { display: flex; align-items: center; justify-content: flex-end; gap: 15px; margin-top: 21px; } .channel-password-submit { min-height: 40px; padding: 0 16px; } -.channel-password-submit .button-spinner { width: 14px; height: 14px; } +:deep(.channel-password-submit .button-spinner) { width: 14px; height: 14px; } .channel-password-submit:disabled { cursor: wait; opacity: .7; } @media (max-width: 740px) { @@ -162,16 +162,16 @@ .join-page .join-footer { animation: join-fade-up .55s .72s cubic-bezier(.22, 1, .36, 1) both; } @media (prefers-reduced-motion: reduce) { - .join-page *:not([data-ws-part="home.join-card"]), - .join-page *:not([data-ws-part="home.join-card"])::before, - .join-page *:not([data-ws-part="home.join-card"])::after { animation: none !important; } - .join-page * { transition-duration: .01ms !important; } + .join-page :deep(*:not([data-ws-part="home.join-card"])), + .join-page :deep(*:not([data-ws-part="home.join-card"])::before), + .join-page :deep(*:not([data-ws-part="home.join-card"])::after) { animation: none !important; } + .join-page :deep(*) { transition-duration: .01ms !important; } } @media (max-width: 1200px) { .app-shell { grid-template-columns: 72px 255px minmax(0, 1fr) 218px; }.workspace-content { width: min(900px, calc(100% - 42px)); }.control-dock { padding-inline: 18px; }.dock-center { gap: 8px; }.mic-mode-switch button { padding-inline: 7px; }.member-panel { padding-inline: 12px; }.member-volume { display: none; } } @media (max-width: 980px) { .app-shell { grid-template-columns: 70px 245px minmax(0, 1fr); }.member-panel { display: none; }.room-hero { min-height: 180px; }.hero-visual { right: 24px; opacity: .55; }.join-content { gap: 40px; }.join-card { padding: 28px; } } -@media (max-width: 740px) { .join-header, .join-content, .join-footer { width: min(100% - 32px, 560px); }.join-header { min-height: 70px; }:deep(.header-note) { display: none; }.join-content { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 35px; padding: 36px 0 48px; }.join-copy h1 { margin-top: 15px; font-size: 45px; }.join-description { font-size: 14px; }.promise-list { gap: 13px; margin-top: 27px; }.promise-item { min-width: 0; flex: 1 1 30%; }.promise-item small { display: none; }.visitor-count { margin-top: 24px; }.join-card { padding: 24px 20px; }.join-footer { min-height: 53px; }.join-footer .footer-spacer { display: none; }.join-footer span:last-child { margin-left: auto; }.field-grid { grid-template-columns: minmax(0, 1fr) 112px; gap: 8px; }.app-shell { display: block; height: 100dvh; }.nav-rail, .channel-sidebar, .member-panel { display: none; }.workspace { height: 100%; }.workspace-header { min-height: 61px; padding: 0 15px; }.mobile-brand { display: inline; }.crumb-muted, .breadcrumbs > .ui-icon, .breadcrumbs > strong { display: none; }.workspace-actions { gap: 3px; }.disconnect-button { margin-left: 2px; padding-inline: 9px; }.disconnect-button .ui-icon { display: none; }.workspace-content { width: calc(100% - 30px); padding-top: 18px; }.room-hero { min-height: 182px; padding: 23px 21px; }.room-hero h1 { font-size: 22px; }.room-hero p { max-width: 74%; font-size: 11px; }.hero-visual { right: -15px; bottom: 4px; transform: scale(.75); transform-origin: right bottom; }.voice-section, .chat-panel { margin-top: 25px; }.voice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.voice-card { min-height: 143px; }.message-row { max-width: 92%; }.control-dock { min-height: 66px; padding: 8px 15px; }.dock-user { min-width: 0; }.dock-user > div:last-child { display: none; }.dock-center { flex: 1; justify-content: center; }.mic-mode-switch button { padding: 6px 7px; font-size: 9px; }.ptt-indicator { display: none; }.dock-actions { min-width: 75px; }.settings-modal { max-height: calc(100dvh - 28px); }.settings-nav { display: none; }.settings-content { padding: 24px 20px; }.settings-header { min-height: 62px; padding-inline: 20px; }.settings-header h2 { font-size: 19px; }.settings-footer { min-height: 61px; padding-inline: 20px; } } -@media (max-width: 420px) { .join-copy h1 { font-size: 38px; }.promise-list { display: grid; grid-template-columns: 1fr; }.promise-item small { display: block; }.join-card { border-radius: 15px; }.voice-grid { gap: 8px; }.voice-card { padding-inline: 6px; }.section-counter { display: none; }.workspace-actions .header-action:first-child { display: none; }.dock-icon { display: none; }.dock-actions { min-width: 37px; }.room-stats { gap: 6px; }.room-stats span:last-child, .stat-divider { display: none; } } +@media (max-width: 740px) { .join-header, .join-content, .join-footer { width: min(100% - 32px, 560px); }.join-header { min-height: 70px; }:deep(.header-note) { display: none; }.join-content { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 35px; padding: 36px 0 48px; }.join-copy h1 { margin-top: 15px; font-size: 45px; }.join-description { font-size: 14px; }.promise-list { gap: 13px; margin-top: 27px; }.promise-item { min-width: 0; flex: 1 1 30%; }.promise-item small { display: none; }.visitor-count { margin-top: 24px; }.join-card { padding: 24px 20px; }.join-footer { min-height: 53px; }.join-footer .footer-spacer { display: none; }.join-footer span:last-child { margin-left: auto; }:deep(.field-grid) { grid-template-columns: minmax(0, 1fr) 112px; gap: 8px; }.app-shell { display: block; height: 100dvh; }.nav-rail, .channel-sidebar, .member-panel { display: none; }.workspace { height: 100%; }.workspace-header { min-height: 61px; padding: 0 15px; }.mobile-brand { display: inline; }.crumb-muted, .breadcrumbs > .ui-icon, .breadcrumbs > strong { display: none; }.workspace-actions { gap: 3px; }.disconnect-button { margin-left: 2px; padding-inline: 9px; }.disconnect-button .ui-icon { display: none; }.workspace-content { width: calc(100% - 30px); padding-top: 18px; }.room-hero { min-height: 182px; padding: 23px 21px; }.room-hero h1 { font-size: 22px; }.room-hero p { max-width: 74%; font-size: 11px; }.hero-visual { right: -15px; bottom: 4px; transform: scale(.75); transform-origin: right bottom; }.voice-section, .chat-panel { margin-top: 25px; }.voice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.voice-card { min-height: 143px; }:deep(.message-row) { max-width: 92%; }.control-dock { min-height: 66px; padding: 8px 15px; }.dock-user { min-width: 0; }.dock-user > div:last-child { display: none; }.dock-center { flex: 1; justify-content: center; }.mic-mode-switch button { padding: 6px 7px; font-size: 9px; }.ptt-indicator { display: none; }.dock-actions { min-width: 75px; }.settings-modal { max-height: calc(100dvh - 28px); }.settings-nav { display: none; }.settings-content { padding: 24px 20px; }.settings-header { min-height: 62px; padding-inline: 20px; }.settings-header h2 { font-size: 19px; }.settings-footer { min-height: 61px; padding-inline: 20px; } } +@media (max-width: 420px) { .join-copy h1 { font-size: 38px; }.promise-list { display: grid; grid-template-columns: 1fr; }.promise-item small { display: block; }.join-card { border-radius: 15px; }.voice-grid { gap: 8px; }.voice-card { padding-inline: 6px; }:deep(.section-counter) { display: none; }.workspace-actions .header-action:first-child { display: none; }.dock-icon { display: none; }.dock-actions { min-width: 37px; }.room-stats { gap: 6px; }.room-stats span:last-child, .stat-divider { display: none; } } @media (max-width: 740px) { .join-footer { width: 100%; padding-inline: 16px; } @@ -199,11 +199,11 @@ .app-shell { grid-template-columns: minmax(0, 1fr) 318px; } .nav-rail, .channel-sidebar { display: none; } .workspace { min-width: 0; } -.identity-options { margin-top: 8px; color: #677872; font-size: 11px; } -.identity-options summary { width: fit-content; color: #277970; cursor: pointer; } -.identity-options[open] summary { margin-bottom: 10px; } -.cancel-connect-button { justify-self: center; min-height: 32px; padding: 0 10px; color: #6b7d77; background: transparent; font-size: 11px; cursor: pointer; } -.cancel-connect-button:hover { color: #006a64; text-decoration: underline; } +:deep(.identity-options) { margin-top: 8px; color: #677872; font-size: 11px; } +:deep(.identity-options summary) { width: fit-content; color: #277970; cursor: pointer; } +:deep(.identity-options[open] summary) { margin-bottom: 10px; } +:deep(.cancel-connect-button) { justify-self: center; min-height: 32px; padding: 0 10px; color: #6b7d77; background: transparent; font-size: 11px; cursor: pointer; } +:deep(.cancel-connect-button:hover) { color: #006a64; text-decoration: underline; } .member-panel { display: flex; flex-direction: column; min-height: 0; padding: 26px 18px 18px; overflow: hidden; } .member-tree { flex: 1; min-height: 0; margin-top: 18px; padding-right: 3px; overflow-y: auto; } .member-channel-group { padding: 8px 0 14px; border-bottom: 1px solid #e7eeeb; } @@ -233,24 +233,24 @@ .reconnect-copy span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; } .reconnect-actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; } .reconnect-actions .secondary-button { min-height: 34px; padding-inline: 13px; } -.remember-identity { display: flex; align-items: flex-start; gap: 9px; margin-top: 8px; color: #465650; cursor: pointer; } -.acceleration-choice { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0 2px; padding: 10px 11px; color: #245f58; background: #edf9f5; border: 1px solid #c4e9df; border-radius: 10px; } -.acceleration-choice select { min-width: 150px; max-width: 48%; padding: 8px 28px 8px 10px; color: #245f58; background: #fff; border: 1px solid #b9ded5; border-radius: 8px; font: inherit; font-size: 11px; font-weight: 700; } -.acceleration-copy { min-width: 0; } -.acceleration-choice strong, .acceleration-choice small { display: block; } -.acceleration-choice strong { font-size: 11px; font-weight: 800; } -.acceleration-choice small { margin-top: 3px; color: #6b8c85; font-size: 10px; line-height: 1.45; } -.remember-identity input { width: 16px; height: 16px; flex: 0 0 auto; margin: 1px 0 0; accent-color: #087d74; } -.remember-identity strong, .remember-identity small { display: block; } -.remember-identity strong { font-size: 11px; font-weight: 700; } -.remember-identity small { margin-top: 3px; color: #8b9994; font-size: 10px; line-height: 1.4; } -.identity-warning { margin: 8px 0 0; color: #9a6a32; font-size: 10px; line-height: 1.45; } -.identity-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; } -.identity-controls .remember-identity { min-width: 0; flex: 1; } -.identity-actions { display: flex; flex: 0 0 auto; gap: 7px; } -.identity-action-button, :deep(.identity-file-button) { min-height: 31px; padding: 0 10px; color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, var(--surface-1)); border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border)); border-radius: 8px; font: inherit; font-size: 10px; font-weight: 700; cursor: pointer; } -.identity-action-button:hover, :deep(.identity-file-button:hover) { background: color-mix(in srgb, var(--accent) 16%, var(--surface-1)); } -.identity-action-button:disabled { cursor: not-allowed; opacity: .48; } +:deep(.remember-identity) { display: flex; align-items: flex-start; gap: 9px; margin-top: 8px; color: #465650; cursor: pointer; } +:deep(.acceleration-choice) { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0 2px; padding: 10px 11px; color: #245f58; background: #edf9f5; border: 1px solid #c4e9df; border-radius: 10px; } +:deep(.acceleration-choice select) { min-width: 150px; max-width: 48%; padding: 8px 28px 8px 10px; color: #245f58; background: #fff; border: 1px solid #b9ded5; border-radius: 8px; font: inherit; font-size: 11px; font-weight: 700; } +:deep(.acceleration-copy) { min-width: 0; } +:deep(.acceleration-choice strong), :deep(.acceleration-choice small) { display: block; } +:deep(.acceleration-choice strong) { font-size: 11px; font-weight: 800; } +:deep(.acceleration-choice small) { margin-top: 3px; color: #6b8c85; font-size: 10px; line-height: 1.45; } +:deep(.remember-identity input) { width: 16px; height: 16px; flex: 0 0 auto; margin: 1px 0 0; accent-color: #087d74; } +:deep(.remember-identity strong), :deep(.remember-identity small) { display: block; } +:deep(.remember-identity strong) { font-size: 11px; font-weight: 700; } +:deep(.remember-identity small) { margin-top: 3px; color: #8b9994; font-size: 10px; line-height: 1.4; } +:deep(.identity-warning) { margin: 8px 0 0; color: #9a6a32; font-size: 10px; line-height: 1.45; } +:deep(.identity-controls) { display: flex; align-items: center; justify-content: space-between; gap: 12px; } +:deep(.identity-controls .remember-identity) { min-width: 0; flex: 1; } +:deep(.identity-actions) { display: flex; flex: 0 0 auto; gap: 7px; } +:deep(.identity-action-button), :deep(.identity-file-button) { min-height: 31px; padding: 0 10px; color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, var(--surface-1)); border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border)); border-radius: 8px; font: inherit; font-size: 10px; font-weight: 700; cursor: pointer; } +:deep(.identity-action-button:hover), :deep(.identity-file-button:hover) { background: color-mix(in srgb, var(--accent) 16%, var(--surface-1)); } +:deep(.identity-action-button:disabled) { cursor: not-allowed; opacity: .48; } :deep(.identity-import-backdrop) { z-index: 50; } :deep(.identity-import-modal) { position: relative; display: flex; width: min(620px, 100%); max-height: min(720px, calc(100dvh - 56px)); flex-direction: column; gap: 15px; overflow-y: auto; padding: 25px; color: var(--text-primary); background: var(--surface-1); border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 20px 60px color-mix(in srgb, var(--text-primary) 22%, transparent); } :deep(.identity-import-header) { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding-right: 35px; } @@ -268,12 +268,12 @@ :deep(.identity-import-footer) { display: flex; align-items: center; justify-content: flex-end; gap: 15px; } :deep(.identity-import-submit) { min-height: 39px; padding: 0 16px; } :deep(.identity-import-submit:disabled) { cursor: not-allowed; opacity: .52; } -.local-servers { display: grid; gap: 8px; margin: 1px 0 5px; } -.local-server-group { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; } -.local-server-group > span { width: 100%; color: #87958f; font-size: 10px; font-weight: 700; } -.local-server-group button, .favorite-toggle { padding: 5px 8px; color: #277970; background: #eef8f5; border: 1px solid #d7ebe6; border-radius: 6px; font-size: 10px; cursor: pointer; } -.local-server-group button:hover, .favorite-toggle:hover { background: #e0f3ee; } -.favorite-toggle { justify-self: start; margin: -1px 0 4px; } +:deep(.local-servers) { display: grid; gap: 8px; margin: 1px 0 5px; } +:deep(.local-server-group) { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; } +:deep(.local-server-group > span) { width: 100%; color: #87958f; font-size: 10px; font-weight: 700; } +:deep(.local-server-group button), :deep(.favorite-toggle) { padding: 5px 8px; color: #277970; background: #eef8f5; border: 1px solid #d7ebe6; border-radius: 6px; font-size: 10px; cursor: pointer; } +:deep(.local-server-group button:hover), :deep(.favorite-toggle:hover) { background: #e0f3ee; } +:deep(.favorite-toggle) { justify-self: start; margin: -1px 0 4px; } .clear-local-button { padding: 0; color: #85928d; background: transparent; border: 0; font-size: 10px; cursor: pointer; } .clear-local-button:hover { color: #b14e47; text-decoration: underline; } @media (max-width: 740px) { .reconnect-banner { align-items: flex-start; flex-direction: column; gap: 10px; width: calc(100% - 30px); }.reconnect-copy { align-items: flex-start; flex-direction: column; gap: 4px; }.reconnect-actions { width: 100%; justify-content: flex-end; } } @@ -287,17 +287,17 @@ .app-shell .room-hero h1 { font-size: 32.5px; } .app-shell .room-hero p { font-size: 15px; } .app-shell .room-stats { font-size: 12.5px; } -.app-shell .section-kicker, .app-shell .section-counter { font-size: 12.5px; } -.app-shell .section-heading h2 { font-size: 25px; } +:deep(.app-shell .section-kicker), :deep(.app-shell .section-counter) { font-size: 12.5px; } +:deep(.app-shell .section-heading h2) { font-size: 25px; } .app-shell .voice-card > strong { font-size: 15px; } .app-shell .voice-card > span { font-size: 12.5px; } .app-shell .more-count { font-size: 17.5px; } .app-shell .voice-empty { font-size: 13.75px; } -.app-shell .chat-empty strong { font-size: 15px; } -.app-shell .chat-empty span { font-size: 12.5px; } -.app-shell .message-meta strong { font-size: 13.75px; } -.app-shell .message-meta time { font-size: 11.25px; } -.app-shell .message-bubble, .app-shell .message-composer input { font-size: 15px; } +:deep(.app-shell .chat-empty strong) { font-size: 15px; } +:deep(.app-shell .chat-empty span) { font-size: 12.5px; } +:deep(.app-shell .message-meta strong) { font-size: 13.75px; } +:deep(.app-shell .message-meta time) { font-size: 11.25px; } +:deep(.app-shell .message-bubble), :deep(.app-shell .message-composer input) { font-size: 15px; } .app-shell .dock-user strong { font-size: 13.75px; } .app-shell .dock-user span, .app-shell .mic-mode-switch button, .app-shell .ptt-indicator { font-size: 11.25px; } .app-shell .member-panel-heading h2 { font-size: 23.75px; } @@ -327,16 +327,16 @@ .join-page .join-card h2 { font-size: 33.75px; } .join-page .card-lead { font-size: 16.25px; } .join-page .visitor-count { font-size: 15px; } -.join-page .notice { font-size: 15px; } -.join-page .field-label { font-size: 13.75px; } -.join-page .field-wrap input { font-size: 16.25px; } -.join-page .primary-button, .join-page :deep(.identity-import-submit) { font-size: 15px; } -.join-page .connect-button { font-size: 16.25px; } +:deep(.join-page .notice) { font-size: 15px; } +:deep(.join-page .field-label) { font-size: 13.75px; } +:deep(.join-page .field-wrap input) { font-size: 16.25px; } +:deep(.join-page .primary-button), .join-page :deep(.identity-import-submit) { font-size: 15px; } +:deep(.join-page .connect-button) { font-size: 16.25px; } .join-page .join-meta, .join-page .join-footer { font-size: 12.5px; } @media (min-width: 741px) and (max-width: 980px) { .app-shell { grid-template-columns: minmax(0, 1fr); }.member-panel { display: none; } } @media (max-width: 980px) { .app-shell { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(210px, 35dvh); }.workspace { height: auto; min-height: 0; }.member-panel { display: flex; border-top: 1px solid #eef2f0; border-left: 0; padding: 16px 18px; }.member-tree { margin-top: 10px; } } -@media (max-width: 740px) { .app-shell { display: grid; grid-template-rows: minmax(0, 1fr) 220px; }.app-shell .room-hero h1 { font-size: 27.5px; }.app-shell .room-hero p { font-size: 13.75px; }.app-shell .section-heading h2 { font-size: 21.25px; }.app-shell .message-bubble, .app-shell .message-composer input { font-size: 13.75px; }.app-shell .mic-mode-switch button { font-size: 11.25px; }.settings-modal .settings-content { padding: 24px 20px; }.settings-modal .settings-header h2 { font-size: 23.75px; } } +@media (max-width: 740px) { .app-shell { display: grid; grid-template-rows: minmax(0, 1fr) 220px; }.app-shell .room-hero h1 { font-size: 27.5px; }.app-shell .room-hero p { font-size: 13.75px; }:deep(.app-shell .section-heading h2) { font-size: 21.25px; }:deep(.app-shell .message-bubble), :deep(.app-shell .message-composer input) { font-size: 13.75px; }.app-shell .mic-mode-switch button { font-size: 11.25px; }.settings-modal .settings-content { padding: 24px 20px; }.settings-modal .settings-header h2 { font-size: 23.75px; } } /* Keep the connected workspace sized to the browser viewport and let the workspace and member tree own their scroll areas when the window shrinks. */ @@ -351,7 +351,7 @@ .member-panel { grid-column: 1; grid-row: 1; border-right: 1px solid #eef2f0; border-left: 0; } .voice-avatar.speaking { box-shadow: 0 0 0 3px #90f691, 0 0 14px rgba(144,246,145,.48); } .chat-panel { min-height: 0; } -.message-list { min-height: clamp(150px, 20dvh, 220px); max-height: min(360px, 42dvh); } +:deep(.message-list) { min-height: clamp(150px, 20dvh, 220px); max-height: min(360px, 42dvh); } .workspace-content { padding-bottom: 64px; } @media (max-width: 980px) { @@ -397,12 +397,12 @@ :deep(.changelog-button) { width: 32px; min-width: 32px; min-height: 32px; padding: 0; } :deep(.guide-button) { width: 32px; justify-content: center; padding: 0; } } -.chat-tabs { display: flex; align-items: center; gap: 6px; max-width: 100%; margin-top: 18px; overflow-x: auto; padding-bottom: 3px; } -.chat-tabs button { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; padding: 7px 10px; color: #74837e; background: #f3f7f5; border: 1px solid transparent; border-radius: 7px; font-size: 11px; cursor: pointer; } -.chat-tabs button:hover { color: #006a64; background: #e8f4f1; } -.chat-tabs button.active { color: #006a64; background: #dff1ed; border-color: #c9e5df; font-weight: 700; } -.event-row { display: flex; align-items: baseline; gap: 12px; padding: 9px 10px; color: #65746e; border-bottom: 1px solid #edf2f0; font-size: 12px; line-height: 1.45; } -.event-row time { flex: 0 0 auto; color: #99a6a1; font-size: 10px; } +:deep(.chat-tabs) { display: flex; align-items: center; gap: 6px; max-width: 100%; margin-top: 18px; overflow-x: auto; padding-bottom: 3px; } +:deep(.chat-tabs button) { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; padding: 7px 10px; color: #74837e; background: #f3f7f5; border: 1px solid transparent; border-radius: 7px; font-size: 11px; cursor: pointer; } +:deep(.chat-tabs button:hover) { color: #006a64; background: #e8f4f1; } +:deep(.chat-tabs button.active) { color: #006a64; background: #dff1ed; border-color: #c9e5df; font-weight: 700; } +:deep(.event-row) { display: flex; align-items: baseline; gap: 12px; padding: 9px 10px; color: #65746e; border-bottom: 1px solid #edf2f0; font-size: 12px; line-height: 1.45; } +:deep(.event-row time) { flex: 0 0 auto; color: #99a6a1; font-size: 10px; } .member-panel-heading { align-items: flex-end; } .status-button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; color: #5f746c; background: #f2f7f5; border: 1px solid #e0ebe7; border-radius: 7px; font-size: 11px; cursor: pointer; } .status-button:hover, .status-button.active { color: #8c653a; background: #fcf3e7; border-color: #f0dcc0; } @@ -464,9 +464,9 @@ .join-card-sonar i:nth-child(3) { animation-delay: 2.1s; } @keyframes join-card-sonar-ring { 0% { transform: scale(.6); opacity: .62; } 68% { opacity: .15; } 100% { transform: scale(1); opacity: 0; } } .join-card-waveform i, .join-card-sonar i { backface-visibility: hidden; } -.web-client button:focus-visible, .web-client a:focus-visible, .web-client input:focus-visible, .web-client select:focus-visible, .web-client textarea:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; } -.message-composer { position: sticky; bottom: env(safe-area-inset-bottom, 0px); z-index: 3; } -@media (max-width: 740px) { .workspace-scroll { overscroll-behavior: contain; }.workspace-content { width: min(100% - 24px, 650px); padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }.message-composer { margin-bottom: 8px; } } +.web-client :deep(button:focus-visible), .web-client :deep(a:focus-visible), .web-client :deep(input:focus-visible), .web-client :deep(select:focus-visible), .web-client textarea:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; } +:deep(.message-composer) { position: sticky; bottom: env(safe-area-inset-bottom, 0px); z-index: 3; } +@media (max-width: 740px) { .workspace-scroll { overscroll-behavior: contain; }.workspace-content { width: min(100% - 24px, 650px); padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }:deep(.message-composer) { margin-bottom: 8px; } } @media (max-width: 740px) { .member-context-menu { left: 12px !important; right: 12px; top: auto !important; bottom: env(safe-area-inset-bottom, 0px); min-width: 0; border-radius: 16px 16px 0 0; padding: 14px; } .member-context-menu button { min-height: 42px; font-size: 13px; } .member-context-menu strong { padding: 4px 8px 11px; font-size: 14px; } .menu-volume { font-size: 12px; } } @media (max-width: 740px) { .member-submenu-panel { position: static; min-width: 0; max-height: 190px; margin: 4px 0 0 24px; padding: 4px; border-radius: 10px; box-shadow: none; } .member-submenu-panel button { min-height: 42px; font-size: 13px; } } @@ -478,17 +478,17 @@ .whisper-ptt-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 0 12px; color: #fff; background: #006a64; border-radius: 8px; font-size: 12px; font-weight: 700; cursor: pointer; touch-action: none; user-select: none; } .whisper-ptt-button.active { background: #2f9d5c; box-shadow: 0 0 0 4px rgba(47,157,92,.16); } .mobile-nav, .mobile-more-panel { display: none; } -.mobile-section-hidden { display: block; } +:deep(.mobile-section-hidden) { display: block; } @media (min-width: 741px) { - .app-shell .mobile-section-hidden { display: block; } + :deep(.app-shell .mobile-section-hidden) { display: block; } } @media (max-width: 740px) { .app-shell { display: flex; flex-direction: column; height: auto; min-height: 100dvh; max-height: none; padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); overflow: visible; } .app-shell .workspace { display: flex; flex: 1 1 auto; height: calc(100dvh - 61px); min-height: 0; } .app-shell .workspace-scroll { flex: 1; height: 100%; min-height: 0; overflow-y: auto; } - .app-shell .mobile-section-hidden { display: none; } + :deep(.app-shell .mobile-section-hidden) { display: none; } .app-shell.mobile-view-more .workspace { display: none; } .app-shell .member-panel { display: none !important; order: 2; width: 100%; max-height: calc(100dvh - 142px); min-height: 235px; padding: 18px 15px 24px; border-top: 1px solid var(--border); border-right: 0; overflow: hidden; } .app-shell .member-panel.mobile-section-visible { display: flex !important; } @@ -593,8 +593,8 @@ .room-stats { margin-top: 15px; font-size: 11px; } .hero-visual { right: -28px; bottom: -2px; transform: scale(.72); transform-origin: right bottom; } .voice-section { margin-top: 21px; } - .section-heading { gap: 10px; } - .section-heading h2 { font-size: 22px; } + :deep(.section-heading) { gap: 10px; } + :deep(.section-heading h2) { font-size: 22px; } .voice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; } .voice-card { position: relative; min-height: 136px; padding: 18px 8px 14px; border-radius: 16px; } .voice-avatar-wrap, .voice-avatar { width: 60px; height: 60px; } @@ -635,17 +635,17 @@ .app-shell.mobile-view-chat .workspace-scroll { overflow: hidden; } .app-shell.mobile-view-chat .workspace-content { display: flex; flex-direction: column; height: 100%; min-height: 0; padding: 0 14px calc(8px + env(safe-area-inset-bottom, 0px)); } .app-shell.mobile-view-chat .chat-panel { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; margin-top: 0; padding: 0; border-top: 0; } - .app-shell.mobile-view-chat .chat-tabs { flex: 0 0 auto; margin-top: 0; padding: 10px 0 9px; border-bottom: 1px solid var(--border); scrollbar-width: none; } - .app-shell.mobile-view-chat .chat-tabs::-webkit-scrollbar { display: none; } - .app-shell.mobile-view-chat .chat-heading { flex: 0 0 auto; padding: 13px 0 9px; } - .app-shell.mobile-view-chat .chat-heading h2 { font-size: 21px; } - .app-shell.mobile-view-chat .message-list { flex: 1 1 auto; min-height: 0; max-height: none; padding: 10px 2px 16px; overflow-y: auto; overscroll-behavior: contain; } - .app-shell.mobile-view-chat .message-row { max-width: 94%; gap: 9px; } - .app-shell.mobile-view-chat .message-avatar { width: 36px; height: 36px; } - .app-shell.mobile-view-chat .message-meta strong { font-size: 12px; } - .app-shell.mobile-view-chat .message-bubble { padding: 10px 12px; font-size: 14px; } - .app-shell.mobile-view-chat .message-composer { position: relative; flex: 0 0 auto; min-height: 54px; margin: 0 0 4px; padding: 7px 8px 7px 13px; border: 1px solid var(--border); } - .app-shell.mobile-view-chat .message-composer input { font-size: 14px; } + :deep(.app-shell.mobile-view-chat .chat-tabs) { flex: 0 0 auto; margin-top: 0; padding: 10px 0 9px; border-bottom: 1px solid var(--border); scrollbar-width: none; } + :deep(.app-shell.mobile-view-chat .chat-tabs::-webkit-scrollbar) { display: none; } + :deep(.app-shell.mobile-view-chat .chat-heading) { flex: 0 0 auto; padding: 13px 0 9px; } + :deep(.app-shell.mobile-view-chat .chat-heading h2) { font-size: 21px; } + :deep(.app-shell.mobile-view-chat .message-list) { flex: 1 1 auto; min-height: 0; max-height: none; padding: 10px 2px 16px; overflow-y: auto; overscroll-behavior: contain; } + :deep(.app-shell.mobile-view-chat .message-row) { max-width: 94%; gap: 9px; } + :deep(.app-shell.mobile-view-chat .message-avatar) { width: 36px; height: 36px; } + :deep(.app-shell.mobile-view-chat .message-meta strong) { font-size: 12px; } + :deep(.app-shell.mobile-view-chat .message-bubble) { padding: 10px 12px; font-size: 14px; } + :deep(.app-shell.mobile-view-chat .message-composer) { position: relative; flex: 0 0 auto; min-height: 54px; margin: 0 0 4px; padding: 7px 8px 7px 13px; border: 1px solid var(--border); } + :deep(.app-shell.mobile-view-chat .message-composer input) { font-size: 14px; } .mobile-more-panel { width: calc(100% - 28px); max-height: none; margin: 16px auto 0; padding: 18px; border-radius: 18px; overflow-y: auto; } .mobile-more-panel h2 { font-size: 25px; } @@ -683,7 +683,7 @@ .promise-list { margin-top: 23px; } .join-card { padding: 22px 18px; border-radius: 18px; } .join-card h2 { font-size: 25px; } - .field-grid { grid-template-columns: minmax(0, 1fr) 112px; } + :deep(.field-grid) { grid-template-columns: minmax(0, 1fr) 112px; } .join-footer { width: min(100% - 28px, 560px); } } @@ -837,18 +837,18 @@ .web-client.language-de .join-page .join-card h2 { font-size: 29.7px; } .web-client.language-en .join-page .card-lead, .web-client.language-de .join-page .card-lead { font-size: 14.3px; } -.web-client.language-en .join-page .notice, -.web-client.language-de .join-page .notice { font-size: 13.2px; } -.web-client.language-en .join-page .field-label, -.web-client.language-de .join-page .field-label { font-size: 12px; } -.web-client.language-en .join-page .field-wrap input, -.web-client.language-de .join-page .field-wrap input { font-size: 14.3px; } -.web-client.language-en .join-page .primary-button, -.web-client.language-de .join-page .primary-button, +.web-client.language-en :deep(.join-page .notice), +.web-client.language-de :deep(.join-page .notice) { font-size: 13.2px; } +.web-client.language-en :deep(.join-page .field-label), +.web-client.language-de :deep(.join-page .field-label) { font-size: 12px; } +.web-client.language-en :deep(.join-page .field-wrap input), +.web-client.language-de :deep(.join-page .field-wrap input) { font-size: 14.3px; } +.web-client.language-en :deep(.join-page .primary-button), +.web-client.language-de :deep(.join-page .primary-button), .web-client.language-en .join-page :deep(.identity-import-submit), .web-client.language-de .join-page :deep(.identity-import-submit) { font-size: 13.2px; } -.web-client.language-en .join-page .connect-button, -.web-client.language-de .join-page .connect-button { font-size: 14.3px; } +.web-client.language-en :deep(.join-page .connect-button), +.web-client.language-de :deep(.join-page .connect-button) { font-size: 14.3px; } .web-client.language-en .join-page .join-meta, .web-client.language-en .join-page .join-footer, .web-client.language-de .join-page .join-meta, @@ -900,7 +900,7 @@ .app-shell .member-panel { position: relative; overflow: visible; padding-bottom: calc(18px + 12px + 52px); } .desktop-audio-dock { position: absolute; z-index: 6; left: 18px; right: 18px; bottom: 18px; margin-top: 0; } .app-shell .chat-panel { position: relative; padding-bottom: calc(16px + 48px); } - .app-shell .message-composer { position: absolute; z-index: 3; left: 0; right: 0; bottom: 16px; margin-bottom: 0; } + :deep(.app-shell .message-composer) { position: absolute; z-index: 3; left: 0; right: 0; bottom: 16px; margin-bottom: 0; } } .dock-hover-control { position: relative; flex: 0 0 34px; } @@ -1047,7 +1047,7 @@ } @media (min-width: 981px) and (max-width: 1200px) { - .app-shell[data-performance-open="true"] .voice-section .section-heading { + :deep(.app-shell[data-performance-open="true"] .voice-section .section-heading) { padding-right: 390px; } } @@ -1073,7 +1073,7 @@ /* Stacking order inside voice activity: room surfaces (auto), artwork (2), and readable labels / actionable overlays (3). */ -.app-shell .voice-section .section-heading { +:deep(.app-shell .voice-section .section-heading) { position: relative; z-index: 3; } @@ -1118,14 +1118,14 @@ z-index: 2; } -.app-shell .chat-empty[data-ws-state="messages-empty"] { +:deep(.app-shell .chat-empty[data-ws-state="messages-empty"]) { position: relative; isolation: isolate; min-height: 210px; padding: 126px 12px 10px; } -.app-shell .chat-empty[data-ws-state="messages-empty"]::before { +:deep(.app-shell .chat-empty[data-ws-state="messages-empty"]::before) { content: ""; position: absolute; z-index: 1; @@ -1141,7 +1141,7 @@ pointer-events: none; } -.app-shell .chat-empty[data-ws-state="messages-empty"]::after { +:deep(.app-shell .chat-empty[data-ws-state="messages-empty"]::after) { content: ""; position: absolute; z-index: 1; @@ -1157,20 +1157,20 @@ pointer-events: none; } -.app-shell .chat-empty[data-ws-state="messages-empty"] > strong, -.app-shell .chat-empty[data-ws-state="messages-empty"] > span { +:deep(.app-shell .chat-empty[data-ws-state="messages-empty"] > strong), +:deep(.app-shell .chat-empty[data-ws-state="messages-empty"] > span) { position: relative; z-index: 2; } -.app-shell .chat-panel .section-heading, -.app-shell .chat-panel .message-list, -.app-shell .chat-panel .message-composer { +:deep(.app-shell .chat-panel .section-heading), +:deep(.app-shell .chat-panel .message-list), +:deep(.app-shell .chat-panel .message-composer) { position: relative; z-index: 3; } -.app-shell .chat-status { +:deep(.app-shell .chat-status) { position: relative; z-index: 3; flex: 0 0 auto; @@ -1188,7 +1188,7 @@ } @media (max-width: 1100px) { - .app-shell .chat-empty[data-ws-state="messages-empty"] { + :deep(.app-shell .chat-empty[data-ws-state="messages-empty"]) { min-height: 190px; padding-top: 112px; } @@ -1201,7 +1201,7 @@ } @media (max-width: 740px) { - .app-shell .chat-empty[data-ws-state="messages-empty"] { + :deep(.app-shell .chat-empty[data-ws-state="messages-empty"]) { min-height: 170px; padding: 100px 10px 8px; } @@ -1282,9 +1282,13 @@ } @media (max-width: 420px) { - .identity-controls { align-items: flex-start; flex-direction: column; gap: 8px; } - .identity-actions { width: 100%; } - .identity-action-button { flex: 1; } + :deep(.identity-controls) { align-items: flex-start; flex-direction: column; gap: 8px; } + :deep(.identity-actions) { width: 100%; flex-wrap: wrap; } + :deep(.identity-action-button) { flex: 1 1 120px; min-width: 0; overflow-wrap: anywhere; } + :deep(.join-form > *) { min-width: 0; } + :deep(.join-form .field-label) { overflow-wrap: anywhere; } + :deep(.acceleration-choice) { align-items: stretch; flex-direction: column; gap: 8px; } + :deep(.acceleration-choice select) { width: 100%; min-width: 0; max-width: 100%; } :deep(.identity-import-header) { padding-right: 27px; } :deep(.identity-import-header h2) { font-size: 18px; } } diff --git a/web/src/views/WebClient.vue b/web/src/views/WebClient.vue index 0e23bc6..7d82f0e 100644 --- a/web/src/views/WebClient.vue +++ b/web/src/views/WebClient.vue @@ -46,45 +46,21 @@
i{{ t('notConfigured') }} {{ t('configureNow') }}
i{{ t('localPersistenceUnavailable') }}
-
-
- - -
-
i{{ t('openTargetDefaultNotPrefilled') }}
-
{{ t('relayAcceleration') }}{{ t('relayAccelerationHint') }}
-
-
{{ t('favoriteServers') }}
-
{{ t('recentServers') }}
-
- - - - - -
- - -
- - -
- - -
- -
{{ t('identityOptions') }}

{{ t('rememberIdentityConcurrentWarning') }}

- - - -
+
{{ t('connectionAuthorized') }}
@@ -221,33 +197,10 @@ -
-
- - - - -
-
{{ chatTabLabel }}

{{ chatTitle }}

{{ chatTab === 'events' ? t('eventCount', { count: serverEvents.length }) : t('messageCount', { count: visibleChatMessages.length }) }}
-
-
-
{{ event.message }}
-
{{ t('noEvents') }}{{ t('noEventsLead') }}
-
-
{{ chatTab === 'private' ? t('privateChatStart') : t('chatStart') }}{{ chatTab === 'private' ? t('privateChatStartLead') : t('chatStartLead') }}
- -
-
- - -
-

{{ chatStatus }}

-
+ @@ -387,6 +340,8 @@