:global(html[data-ws-route="webclient"] *) { box-sizing: border-box; } :global(html[data-ws-route="webclient"] body) { margin: 0; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; } :global(html[data-ws-route="webclient"] button), :global(html[data-ws-route="webclient"] input) { font: inherit; } :global(html[data-ws-route="webclient"] button) { border: 0; } .web-client { min-height: 100dvh; outline: none; background: var(--surface-0); color: var(--text-primary); } .web-client.skin-initializing { visibility: hidden; } .join-page { min-height: 100dvh; display: flex; flex-direction: column; background: var(--surface-0); color: var(--text-primary); } .join-header, .join-content, .join-footer { width: min(1240px, calc(100% - 64px)); margin: 0 auto; } .join-header, .join-content, .join-footer { position: relative; z-index: 1; } .join-header { z-index: 10; } .join-header :deep(.language-switcher) { z-index: 50; } .join-footer { z-index: 2; } .join-header { width: min(1680px, calc(100% - 32px)); } .join-header { min-height: 84px; display: flex; flex-wrap: wrap; align-content: center; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 0 clamp(12px, 1.4vw, 22px); box-sizing: border-box; } :deep(.brand-lockup) { display: flex; align-items: center; gap: 12px; } :deep(.brand-mark), .rail-logo { display: grid; place-items: center; color: #fff; background: #006a64; box-shadow: 0 8px 18px rgba(0, 106, 100, .15); } :deep(.brand-mark) { display: block; width: 40px; height: 40px; border-radius: 12px; object-fit: cover; } :deep(.brand-lockup strong) { display: block; color: #006a64; font-size: 18px; letter-spacing: -.04em; } :deep(.brand-lockup strong span) { color: #24312f; font-weight: 500; } :deep(.brand-lockup small) { display: block; margin-top: 2px; color: #7b8885; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; } :deep(.header-tools) { display: flex; min-width: 0; max-width: 100%; flex: 1 1 640px; flex-wrap: wrap; justify-content: flex-end; gap: clamp(6px, 1vw, 14px); row-gap: 6px; } :deep(.github-button) { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 13px; color: #fff; background: #1f2d2b; border: 1px solid #1f2d2b; border-radius: 9px; box-shadow: 0 5px 12px rgba(31,45,43,.16); font-size: 12px; font-weight: 800; text-decoration: none; transition: .18s; } :deep(.github-button:hover) { color: #fff; background: #006a64; border-color: #006a64; box-shadow: 0 7px 16px rgba(0,106,100,.2); transform: translateY(-1px); } :deep(.github-button .ui-icon) { flex: 0 0 auto; } :deep(.version-badge) { display: inline-flex; align-items: center; min-height: 30px; padding: 0 9px; color: #006a64; background: #e7f4f1; border: 1px solid #cfe9e4; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; } :deep(.changelog-button) { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 30px; padding: 0 10px; color: #006a64; background: #f2f8f6; border: 1px solid #dcebe7; border-radius: 8px; font-size: 11px; font-weight: 700; text-decoration: none; transition: .18s; } :deep(.changelog-button:hover) { color: #fff; background: #006a64; border-color: #006a64; } :deep(.header-note) { display: flex; align-items: center; gap: 8px; color: #71807c; font-size: 12px; } .language-switch { min-width: 50px; min-height: 28px; padding: 0 9px; color: #006a64; background: #e2f2ef; border: 1px solid #c8e6e1; border-radius: 7px; font-size: 10px; font-weight: 700; cursor: pointer; transition: .18s; } .language-switch:hover { color: #fff; background: #006a64; border-color: #006a64; } .language-menu-row { display: flex; align-items: center; gap: 10px; } .language-menu-row > span { flex: 1; } .tiny-dot, .online-dot, .status-pulse { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #65d879; box-shadow: 0 0 0 4px rgba(101, 216, 121, .14); } .join-content { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(480px, 520px); align-items: center; gap: clamp(40px, 6vw, 88px); padding: 38px 0 56px; } .join-copy { max-width: 630px; } .eyebrow, .room-eyebrow { display: flex; align-items: center; gap: 9px; color: #006a64; font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; } .eyebrow-dot { width: 9px; height: 9px; border-radius: 50%; background: #90f691; } .join-copy h1 { margin: 20px 0 18px; color: #192120; font-size: clamp(42px, 5.3vw, 72px); line-height: 1.04; letter-spacing: -.075em; } .join-copy h1 em { color: #006a64; font-style: normal; } .join-description { max-width: 500px; margin: 0; color: #65736f; font-size: 17px; line-height: 1.75; } .promise-list { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 42px; } .promise-item { display: flex; align-items: center; gap: 10px; min-width: 160px; } .promise-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #006a64; background: #d8f3ef; } .promise-icon.mint { color: #258844; background: #e0f6e1; } .promise-icon.sand { color: #9c6739; background: #f7ebdc; } .promise-item b, .promise-item small { display: block; } .promise-item b { color: #283431; font-size: 12px; } .promise-item small { margin-top: 3px; color: #87938f; font-size: 10px; } .visitor-count { position: relative; display: inline-flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; min-height: 42px; margin: 30px 0 0; padding: 7px 14px 7px 9px; overflow: hidden; color: #006a64; border: 1px solid rgba(86, 202, 185, .42); border-radius: 999px; background: linear-gradient(110deg, rgba(225, 250, 245, .94), rgba(244, 255, 252, .78)); box-shadow: 0 10px 24px rgba(0, 106, 100, .1), inset 0 0 0 1px rgba(255, 255, 255, .55); font-size: 12px; font-weight: 700; letter-spacing: .035em; } .visitor-count::before { position: absolute; top: 0; bottom: 0; left: -45%; width: 38%; background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .62), transparent); content: ""; pointer-events: none; transform: skewX(-18deg); animation: visitor-shimmer 3.6s 1.5s ease-in-out infinite; } .visitor-count-orbit { position: absolute; top: -20px; right: 12px; width: 51px; height: 51px; border: 1px solid rgba(71, 194, 174, .32); border-radius: 50%; pointer-events: none; animation: visitor-orbit 4s ease-in-out infinite; } .visitor-count-icon { position: relative; z-index: 1; display: grid; place-items: center; width: 27px; height: 27px; flex: 0 0 auto; color: #fff; border-radius: 50%; background: linear-gradient(135deg, #006a64, #32cdb7); box-shadow: 0 0 0 4px rgba(55, 205, 182, .12), 0 0 18px rgba(55, 205, 182, .24); } .visitor-count-label { position: relative; z-index: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .visitor-count-divider { position: relative; z-index: 1; width: 1px; height: 18px; flex: 0 0 auto; background: currentColor; opacity: .24; } .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); } :deep(.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; } :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; } :deep(.error-notice) { color: #a53c38; background: #fff0ef; border: 1px solid #f7d4d1; } :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%; 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; } :deep(.field-label), :deep(.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; } .app-shell { display: grid; grid-template-columns: 76px 292px minmax(0, 1fr) 246px; overflow: hidden; background: #fff; } .nav-rail { display: flex; flex-direction: column; align-items: center; padding: 17px 0 14px; color: #52615d; background: #f1f4f3; border-right: 1px solid #e1e9e6; } .rail-logo { width: 42px; height: 42px; border-radius: 13px; } .rail-nav { display: flex; flex-direction: column; gap: 8px; margin-top: 40px; } .rail-button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; width: 58px; padding: 8px 0; color: #7b8a85; background: transparent; border-radius: 10px; cursor: pointer; transition: .18s ease; } .rail-button span { font-size: 9px; font-weight: 600; } .rail-button:hover, .rail-button.active { color: #006a64; background: #dcefeb; } .rail-button.active::before { position: absolute; left: -9px; top: 11px; width: 3px; height: 27px; border-radius: 0 3px 3px 0; background: #006a64; content: ""; } .rail-bottom { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: auto; } .rail-avatar { display: grid; place-items: center; width: 34px; height: 34px; color: #fff; background: #006a64; border: 3px solid #fff; border-radius: 50%; font-size: 11px; font-weight: 700; box-shadow: 0 2px 8px rgba(0,0,0,.08); cursor: pointer; } .channel-sidebar { display: flex; flex-direction: column; min-width: 0; color: #2b3935; background: #f8faf9; border-right: 1px solid #e6ecea; } .sidebar-server { display: flex; align-items: center; gap: 10px; min-height: 73px; padding: 15px 15px 12px; border-bottom: 1px solid #e6ecea; } .server-avatar { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 auto; color: #006a64; background: #d8f0ed; border-radius: 10px; } .server-heading { min-width: 0; flex: 1; } .server-heading strong, .server-heading span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .server-heading strong { color: #24312f; font-size: 12px; } .server-heading span { margin-top: 4px; color: #84918d; font-size: 10px; } .server-heading i { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: #65d879; } :deep(.round-icon) { display: grid; place-items: center; width: 31px; height: 31px; flex: 0 0 auto; color: #71817c; background: transparent; border-radius: 8px; cursor: pointer; transition: .18s; } :deep(.round-icon:hover) { color: #006a64; background: #e4efec; } .sidebar-profile { display: flex; align-items: center; gap: 10px; padding: 18px 17px 14px; } .profile-avatar, .dock-avatar { display: grid; place-items: center; flex: 0 0 auto; color: #fff; border-radius: 11px; font-weight: 700; } .profile-avatar { width: 38px; height: 38px; font-size: 12px; } .profile-copy { min-width: 0; flex: 1; } .profile-copy strong, .profile-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .profile-copy strong { color: #263530; font-size: 12px; } .profile-copy span { margin-top: 4px; color: #7d8e88; font-size: 10px; } .profile-settings { display: grid; place-items: center; color: #7d8e88; background: transparent; cursor: pointer; } .profile-settings:hover { color: #006a64; } .channel-search, :deep(.member-search) { display: flex; align-items: center; gap: 8px; color: #85928e; background: #eef3f1; border-radius: 8px; } .channel-search { margin: 0 14px 18px; padding: 0 10px; min-height: 34px; } .channel-search input, :deep(.member-search input) { width: 100%; min-width: 0; border: 0; outline: none; background: transparent; color: #40504b; font-size: 11px; } .channel-search input::placeholder, :deep(.member-search input::placeholder) { color: #9ba6a3; } .channel-search kbd { padding: 2px 5px; color: #9aa7a3; background: #fff; border: 1px solid #dbe4e0; border-radius: 4px; font-size: 9px; } .sidebar-scroll { flex: 1; overflow-y: auto; padding-bottom: 14px; } .channel-section-title { display: flex; align-items: center; justify-content: space-between; padding: 0 14px 8px; color: #82908c; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; } .channel-section-title button { display: grid; place-items: center; padding: 2px; color: #87958f; background: transparent; cursor: pointer; } .channel-section-title button:hover { color: #006a64; } .channel-entry { display: flex; align-items: center; gap: 9px; min-height: 46px; padding-right: 12px; color: #56635f; cursor: pointer; transition: .16s; } .channel-entry:hover { background: #eef5f2; } .channel-entry.selected { color: #006a64; background: #dcefeb; } .channel-entry-copy { min-width: 0; flex: 1; } .channel-entry-copy strong, .channel-entry-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .channel-entry-copy strong { font-size: 12px; font-weight: 600; } .channel-entry-copy span { margin-top: 3px; color: #93a09c; font-size: 9px; } .channel-entry.selected .channel-entry-copy span { color: #4c9690; } .channel-selected-mark { margin-left: auto; color: #006a64; } .channel-member-preview { display: flex; flex-direction: column; gap: 6px; padding: 3px 12px 8px 0; color: #74827e; font-size: 10px; } .mini-member { display: flex; align-items: center; gap: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .mini-avatar { display: grid; place-items: center; width: 18px; height: 18px; flex: 0 0 auto; color: #fff; border-radius: 6px; font-size: 8px; font-weight: 700; } .mini-member b { margin-left: auto; color: #006a64; font-size: 9px; } .more-members { color: #006a64; font-size: 9px; } .channel-empty { margin: 5px 14px 0; padding: 19px 14px; color: #8a9793; border: 1px dashed #d3dfdb; border-radius: 10px; text-align: center; } :deep(.empty-icon) { display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto 9px; color: #6aa9a3; background: #e2f2ef; border-radius: 10px; } .channel-empty strong { display: block; color: #5a6964; font-size: 11px; } .channel-empty p { margin: 6px 0 12px; font-size: 10px; line-height: 1.5; } .channel-empty button { display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; color: #006a64; background: #e0f3f0; border-radius: 6px; font-size: 10px; cursor: pointer; } .sidebar-divider { height: 1px; margin: 18px 14px; background: #e2e9e6; } .quick-action { display: flex; align-items: center; gap: 10px; width: calc(100% - 28px); margin: 2px 14px; padding: 9px 5px; color: #6d7c77; background: transparent; text-align: left; cursor: pointer; } .quick-action:hover { color: #006a64; } .quick-action span { flex: 1; font-size: 11px; } .quick-action .ui-icon:last-child { color: #a6b2ae; } .sidebar-footer { display: flex; align-items: center; gap: 7px; min-height: 43px; padding: 0 16px; color: #75837e; border-top: 1px solid #e6ecea; font-size: 10px; } .footer-latency { margin-left: auto; color: #a0ada8; font-size: 9px; } .workspace { display: flex; 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; } :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; } :deep(.voice-grid) { display: grid; grid-template-columns: repeat(auto-fill, minmax(142px, 1fr)); gap: 12px; margin-top: 17px; } :deep(.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; } :deep(.voice-card:hover) { z-index: 3; transform: translateY(-2px); box-shadow: 0 11px 24px rgba(20,58,51,.08); } :deep(.voice-card.speaking) { border-color: #90f691; box-shadow: 0 0 14px rgba(144,246,145,.35); } :deep(.voice-avatar-wrap) { position: relative; z-index: 3; width: 68px; margin: 0 auto 11px; } :deep(.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; } :deep(.voice-card > strong), :deep(.voice-card > span) { position: relative; z-index: 3; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } :deep(.voice-card > strong) { color: #2c3935; font-size: 12px; } :deep(.voice-card > span) { margin-top: 5px; color: #91a09a; font-size: 10px; } :deep(.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; } :deep(.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; } :deep(.voice-empty .empty-icon) { margin: 0; width: 34px; height: 34px; } :deep(.voice-empty strong) { color: #4c5e58; } :deep(.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; } :deep(.member-panel) { min-width: 0; padding: 26px 16px; color: #2c3935; background: #fbfcfc; border-left: 1px solid #eef2f0; } :deep(.member-panel-heading) { display: flex; align-items: flex-start; justify-content: space-between; } :deep(.member-panel-heading h2) { margin: 5px 0 0; color: #25322e; font-size: 19px; letter-spacing: -.04em; } :deep(.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; } :deep(.member-list) { display: flex; flex-direction: column; gap: 17px; margin-top: 17px; } :deep(.member-row) { display: flex; align-items: center; gap: 8px; min-width: 0; } :deep(.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; } :deep(.member-avatar.speaking) { box-shadow: 0 0 0 2px #90f691, 0 0 10px rgba(144,246,145,.35); } :deep(.member-presence) { position: absolute; right: -2px; bottom: -2px; width: 9px; height: 9px; border: 2px solid #fbfcfc; border-radius: 50%; background: #65d879; } :deep(.member-copy) { min-width: 0; flex: 1; } :deep(.member-copy strong), :deep(.member-copy span) { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } :deep(.member-copy strong) { color: #34423d; font-size: 10px; } :deep(.member-copy span) { margin-top: 4px; color: #96a29e; font-size: 9px; } :deep(.member-volume) { align-items: center; gap: 5px; color: #a1afaa; width: 64px; } :deep(.member-volume input) { width: 45px; height: 4px; appearance: none; border-radius: 99px; outline: none; cursor: pointer; } :deep(.member-volume input::-webkit-slider-thumb), :deep(.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; } :deep(.member-volume input::-moz-range-thumb), :deep(.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; } :deep(.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; } :deep(.modal-backdrop) { position: fixed; z-index: 20; inset: 0; display: grid; place-items: center; padding: 28px; background: rgba(25, 33, 31, .42); backdrop-filter: blur(5px); } :deep(.settings-modal) { display: flex; width: min(920px, 100%); max-height: min(760px, calc(100dvh - 56px)); overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 20px 60px rgba(16,40,35,.2); } .settings-nav { display: flex; flex-direction: column; width: 215px; flex: 0 0 auto; padding: 28px 12px 20px; background: #f8faf9; border-right: 1px solid #e6ecea; } .settings-title { padding: 0 13px 20px; color: #25322e; font-size: 19px; font-weight: 700; } .settings-nav-item { display: flex; align-items: center; gap: 12px; padding: 11px 13px; color: #65736f; background: transparent; border-left: 3px solid transparent; border-radius: 8px; font-size: 11px; text-align: left; cursor: pointer; } .settings-nav-item.active { color: #006a64; background: #e2efec; border-left-color: #006a64; font-weight: 700; } .settings-version { margin-top: auto; padding: 20px 13px 0; color: #98a5a0; border-top: 1px solid #e4ebe8; font-size: 10px; line-height: 1.7; } .settings-version span { color: #b0bbb7; } :deep(.settings-main) { display: flex; min-width: 0; flex: 1; flex-direction: column; } :deep(.settings-header) { display: flex; align-items: center; justify-content: space-between; min-height: 75px; padding: 0 28px; border-bottom: 1px solid #edf1ef; } :deep(.settings-header h2) { margin: 0; color: #202c29; font-size: 22px; letter-spacing: -.045em; } :deep(.settings-content) { flex: 1; overflow-y: auto; padding: 28px 40px; } :deep(.settings-section) { max-width: 620px; margin: 0 auto; } :deep(.settings-section h3) { display: flex; align-items: center; gap: 9px; margin: 0 0 21px; color: #293631; font-size: 16px; } :deep(.settings-section h3 .ui-icon) { color: #006a64; } :deep(.settings-label) { display: block; margin-bottom: 8px; color: #5e6d67; font-size: 10px; font-weight: 500; } .select-like { display: flex; align-items: center; justify-content: space-between; min-height: 39px; margin-bottom: 19px; padding: 0 13px; color: #394742; background: #f4f7f6; border-radius: 8px; font-size: 11px; } .select-like .ui-icon { color: #677671; } :deep(.settings-range-row) { display: flex; align-items: center; justify-content: space-between; } :deep(.settings-range-row .settings-label) { margin: 0; } :deep(.settings-range-row strong) { color: #006a64; font-size: 10px; } :deep(.settings-range) { width: 100%; height: 6px; margin: 11px 0 20px; appearance: none; border-radius: 999px; outline: none; cursor: pointer; } :deep(.settings-range::-webkit-slider-thumb) { width: 19px; height: 19px; } :deep(.settings-range::-moz-range-thumb) { width: 19px; height: 19px; } :deep(.mic-test) { padding: 15px; border: 1px solid #e5ece9; border-radius: 11px; background: #fafcfb; } :deep(.mic-test-header) { display: flex; align-items: center; justify-content: space-between; } :deep(.mic-test-header strong) { color: #36453f; font-size: 11px; } :deep(.mic-test-header button) { padding: 6px 9px; color: #006a64; background: #e0f1ee; border-radius: 5px; font-size: 10px; cursor: pointer; } :deep(.meter) { display: flex; align-items: flex-end; justify-content: space-between; gap: 4px; height: 39px; margin-top: 12px; padding: 0 4px 4px; border-bottom: 1px solid #dce6e2; } :deep(.meter i) { width: 5px; min-height: 4px; border-radius: 3px 3px 0 0; background: #dfe6e3; } :deep(.meter i.active) { background: #81ed8b; box-shadow: 0 0 7px rgba(129,237,139,.45); animation: meter 1s ease-in-out infinite alternate; } :deep(.meter-labels) { display: flex; justify-content: space-between; margin-top: 6px; color: #9ba6a2; font-size: 8px; } :deep(.settings-separator) { max-width: 620px; margin: 32px auto; border-top: 1px solid #edf1ef; } :deep(.mode-note) { display: flex; align-items: flex-start; gap: 8px; padding: 12px; color: #66817a; background: #eef7f4; border-radius: 8px; font-size: 10px; line-height: 1.5; } :deep(.mode-note .ui-icon) { color: #4f9c91; } :deep(.settings-footer) { display: flex; gap: 16px; min-height: 67px; padding: 15px 28px; border-top: 1px solid #edf1ef; } :deep(.text-button), :deep(.identity-import-cancel) { padding: 0 6px; color: #63716c; background: transparent; font-size: 11px; font-weight: 600; cursor: pointer; } :deep(.save-button) { padding: 0 23px; } .qq-modal-card { position: relative; width: min(460px, 100%); max-height: min(90dvh, 720px); overflow-y: auto; padding: 30px; color: #263431; border: 1px solid #d9e7e3; border-radius: 20px; background: #fff; box-shadow: 0 20px 60px rgba(16,40,35,.22); text-align: center; } .qq-modal-heading { padding: 0 24px 18px; } .qq-modal-heading h2 { margin: 8px 0 0; color: #1d2d29; font-size: 25px; letter-spacing: -.04em; } :deep(.qq-modal-close), :deep(.identity-import-close) { position: absolute; top: 13px; right: 13px; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; color: #6d7d78; background: #f1f6f4; border: 1px solid #e1ebe8; border-radius: 50%; cursor: pointer; } :deep(.qq-modal-close:hover), :deep(.identity-import-close:hover) { color: #006a64; background: #e2f2ef; border-color: #c8e6e1; } .qq-qr-image { display: block; width: min(100%, 360px); max-height: min(55vh, 520px); margin: 0 auto; object-fit: contain; border-radius: 12px; } .qq-direct-join { margin: 18px 0 9px; color: #667773; font-size: 13px; } .qq-join-link { display: block; padding: 11px 14px; color: #006a64; background: #edf8f5; border: 1px solid #cfe9e4; border-radius: 10px; font-size: 12px; font-weight: 700; line-height: 1.45; text-decoration: none; overflow-wrap: anywhere; } .qq-join-link:hover { color: #fff; background: #006a64; border-color: #006a64; } .toast { position: fixed; z-index: 30; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 8px; padding: 11px 15px; color: #fff; background: #263e39; border-radius: 9px; box-shadow: 0 10px 24px rgba(16,48,42,.2); font-size: 11px; animation: toast-in .25s ease-out; } :deep(.channel-password-modal) { position: relative; width: min(420px, 100%); padding: 31px 32px 28px; color: #263431; border: 1px solid #d9e7e3; border-radius: 18px; background: #fff; box-shadow: 0 20px 60px rgba(16,40,35,.22); } :deep(.channel-password-icon) { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 17px; color: #006a64; background: #e4f4f0; border-radius: 14px; } :deep(.channel-password-modal h2) { margin: 7px 0 8px; color: #1d2d29; font-size: 24px; letter-spacing: -.04em; } :deep(.channel-password-modal > p) { margin: 0 0 23px; color: #70817b; font-size: 12px; line-height: 1.6; } :deep(.channel-password-form .field-label) { margin-bottom: 8px; } :deep(.channel-password-form .field-wrap) { margin-bottom: 12px; } :deep(.channel-password-error) { margin: 0 0 14px; } :deep(.channel-password-actions) { display: flex; align-items: center; justify-content: flex-end; gap: 15px; margin-top: 21px; } :deep(.channel-password-submit) { min-height: 40px; padding: 0 16px; } :deep(.channel-password-submit .button-spinner) { width: 14px; height: 14px; } :deep(.channel-password-submit:disabled) { cursor: wait; opacity: .7; } @media (max-width: 740px) { :deep(.channel-password-backdrop) { align-items: flex-end; padding: 0; } :deep(.channel-password-modal) { width: 100%; padding: 27px 22px calc(23px + env(safe-area-inset-bottom, 0px)); border-radius: 20px 20px 0 0; } :deep(.channel-password-modal h2) { font-size: 22px; } } @keyframes spin { to { transform: rotate(360deg); } } @keyframes wave { from { transform: scaleY(.68); opacity: .65; } to { transform: scaleY(1.08); opacity: 1; } } @keyframes meter { from { transform: scaleY(.65); } to { transform: scaleY(1); } } @keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } } @keyframes join-fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } } @keyframes join-title-in { from { opacity: 0; letter-spacing: -.02em; transform: translateY(18px) scale(.98); } to { opacity: 1; letter-spacing: -.075em; transform: translateY(0) scale(1); } } @keyframes join-accent-breathe { 0%, 100% { text-shadow: 0 0 0 rgba(0, 106, 100, 0); } 50% { text-shadow: 0 5px 18px rgba(0, 106, 100, .16); } } @keyframes join-dot-pulse { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(144, 246, 145, .28); } 50% { transform: scale(1.18); box-shadow: 0 0 0 6px rgba(144, 246, 145, 0); } } @keyframes visitor-shimmer { 0%, 42% { left: -45%; } 72%, 100% { left: 130%; } } @keyframes visitor-spark { 0%, 100% { opacity: .58; transform: scale(.88) rotate(0deg); } 50% { opacity: 1; transform: scale(1.14) rotate(12deg); } } @keyframes visitor-orbit { 0%, 100% { transform: rotate(-8deg) scale(.96); opacity: .48; } 50% { transform: rotate(12deg) scale(1.04); opacity: .9; } } .join-page .join-header { animation: join-fade-up .55s cubic-bezier(.22, 1, .36, 1) both; } .join-page .join-copy .eyebrow { animation: join-fade-up .55s .08s cubic-bezier(.22, 1, .36, 1) both; } .join-page .join-copy h1 { animation: join-title-in .78s .16s cubic-bezier(.22, 1, .36, 1) both; } .join-page .join-copy h1 em { display: inline-block; animation: join-accent-breathe 5s 1.15s ease-in-out infinite; } .join-page .join-description { animation: join-fade-up .58s .36s cubic-bezier(.22, 1, .36, 1) both; } .join-page .promise-list { animation: join-fade-up .58s .48s cubic-bezier(.22, 1, .36, 1) both; } .join-page .promise-item:nth-child(2) { animation: join-fade-up .58s .58s cubic-bezier(.22, 1, .36, 1) both; } .join-page .promise-item:nth-child(3) { animation: join-fade-up .58s .68s cubic-bezier(.22, 1, .36, 1) both; } .join-page .visitor-count { animation: join-fade-up .58s .76s cubic-bezier(.22, 1, .36, 1) both; } .join-page .eyebrow-dot { animation: join-dot-pulse 2.8s .8s ease-in-out infinite; } .join-page .join-footer { animation: join-fade-up .55s .72s cubic-bezier(.22, 1, .36, 1) both; } @media (prefers-reduced-motion: reduce) { .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; } :deep(.member-panel) { padding-inline: 12px; } :deep(.member-volume) { display: none; } } @media (max-width: 980px) { .app-shell { grid-template-columns: 70px 245px minmax(0, 1fr); } :deep(.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; 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) { gap: 8px; } .app-shell { display: block; } .nav-rail, .channel-sidebar, :deep(.member-panel) { display: none; } .workspace { height: 100%; } .workspace-header { min-height: 61px; padding: 0 15px; } .crumb-muted, .breadcrumbs > .ui-icon, .breadcrumbs > strong { display: none; } .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); } .voice-section, .chat-panel { margin-top: 25px; } :deep(.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; } :deep(.settings-modal) { max-height: calc(100dvh - 28px); } .settings-nav { display: none; } :deep(.settings-content) { padding: 24px 20px; } :deep(.settings-header) { min-height: 62px; padding-inline: 20px; } :deep(.settings-header h2) { font-size: 19px; } :deep(.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; } :deep(.voice-grid) { gap: 8px; } :deep(.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; } } /* Use the wide desktop workspace without stretching voice tiles indefinitely. */ @media (min-width: 1201px) { .app-shell .workspace-content { width: min(1360px, calc(100% - 64px)); } } @media (min-width: 741px) { :deep(.app-shell .voice-grid) { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); } } :deep(.screen-share-card-button) { min-height: 28px; font-size: 10px; } :deep(.screen-share-settings-button) { width: 28px; min-width: 28px; min-height: 28px; } @media (max-width: 740px) { :deep(.screen-share-card-button) { font-size: 9px; } } /* The connected view keeps only controls that have a working action. The channel tree lives with the member list so every channel remains visible even when the current user is elsewhere. */ .app-shell { grid-template-columns: minmax(0, 1fr) 318px; } .nav-rail, .channel-sidebar { display: none; } .workspace { min-width: 0; } :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; } :deep(.member-panel) { display: flex; flex-direction: column; min-height: 0; padding: 26px 18px 18px; overflow: hidden; } :deep(.member-tree) { flex: 1; min-height: 0; margin-top: 18px; padding-right: 3px; overflow-y: auto; } :deep(.member-channel-group) { padding: 8px 0 14px; border-bottom: 1px solid #e7eeeb; } :deep(.member-channel-group + .member-channel-group) { margin-top: 8px; } :deep(.member-channel-heading) { display: flex; align-items: center; gap: 7px; width: 100%; padding: 5px 4px; color: #52635d; background: transparent; border-radius: 7px; text-align: left; cursor: pointer; } :deep(.member-channel-heading:hover), :deep(.member-channel-group.current .member-channel-heading) { color: #006a64; background: #e5f3f0; } :deep(.member-channel-heading span) { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 700; } :deep(.member-channel-heading small) { color: #94a29d; font-size: 10px; } :deep(.member-channel-group.current .member-channel-heading small) { color: #4d9a92; } :deep(.member-channel-group .member-list) { gap: 13px; margin: 9px 4px 0 14px; } :deep(.member-volume) { display: flex; } :deep(.channel-no-members) { margin: 7px 4px 0 31px; color: #a0ada8; font-size: 10px; } .member-panel-tip { flex: 0 0 auto; margin-top: 15px; } :deep(.settings-modal) { width: min(760px, 100%); } .settings-nav { display: none; } :deep(.settings-content) { padding: 30px 42px; } :deep(.settings-select) { display: block; width: 100%; min-height: 42px; padding: 0 13px; color: #394742; border: 1px solid #e0eae6; border-radius: 8px; outline: none; background: #f4f7f6; font-size: 11px; cursor: pointer; } :deep(.settings-device-select) { position: relative; display: block; width: 100%; margin-bottom: 19px; } :deep(.settings-device-select > .settings-select) { display: flex; align-items: center; justify-content: space-between; box-sizing: border-box; margin: 0; text-align: left; } :deep(.settings-select-label) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } :deep(.settings-select-chevron) { width: 7px; height: 7px; flex: 0 0 auto; margin: -3px 3px 0 12px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .2s ease; } :deep(.settings-select[aria-expanded="true"] .settings-select-chevron) { transform: rotate(225deg); } :deep(.settings-select-menu) { position: fixed; z-index: 24; box-sizing: border-box; margin: 0; padding: 4px 0; overflow-x: hidden; overflow-y: auto; color: #394742; border: 1px solid #dfe7e3; border-radius: 8px; background: #f4f7f6; box-shadow: 0 10px 28px rgba(16, 30, 26, .22); list-style: none; } :deep(.settings-select-option) { display: flex; align-items: center; min-height: 32px; padding: 0 12px; cursor: pointer; transition: background-color .12s ease; } :deep(.settings-select-option:hover), :deep(.settings-select-option.active), :deep(.settings-select-option[aria-selected="true"]) { background: rgba(0, 106, 100, .1); } :deep(.settings-select-menu-enter-active), :deep(.settings-select-menu-leave-active) { transition: opacity .14s ease, transform .14s ease; } :deep(.settings-select-menu-enter-from), :deep(.settings-select-menu-leave-to) { opacity: 0; transform: translateY(-3px); } :deep(.settings-select:focus) { border-color: #81d8d0; box-shadow: 0 0 0 2px rgba(129,216,208,.2); } :deep(.settings-select:disabled) { cursor: not-allowed; opacity: .65; } :deep(.settings-error) { margin: -9px 0 15px; color: #b14e47; font-size: 10px; line-height: 1.5; } :deep(.settings-footer) { justify-content: flex-end; } .reconnect-banner { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 14px auto 0; width: min(950px, calc(100% - 64px)); padding: 12px 16px; color: #6c5a2c; border: 1px solid #f0dfae; border-radius: 10px; background: #fff9e8; } .reconnect-banner.failed { color: #8f4540; border-color: #f2d1cd; background: #fff2f1; } .reconnect-banner.degraded { color: #7a4d1d; border-color: #f3d9a9; background: #fff7ec; } /* 降级/告警级提示(如音频链路降级) */ .reconnect-copy { display: flex; align-items: baseline; gap: 10px; min-width: 0; } .reconnect-copy strong { font-size: 13px; } .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; } :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; } :deep(.identity-import-header h2) { margin: 0; color: var(--text-primary); font-size: 20px; letter-spacing: -.035em; } :deep(.identity-import-header p) { margin: 7px 0 0; color: var(--text-muted); font-size: 11px; line-height: 1.5; } :deep(.identity-import-textarea) { display: block; width: 100%; min-height: 190px; resize: vertical; padding: 12px; color: var(--text-primary); background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; outline: none; font: 11px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; } :deep(.identity-import-textarea:focus) { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 17%, transparent); } :deep(.identity-drop-zone) { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; min-height: 58px; padding: 10px 14px; color: var(--text-muted); background: color-mix(in srgb, var(--accent) 5%, var(--surface-1)); border: 1px dashed color-mix(in srgb, var(--accent) 48%, var(--border)); border-radius: 10px; font-size: 11px; cursor: pointer; transition: background .16s, border-color .16s; } :deep(.identity-drop-zone > .ui-icon) { color: var(--accent); } :deep(.identity-drop-zone.active), :deep(.identity-drop-zone:hover) { background: color-mix(in srgb, var(--accent) 12%, var(--surface-1)); border-color: var(--accent); } :deep(.identity-file-input) { display: none; } :deep(.identity-import-error) { margin: -5px 0 0; color: var(--danger); font-size: 11px; line-height: 1.45; } :deep(.identity-import-security) { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 11px 12px; color: var(--text-muted); background: color-mix(in srgb, var(--warning) 10%, var(--surface-1)); border-radius: 9px; font-size: 10px; line-height: 1.5; } :deep(.identity-import-security .ui-icon) { flex: 0 0 auto; color: var(--warning); } :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; } :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-item) { display: inline-flex; max-width: 100%; align-items: center; gap: 2px; overflow: hidden; border: 1px solid #d7ebe6; border-radius: 7px; background: #eef8f5; } :deep(.local-server-select), :deep(.favorite-toggle) { max-width: 210px; min-width: 0; overflow: hidden; padding: 5px 8px; color: #277970; background: transparent; border: 0; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; } :deep(.local-server-select:hover), :deep(.favorite-toggle:hover) { background: rgba(39, 121, 112, .08); } :deep(.local-server-favorite) { display: grid; width: 25px; height: 26px; flex: 0 0 25px; place-items: center; padding: 0; color: #82958e; background: transparent; border: 0; border-left: 1px solid rgba(39, 121, 112, .14); cursor: pointer; } :deep(.local-server-favorite.active) { color: #b47a09; } :deep(.local-server-favorite.active .ui-icon) { fill: currentColor; } :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; } } :deep(.save-button) { min-height: 38px; } /* Increase connected-view typography by 25% while keeping the layout compact. */ .app-shell .breadcrumbs { font-size: 15px; } .app-shell .disconnect-button { font-size: 14px; } .app-shell .room-eyebrow { font-size: 12.5px; } .app-shell .live-pill { font-size: 11.25px; } .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; } :deep(.app-shell .section-kicker), :deep(.app-shell .section-counter) { font-size: 12.5px; } :deep(.app-shell .section-heading h2) { font-size: 25px; } :deep(.app-shell .voice-card > strong) { font-size: 15px; } :deep(.app-shell .voice-card > span) { font-size: 12.5px; } .app-shell .more-count { font-size: 17.5px; } :deep(.app-shell .voice-empty) { font-size: 13.75px; } :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; } :deep(.app-shell .member-panel-heading h2) { font-size: 23.75px; } :deep(.app-shell .member-search input) { font-size: 13.75px; } :deep(.app-shell .member-channel-heading span) { font-size: 15px; } :deep(.app-shell .member-channel-heading small) { font-size: 12.5px; } :deep(.app-shell .member-copy strong) { font-size: 12.5px; } :deep(.app-shell .member-copy span), :deep(.app-shell .channel-no-members) { font-size: 11.25px; } :deep(.app-shell .member-empty), .app-shell .member-panel-tip { font-size: 12.5px; } :deep(.settings-modal .settings-header h2) { font-size: 27.5px; } :deep(.settings-modal .settings-section h3) { font-size: 20px; } :deep(.settings-modal .settings-label), :deep(.settings-modal .settings-range-row strong), :deep(.settings-modal .settings-error) { font-size: 12.5px; } :deep(.settings-modal .settings-select) { font-size: 13.75px; } :deep(.settings-modal .mic-test-header strong) { font-size: 13.75px; } :deep(.settings-modal .mic-test-header button) { font-size: 12.5px; } :deep(.settings-modal .meter-labels) { font-size: 10px; } :deep(.settings-modal .mode-note) { font-size: 12.5px; } .join-page :deep(.brand-lockup strong) { font-size: 22.5px; } .join-page :deep(.brand-lockup small), .join-page :deep(.header-note) { font-size: 12.5px; } .join-page .language-switch { font-size: 12.5px; } .join-page .eyebrow { font-size: 13.75px; } .join-page .join-copy h1 { font-size: clamp(52px, 6.6vw, 90px); } .join-page .join-description { font-size: 21.25px; } .join-page .promise-item b { font-size: 15px; } .join-page .promise-item small { font-size: 12.5px; } :deep(.join-page .card-kicker) { font-size: 12.5px; } .join-page .join-card h2 { font-size: 33.75px; } .join-page .card-lead { font-size: 16.25px; } .join-page .visitor-count { font-size: 15px; } :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); } :deep(.member-panel) { display: none; } } @media (max-width: 980px) { .app-shell { display: grid; } .workspace { min-height: 0; } :deep(.member-panel) { border-left: 0; } :deep(.member-tree) { margin-top: 10px; } } @media (max-width: 740px) { .app-shell { display: grid; } .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; } :deep(.settings-modal .settings-content) { padding: 24px 20px; } :deep(.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. */ :global(html[data-ws-route="webclient"] body) { overflow-x: hidden; overflow-y: auto; } .web-client { height: 100dvh; min-height: 0; max-height: 100dvh; } .web-client { overflow: hidden; } .join-page { overflow-y: auto; } .app-shell { grid-template-columns: 318px minmax(0, 1fr); height: 100dvh; min-height: 0; max-height: 100dvh; } .workspace { grid-column: 2; grid-row: 1; min-height: 0; height: 100%; } .workspace-scroll { min-height: 0; padding-bottom: env(safe-area-inset-bottom, 0px); } :deep(.member-panel) { grid-column: 1; grid-row: 1; border-right: 1px solid #eef2f0; border-left: 0; } :deep(.voice-avatar.speaking) { box-shadow: 0 0 0 3px #90f691, 0 0 14px rgba(144,246,145,.48); } .chat-panel { min-height: 0; } :deep(.message-list) { min-height: clamp(150px, 20dvh, 220px); max-height: min(360px, 42dvh); } .workspace-content { padding-bottom: 64px; } @media (max-width: 980px) { .app-shell { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(210px, 35dvh); } .workspace { grid-column: 1; grid-row: 1; height: auto; } :deep(.member-panel) { grid-column: 1; grid-row: 2; display: flex; border-top: 1px solid #eef2f0; border-right: 0; padding: 16px 18px; } } @media (max-width: 740px) { .join-header { flex-wrap: nowrap; gap: 6px; } :deep(.header-tools) { min-width: 0; flex: 0 1 auto; flex-wrap: nowrap; } .app-shell { grid-template-rows: minmax(0, 1fr) 220px; } } /* Desktop audio controls live in the member rail so the workspace header stays focused on navigation. Mobile keeps its existing controls below the voice cards and in the More panel. */ :deep(.header-tools) { align-items: center; } .header-action, :deep(.round-icon) { line-height: 0; } :deep(.guide-button) { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 10px; color: #006a64; background: #edf7f4; border: 1px solid #d7ebe6; border-radius: 8px; font-size: 12px; font-weight: 700; text-decoration: none; cursor: pointer; } :deep(.guide-button:hover) { color: #fff; background: #006a64; border-color: #006a64; } .workspace-actions { align-items: center; flex-wrap: nowrap; } .workspace-actions .header-action { flex: 0 0 34px; padding: 0; line-height: 0; } .workspace-actions .header-action .ui-icon { margin: 0; } :deep(.desktop-audio-dock) { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; min-width: 0; margin-top: 12px; padding: 9px; color: var(--text-muted); background: color-mix(in srgb, var(--accent) 8%, var(--surface-1)); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 8px 20px color-mix(in srgb, var(--text-primary) 10%, transparent); } :deep(.desktop-audio-dock-copy) { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; } :deep(.desktop-audio-dock-copy strong) { overflow: hidden; color: var(--text-primary); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; } :deep(.desktop-audio-dock-copy span) { overflow: hidden; font-size: 10px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; } :deep(.desktop-audio-dock-actions) { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; } :deep(.dock-audio-button) { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; color: var(--text-muted); background: transparent; border: 1px solid transparent; border-radius: 9px; cursor: pointer; transition: color .16s, background .16s, border-color .16s, transform .16s; } :deep(.dock-audio-button:hover), :deep(.dock-audio-button:focus-visible) { color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--surface-1)); border-color: color-mix(in srgb, var(--accent) 32%, var(--border)); transform: translateY(-1px); } :deep(.dock-audio-button.microphone-header-toggle.muted) { color: var(--danger); background: color-mix(in srgb, var(--danger) 12%, var(--surface-1)); } :deep(.dock-audio-button.muted) { color: var(--danger); background: color-mix(in srgb, var(--danger) 12%, var(--surface-1)); } :deep(.dock-audio-button.accompaniment-toggle.active) { color: var(--accent); background: color-mix(in srgb, var(--accent) 18%, var(--surface-1)); border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent); } .settings-mode-switch { width: fit-content; margin: 0 0 7px; } :deep(.settings-hint) { margin: -1px 0 19px; color: #8b9994; font-size: 11px; } @media (max-width: 740px) { :deep(.header-tools) { gap: 7px; } :deep(.header-note), :deep( .github-button span), :deep( .qq-button .qq-label), :deep( .changelog-button span), :deep( .guide-button span) { display: none; } :deep(.github-button) { width: 34px; justify-content: center; padding: 0; } :deep(.changelog-button) { width: 32px; min-width: 32px; min-height: 32px; padding: 0; } :deep(.guide-button) { width: 32px; justify-content: center; padding: 0; } } :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; } :deep(.member-panel-heading) { align-items: flex-end; } :deep(.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; } :deep(.status-button:hover), :deep(.status-button.active) { color: #8c653a; background: #fcf3e7; border-color: #f0dcc0; } :deep(.status-dot) { width: 7px; height: 7px; border-radius: 50%; background: #66d27a; } :deep(.status-button.active .status-dot) { background: #e0a34d; } :deep(.member-row) { position: relative; padding: 4px 6px; margin: -4px -6px; border-radius: 9px; transition: background .16s ease, box-shadow .16s ease; } :deep(.member-row:hover), :deep(.member-row:focus-within) { background: #edf7f4; box-shadow: 0 4px 12px rgba(20, 58, 51, .07); } :deep(.member-context-menu) { position: fixed; z-index: 40; display: grid; min-width: 188px; gap: 3px; padding: 8px; background: #fff; border: 1px solid #e0eae6; border-radius: 10px; box-shadow: 0 14px 35px rgba(20, 50, 44, .16); } :deep(.member-context-menu strong) { padding: 4px 8px 7px; color: #2a3934; font-size: 12px; } :deep(.member-context-menu button) { display: flex; align-items: center; gap: 8px; padding: 8px; color: #52625c; background: transparent; border-radius: 6px; font-size: 11px; text-align: left; cursor: pointer; } :deep(.member-context-menu button:hover) { color: #006a64; background: #edf6f3; } :deep(.member-menu-submenu) { position: relative; } :deep(.member-menu-submenu-trigger) { width: 100%; } :deep(.member-menu-submenu-arrow) { margin-left: auto; } :deep(.member-submenu-panel) { position: absolute; z-index: 1; top: -8px; left: calc(100% + 6px); display: grid; min-width: 220px; max-height: min(420px, calc(100vh - 24px)); gap: 3px; padding: 8px; overflow-y: auto; background: #fff; border: 1px solid #e0eae6; border-radius: 10px; box-shadow: 0 14px 35px rgba(20, 50, 44, .16); } :deep(.member-submenu-panel button) { width: 100%; min-width: 0; } :deep(.member-submenu-panel button:disabled) { opacity: .55; cursor: default; } :deep(.member-submenu-panel button span) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } :deep(.member-submenu-panel button small) { margin-left: auto; color: #83928c; font-size: 10px; white-space: nowrap; } :deep(.member-submenu-empty) { display: block; padding: 8px; color: #83928c; font-size: 11px; } .member-menu-disabled { opacity: .55; cursor: not-allowed !important; } :deep(.menu-volume) { display: grid; gap: 6px; padding: 4px 8px 8px; color: #71817c; font-size: 10px; } :deep(.menu-volume input) { width: 100%; height: 5px; appearance: none; border-radius: 99px; outline: none; cursor: pointer; } :deep(.menu-volume input::-webkit-slider-thumb) { width: 14px; height: 14px; appearance: none; border: 2px solid #81d8d0; border-radius: 50%; background: #fff; cursor: pointer; } :deep(.menu-volume input::-moz-range-thumb) { width: 14px; height: 14px; border: 2px solid #81d8d0; border-radius: 50%; background: #fff; cursor: pointer; } .poke-banner { position: fixed; z-index: 35; top: 82px; right: 24px; display: flex; align-items: center; gap: 9px; max-width: min(380px, calc(100% - 48px)); padding: 10px 11px; color: #52645c; background: #fffdf6; border: 1px solid #f0dfbd; border-radius: 9px; box-shadow: 0 8px 22px rgba(88, 65, 28, .12); font-size: 12px; } .poke-banner > .ui-icon { color: #d2973d; } .poke-banner span { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .poke-banner strong { color: #8f6532; } .poke-banner small { font-size: inherit; } .poke-banner button { display: grid; place-items: center; padding: 3px; color: #9b8a6e; background: transparent; border-radius: 5px; cursor: pointer; } .poke-banner button:hover { color: #735020; background: #f9eed9; } :deep(.audio-diagnostic), :deep(.audio-level-row) { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; color: #7b8a85; font-size: 11px; } :deep(.audio-diagnostic strong), :deep(.audio-level-row strong) { color: #3c625b; font-size: 11px; } :deep(.permission-denied) { color: #b3514b !important; } :deep(.permission-granted) { color: #2d8547 !important; } :deep(.audio-level-track) { height: 7px; margin: 7px 0 17px; overflow: hidden; background: #e8efec; border-radius: 999px; } :deep(.audio-level-track i) { display: block; height: 100%; min-width: 0; background: linear-gradient(90deg, #69c8bb, #58d675); border-radius: inherit; transition: width .08s linear; } :deep(.test-audio) { display: block; width: 100%; height: 34px; margin-top: 11px; } /* Shared interaction/layout rules; appearance is supplied by a built-in skin package. */ .join-page .join-card { position: relative; } .join-page .join-card { isolation: isolate; } .join-card-effects { position: absolute; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; } .join-card > :not(.join-card-effects) { position: relative; z-index: 1; } .join-card-waveform { position: absolute; top: 18px; right: 115px; display: flex; align-items: center; justify-content: center; gap: 3px; width: 52px; height: 46px; color: var(--accent); } .join-card-waveform i { display: block; width: 3px; height: 20px; flex: 0 0 3px; border-radius: 99px; background: currentColor; transform-origin: center; animation: screen-share-wave 1.1s ease-in-out infinite alternate; } .join-card-waveform i:nth-child(2n) { animation-delay: -.18s; } .join-card-waveform i:nth-child(3n) { animation-delay: -.42s; } .join-card-waveform i:nth-child(4n) { animation-delay: -.66s; } .join-card-waveform i:nth-child(1), .join-card-waveform i:nth-child(9) { height: 12px; } .join-card-waveform i:nth-child(2), .join-card-waveform i:nth-child(8) { height: 21px; } .join-card-waveform i:nth-child(3), .join-card-waveform i:nth-child(7) { height: 30px; } .join-card-waveform i:nth-child(4), .join-card-waveform i:nth-child(6) { height: 17px; } .join-card-waveform i:nth-child(5) { height: 26px; } .join-card-sonar { position: absolute; top: -29px; right: -5px; width: 148px; height: 148px; color: var(--accent); } .join-card-sonar i { position: absolute; inset: 0; border: 1px solid color-mix(in srgb, currentColor 32%, transparent); border-radius: 50%; opacity: 0; animation: join-card-sonar-ring 3.15s ease-out infinite; } .join-card-sonar i:nth-child(2) { animation-delay: 1.05s; } .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 :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; } :deep(.member-context-menu) { left: 12px !important; right: 12px; bottom: env(safe-area-inset-bottom, 0px); border-radius: 16px 16px 0 0; padding: 14px; } :deep(.member-context-menu button) { min-height: 42px; font-size: 13px; } :deep(.member-context-menu strong) { padding: 4px 8px 11px; font-size: 14px; } :deep(.member-submenu-panel) { position: static; min-width: 0; max-height: 190px; margin: 4px 0 0 24px; padding: 4px; border-radius: 10px; box-shadow: none; } :deep(.member-submenu-panel button) { min-height: 42px; font-size: 13px; } } /* M007 whisper target controls and M008 mobile navigation. */ :deep(.whisper-strip) { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 12px 14px; color: #52645e; border: 1px solid #d6ebe5; border-radius: 10px; background: #eef8f5; } :deep(.whisper-strip-copy) { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; } :deep(.whisper-strip-copy strong) { display: inline-flex; align-items: center; gap: 6px; color: #006a64; font-size: 12px; white-space: nowrap; } :deep(.whisper-strip-copy span) { overflow: hidden; color: #71837d; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; } :deep(.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; } :deep(.whisper-ptt-button.active) { background: #2f9d5c; box-shadow: 0 0 0 4px rgba(47,157,92,.16); } .mobile-nav, .mobile-more-panel { display: none; } :deep(.mobile-section-hidden) { display: block; } @media (min-width: 741px) { :deep(.app-shell .mobile-section-hidden) { display: block; } } @media (max-width: 740px) { .app-shell { display: flex; flex-direction: column; height: auto; max-height: none; padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); overflow: visible; } .app-shell .workspace { display: flex; height: calc(100dvh - 61px); } .app-shell .workspace-scroll { flex: 1; } :deep(.app-shell .mobile-section-hidden) { display: none; } .app-shell.mobile-view-more .workspace { display: none; } :deep(.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; } .mobile-more-panel { display: grid; gap: 10px; width: min(100% - 30px, 650px); margin: 26px auto 0; padding: 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-1); box-shadow: 0 7px 18px color-mix(in srgb, var(--text-primary) 8%, transparent); } .mobile-more-panel h2 { margin: 0 0 8px; color: var(--text-primary); font-size: 24px; } .mobile-more-panel button { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 12px; color: var(--text-primary); background: var(--surface-2); border: 1px solid var(--border); border-radius: 9px; text-align: left; cursor: pointer; } .mobile-more-panel button:hover { color: var(--accent); border-color: var(--accent); } .mobile-more-panel button.danger { color: var(--danger); } .mobile-nav { position: fixed; z-index: 30; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; min-height: 68px; padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--surface-1) 94%, transparent); border-top: 1px solid var(--border); box-shadow: 0 -7px 20px color-mix(in srgb, var(--text-primary) 8%, transparent); backdrop-filter: blur(14px); } .mobile-nav button { display: grid; place-items: center; gap: 3px; min-width: 0; color: var(--text-muted); background: transparent; border-radius: 8px; font-size: 11px; cursor: pointer; } .mobile-nav button.active { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); font-weight: 700; } .mobile-nav button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } :deep(.whisper-strip) { align-items: stretch; flex-wrap: wrap; gap: 8px; } :deep(.whisper-strip-copy) { width: 100%; flex: 1 0 100%; } :deep(.whisper-ptt-button) { flex: 1; min-height: 46px; } :deep(.whisper-strip > .text-button) { min-height: 38px; } } /* Keep the desktop join card comfortable without making the welcome page taller than the browser. Smaller viewports can scroll inside the card. */ @media (min-width: 741px) { .join-header { min-height: 72px; } .join-content { padding: 28px 0 36px; } .join-card { max-height: calc(100dvh - 190px); overflow-y: auto; } .join-footer { min-height: 54px; } } @media (max-width: 740px) { .join-card { max-height: none; overflow: visible; } } /* The document itself never becomes the scroll surface. Each view owns its content scroll area so headers, controls and mobile navigation stay fixed. */ :global(html[data-ws-route="webclient"]), :global(html[data-ws-route="webclient"] body), :global(html[data-ws-route="webclient"] #app) { width: 100%; height: 100dvh; min-height: 0; max-height: 100dvh; overflow: hidden; } .join-page { height: 100dvh; min-height: 0; overflow: hidden; } .join-content { min-height: 0; overflow-y: auto; } /* Desktop zoom compensation. main.ts sets --ui-scale (>1 only on large viewports) and App.vue applies zoom:var(--ui-scale) on #app. html/body stay pinned to the real viewport (100dvh) while the zoomed roots divide their height by the scale so the rendered result lands on exactly one viewport. Without this a 2K/4K viewport would render a 1.5x-tall shell, clipping the bottom of the workspace and leaving blank space under the control dock. Non-zero fixed offsets (toast, poke banner) are divided back to CSS pixels because zoom also scales fixed coordinates against the viewport. */ @media (min-width: 851px) { :global(html[data-ws-route="webclient"]), :global(html[data-ws-route="webclient"] body) { height: 100dvh; max-height: 100dvh; } :global(html[data-ws-route="webclient"] #app), .web-client, .join-page, .app-shell { height: calc(100dvh / var(--ui-scale)); min-height: 0; max-height: calc(100dvh / var(--ui-scale)); } .toast { right: calc(24px / var(--ui-scale)); bottom: calc(24px / var(--ui-scale)); } .poke-banner { top: calc(82px / var(--ui-scale)); right: calc(24px / var(--ui-scale)); } } @media (max-width: 740px) { .app-shell { min-height: 0; } .app-shell .workspace { height: auto; flex: 1 1 auto; } .app-shell.mobile-view-channels .workspace { display: none; } .mobile-more-panel { min-height: 0; margin-bottom: 0; } } /* Scroll geometry is shared; scrollbar colors belong to the active skin. */ .web-client, .web-client * { scrollbar-width: thin; } .web-client *::-webkit-scrollbar { width: 8px; height: 8px; } .web-client *::-webkit-scrollbar-track { background: transparent; } .web-client *::-webkit-scrollbar-thumb { background-clip: padding-box; border: 2px solid transparent; border-radius: 999px; } .web-client *::-webkit-scrollbar-thumb:hover { background-clip: padding-box; border-width: 1px; } /* Mobile interaction pass: keep the browser viewport fixed and give each mobile surface its own touch-friendly scroll area. */ .mobile-voice-controls, :deep(.voice-member-action), :deep(.member-action-button), :deep(.member-menu-backdrop) { display: none; } .microphone-header-toggle.muted { color: var(--danger); background: color-mix(in srgb, var(--danger) 12%, transparent); } :deep(.microphone-control) { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; padding: 12px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 11px; } :deep(.microphone-control .settings-label) { margin-bottom: 4px; } :deep(.microphone-control .settings-hint) { max-width: 390px; margin: 0; } :deep(.microphone-toggle) { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; flex: 0 0 auto; padding: 0 12px; color: #fff; background: var(--accent); border-radius: 8px; font-size: 12px; font-weight: 700; cursor: pointer; } :deep(.microphone-toggle.muted) { color: var(--danger); background: color-mix(in srgb, var(--danger) 13%, var(--surface-1)); } :deep(.member-menu-header) { display: flex; align-items: center; justify-content: space-between; gap: 8px; } :deep(.member-menu-close) { display: none; } @media (max-width: 740px) { :global(html[data-ws-route="webclient"]), :global(html[data-ws-route="webclient"] body), :global(html[data-ws-route="webclient"] #app) { height: 100dvh; height: 100svh; min-height: 100dvh; min-height: 100svh; max-height: 100dvh; max-height: 100svh; } .web-client { height: 100dvh; height: 100svh; min-height: 100dvh; min-height: 100svh; max-height: 100dvh; max-height: 100svh; } .app-shell { height: 100dvh; height: 100svh; min-height: 100dvh; min-height: 100svh; max-height: 100dvh; max-height: 100svh; padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px)); overflow: hidden; } .app-shell .workspace { height: calc(100dvh - 74px - env(safe-area-inset-bottom, 0px)); height: calc(100svh - 74px - env(safe-area-inset-bottom, 0px)); min-height: 0; max-height: calc(100dvh - 74px - env(safe-area-inset-bottom, 0px)); max-height: calc(100svh - 74px - env(safe-area-inset-bottom, 0px)); overflow: hidden; } .app-shell .workspace-scroll { height: 100%; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; } .workspace-header { min-height: calc(60px + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) 14px 0; box-sizing: border-box; position: sticky; top: 0; z-index: 6; background: color-mix(in srgb, var(--surface-1) 94%, transparent); backdrop-filter: blur(14px); } .breadcrumbs { flex: 1 1 auto; min-width: 0; gap: 6px; font-size: 13px; } .breadcrumbs .crumb-muted, .breadcrumbs > .ui-icon { display: none; } .mobile-brand { display: inline; font-size: 18px; } .workspace-actions { flex: 0 0 auto; gap: 3px; } .workspace-actions .header-action { width: 36px; height: 36px; flex-basis: 36px; } .workspace-actions .workspace-skin-switcher, .workspace-actions .workspace-language { display: none; } .disconnect-button { width: 36px; height: 36px; min-height: 36px; margin-left: 0; padding: 0; justify-content: center; } .disconnect-button .ui-icon { display: block; margin: 0; } .disconnect-button span { display: none; } .workspace-content { display: block; width: 100%; max-width: none; min-height: 100%; margin: 0; padding: 14px 14px calc(18px + env(safe-area-inset-bottom, 0px)); box-sizing: border-box; } .room-hero { min-height: 152px; padding: 22px 20px; border-radius: 18px; } .room-hero h1 { margin-top: 14px; font-size: 25px; } .room-hero p { max-width: 72%; font-size: 12px; } .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; } :deep(.section-heading) { gap: 10px; } :deep(.section-heading h2) { font-size: 22px; } :deep(.voice-grid) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; } :deep(.voice-card) { position: relative; min-height: 136px; padding: 18px 8px 14px; border-radius: 16px; } :deep(.voice-avatar-wrap), :deep(.voice-avatar) { width: 60px; height: 60px; } :deep(.voice-avatar-wrap) { margin-bottom: 10px; } :deep(.voice-avatar) { font-size: 18px; } .voice-status { width: 21px; height: 21px; } :deep(.app-shell .voice-card > strong) { max-width: 100%; font-size: 14px; } :deep(.app-shell .voice-card > span) { margin-top: 4px; font-size: 11px; } :deep(.voice-member-action) { position: absolute; top: 7px; right: 7px; display: grid; place-items: center; width: 34px; height: 34px; color: var(--text-muted); background: color-mix(in srgb, var(--surface-2) 78%, transparent); border-radius: 10px; cursor: pointer; } :deep(.voice-member-action:hover), :deep(.voice-member-action:active) { color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--surface-1)); } .mobile-voice-controls { display: flex; align-items: stretch; gap: 8px; margin-top: 14px; padding: 8px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; } .mobile-voice-toggle, .mobile-voice-settings { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; min-width: 0; padding: 0 11px; color: var(--accent); background: var(--surface-1); border: 1px solid var(--border); border-radius: 10px; font-size: 12px; font-weight: 700; cursor: pointer; } .mobile-voice-toggle { flex: 1 1 auto; } .mobile-voice-toggle.muted, .mobile-more-panel button.muted { color: var(--danger); } .mobile-voice-settings { flex: 0 0 auto; width: 82px; } .mobile-voice-settings span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } :deep(.app-shell .member-panel.mobile-section-visible) { display: flex !important; flex: 1 1 auto; width: 100%; height: auto; min-height: 0; max-height: none; padding: 18px 14px 16px; border-top: 0; border-right: 0; overflow: hidden; } :deep(.member-panel-heading) { flex: 0 0 auto; } :deep(.member-panel-heading h2) { font-size: 23px; } :deep(.status-button) { min-height: 34px; padding-inline: 10px; font-size: 12px; } :deep(.member-search) { flex: 0 0 auto; min-height: 44px; margin-top: 14px; padding: 0 12px; border-radius: 11px; } :deep(.member-search input) { font-size: 15px; } :deep(.app-shell .member-panel .member-tree) { flex: 1 1 auto; min-height: 0; max-height: none; margin-top: 12px; padding: 0 2px 4px 0; overflow-y: auto; scrollbar-gutter: stable; } :deep(.member-channel-group) { padding: 7px 0 12px; } :deep(.member-channel-heading) { min-height: 44px; padding: 0 9px; border-radius: 11px; font-size: 14px; } :deep(.member-channel-heading small) { font-size: 12px; } :deep(.member-list) { gap: 3px; margin-top: 5px; } :deep(.member-row) { min-height: 58px; margin: 0; padding: 7px 7px; gap: 9px; border-radius: 12px; } :deep(.member-avatar) { width: 40px; height: 40px; border-radius: 12px; font-size: 12px; } :deep(.member-presence) { width: 10px; height: 10px; } :deep(.member-copy strong) { font-size: 14px; } :deep(.member-copy span) { margin-top: 3px; font-size: 12px; } :deep(.desktop-audio-dock), :deep(.member-flags), :deep(.member-volume), .member-panel-tip { display: none; } :deep(.member-action-button) { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; color: var(--text-muted); background: transparent; border-radius: 10px; cursor: pointer; } :deep(.member-action-button:hover), :deep(.member-action-button:active) { color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--surface-1)); } .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; } :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; } .mobile-more-panel button { min-height: 52px; font-size: 14px; } .mobile-nav { min-height: 74px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px)); } .mobile-nav button { min-height: 52px; font-size: 12px; } :deep(.member-menu-backdrop) { position: fixed; z-index: 39; inset: 0; display: block; background: rgba(13, 29, 26, .38); backdrop-filter: blur(2px); } :deep(.member-context-menu) { z-index: 40; left: 10px !important; right: 10px; top: auto !important; bottom: calc(74px + env(safe-area-inset-bottom, 0px)) !important; min-width: 0; max-height: calc(100svh - 100px); overflow-y: auto; padding: 12px; border-radius: 18px; box-shadow: 0 18px 42px rgba(13, 38, 33, .25); } :deep(.member-menu-header strong) { padding: 4px 8px 11px; font-size: 16px; } :deep(.member-menu-close) { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; padding: 0 !important; color: var(--text-muted); background: var(--surface-2); border-radius: 10px; } :deep(.member-context-menu button) { min-height: 50px; padding: 8px 10px; border-radius: 10px; font-size: 14px; } :deep(.member-context-menu .member-menu-close) { min-height: 36px; } :deep(.menu-volume) { padding: 5px 8px 11px; font-size: 12px; } :deep(.menu-volume input) { height: 7px; } :deep(.modal-backdrop) { align-items: flex-end; padding: 0; } :deep(.settings-modal) { width: 100%; max-height: calc(100svh - env(safe-area-inset-top, 0px)); border-radius: 22px 22px 0 0; } .qq-modal-card { width: 100%; max-height: calc(100svh - env(safe-area-inset-top, 0px)); padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0px)); border-radius: 22px 22px 0 0; } .qq-qr-image { width: min(100%, 330px); max-height: 52svh; } :deep(.settings-main) { min-height: 0; overflow: hidden; } :deep(.settings-header) { min-height: 64px; padding-inline: 18px; } :deep(.settings-content) { min-height: 0; padding: 20px 18px; overflow-y: auto; } :deep(.settings-footer) { min-height: 68px; padding: 8px 18px calc(8px + env(safe-area-inset-bottom, 0px)); } :deep(.settings-footer .save-button) { min-height: 48px; } :deep(.microphone-control) { align-items: stretch; flex-direction: column; gap: 10px; } :deep(.microphone-control .settings-hint) { max-width: none; } :deep(.microphone-toggle) { width: 100%; min-height: 44px; } .join-page { height: 100dvh; height: 100svh; min-height: 100dvh; min-height: 100svh; max-height: 100dvh; max-height: 100svh; } .join-header { min-height: calc(62px + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); box-sizing: border-box; } .join-content { align-items: stretch; justify-content: flex-start; gap: 24px; width: min(100% - 28px, 560px); padding: 24px 0 28px; overflow-y: auto; } .join-copy h1 { margin: 14px 0 14px; font-size: clamp(40px, 12vw, 58px); } .join-description { font-size: 15px; line-height: 1.65; } .promise-list { margin-top: 23px; } .join-card { padding: 22px 18px; border-radius: 18px; } .join-card h2 { font-size: 25px; } :deep(.field-grid) { grid-template-columns: minmax(0, 1fr) 112px; } .join-footer { width: min(100% - 28px, 560px); } } @media (max-width: 390px) { .join-page :deep(.header-tools) { gap: 4px; } .join-page :deep(.github-button), .join-page :deep(.changelog-button), .join-page :deep(.guide-button) { width: 32px; min-width: 32px; min-height: 32px; height: 32px; } .join-page :deep(.version-badge) { min-height: 32px; padding-inline: 6px; font-size: 10px; } .join-page :deep(.language-switcher) { min-width: 62px; } .workspace-header { padding-inline: 10px; } .workspace-actions .header-action { width: 32px; height: 32px; flex-basis: 32px; } .disconnect-button { width: 32px; height: 32px; } .room-hero { padding-inline: 16px; } .mobile-voice-settings { width: 56px; padding-inline: 4px; } .mobile-voice-toggle { flex: 0 0 44px; padding-inline: 0; } .mobile-voice-toggle span { display: none; } .mobile-voice-settings span { display: none; } .join-content { gap: 18px; } .join-card { padding-inline: 15px; } } /* Keep every welcome-page action inside the viewport on narrow phones. */ @media (max-width: 420px) { .join-page .join-header { width: calc(100% - 20px); gap: 6px; } .join-page :deep(.brand-lockup) { min-width: 0; flex: 1 1 auto; gap: 7px; } .join-page :deep(.brand-mark) { width: 32px; height: 32px; border-radius: 9px; } .join-page :deep(.brand-lockup strong) { overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; } .join-page :deep(.brand-lockup small) { display: none; } .join-page :deep(.header-tools) { min-width: 0; flex: 0 0 auto; gap: 2px; } .join-page :deep(.github-button), .join-page :deep(.bilibili-button), .join-page :deep(.changelog-button), .join-page :deep(.guide-button) { width: 28px; min-width: 28px; min-height: 28px; height: 28px; padding: 0; } .join-page :deep(.github-button), .join-page :deep(.bilibili-button), .join-page :deep(.changelog-button), .join-page :deep(.guide-button) { justify-content: center; } .join-page :deep(.github-button .ui-icon) { width: 16px; height: 16px; } .join-page :deep(.bilibili-glyph) { width: 18px; height: 18px; } .join-page :deep(.version-badge) { min-width: 28px; min-height: 28px; padding-inline: 4px; font-size: 9px; } .join-page :deep(.language-switcher) { min-width: 58px; } } @media (max-width: 360px) { .join-page :deep(.brand-lockup > div) { display: none; } .join-page :deep(.brand-lockup) { flex: 0 0 32px; } } :deep(.bilibili-button) { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 0 10px; color: #e56b91; background: #fff0f5; border: 1px solid #f6d2df; border-radius: 8px; font-size: 11px; font-weight: 800; text-decoration: none; transition: .18s; } :deep(.bilibili-button:hover) { color: #fff; background: #e56b91; border-color: #e56b91; box-shadow: 0 7px 16px rgba(229,107,145,.2); transform: translateY(-1px); } :deep(.bilibili-glyph) { display: grid; place-items: center; width: 18px; height: 18px; color: #fff; background: #e56b91; border-radius: 5px; font-size: 11px; line-height: 1; } :deep(.bilibili-button:hover .bilibili-glyph) { color: #e56b91; background: #fff; } :deep(.qq-button) { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 0 10px; color: #1684b8; background: #eef9ff; border: 1px solid #cdeafa; border-radius: 8px; font-size: 11px; font-weight: 800; cursor: pointer; transition: .18s; } :deep(.qq-button:hover) { color: #fff; background: #168fca; border-color: #168fca; box-shadow: 0 7px 16px rgba(22,143,202,.2); transform: translateY(-1px); } :deep(.qq-button .ui-icon) { color: #168fca; } :deep(.qq-button:hover .ui-icon) { color: #fff; } @media (max-width: 740px) { :deep(.bilibili-button) { width: 32px; min-width: 32px; min-height: 32px; justify-content: center; padding: 0; } :deep(.bilibili-button .bilibili-label) { display: none; } :deep(.qq-button) { width: 32px; min-width: 32px; min-height: 32px; justify-content: center; padding: 0; } :deep(.qq-button .qq-label) { display: none; } } @media (max-width: 390px) { .join-page :deep(.bilibili-button) { width: 32px; min-width: 32px; min-height: 32px; height: 32px; } } /* Override the shared Bilibili sizing above for the tighter welcome header. */ @media (max-width: 420px) { .join-page :deep(.bilibili-button) { width: 28px; min-width: 28px; min-height: 28px; height: 28px; padding: 0; } .join-page :deep(.qq-button) { width: 28px; min-width: 28px; min-height: 28px; height: 28px; padding: 0; } } :deep(.network-performance) { position: relative; z-index: 8; } :deep(.performance-trigger) { display: inline-flex; align-items: center; gap: 6px; min-height: 33px; padding: 0 9px; color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--surface-1)); border: 1px solid var(--border); border-radius: 8px; font-size: 11px; cursor: pointer; transition: .16s; } :deep(.performance-trigger:hover), :deep(.performance-trigger[aria-expanded="true"]) { background: color-mix(in srgb, var(--accent) 15%, var(--surface-1)); border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); } :deep(.performance-trigger small) { color: var(--text-muted); font-size: 10px; } :deep(.performance-panel) { position: absolute; top: calc(100% + 10px); right: 0; width: 380px; padding: 15px; color: var(--text-primary); background: var(--surface-1); border: 1px solid var(--border); border-radius: 13px; box-shadow: 0 16px 36px color-mix(in srgb, var(--text-primary) 18%, transparent); } :deep(.performance-panel header) { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; } :deep(.performance-panel header strong), :deep(.performance-panel header small) { display: block; } :deep(.performance-panel header strong) { font-size: 13px; } :deep(.performance-panel header small) { max-width: 255px; margin-top: 4px; color: var(--text-muted); font-size: 10px; line-height: 1.45; } :deep(.performance-refresh) { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; color: var(--accent); background: var(--surface-2); border: 1px solid var(--border); border-radius: 7px; cursor: pointer; } :deep(.performance-refresh:disabled) { cursor: wait; opacity: .55; } .performance-route { display: flex; align-items: center; gap: 6px; margin: 15px 0 11px; color: var(--text-muted); font-size: 9px; } .performance-route span { padding: 4px 6px; background: var(--surface-2); border-radius: 5px; white-space: nowrap; } .performance-route i { width: 18px; height: 1px; flex: 1; background: var(--accent); opacity: .55; } :deep(.performance-metrics) { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } :deep(.performance-metrics article) { min-width: 0; padding: 10px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 9px; } :deep(.performance-metrics small), :deep(.performance-metrics strong), :deep(.performance-metrics span) { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } :deep(.performance-metrics small) { color: var(--text-muted); font-size: 9px; } :deep(.performance-metrics strong) { margin-top: 6px; color: var(--accent); font-size: 18px; } :deep(.performance-metrics span) { margin-top: 4px; color: var(--text-muted); font-size: 9px; } :deep(.performance-status) { margin: 11px 0 0; color: var(--text-muted); font-size: 10px; } :deep(.voice-status-summary) { display: flex; align-items: center; gap: 9px; margin: 14px 0 10px; padding: 9px 10px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 9px; } :deep(.voice-status-summary > i) { width: 9px; height: 9px; flex: 0 0 9px; background: var(--text-muted); border-radius: 50%; box-shadow: 0 0 0 3px color-mix(in srgb, var(--text-muted) 12%, transparent); } :deep(.voice-status-summary[data-health="active"] > i) { background: #22a777; box-shadow: 0 0 0 3px color-mix(in srgb, #22a777 16%, transparent); } :deep(.voice-status-summary[data-health="warning"] > i) { background: #dc8b24; box-shadow: 0 0 0 3px color-mix(in srgb, #dc8b24 16%, transparent); } :deep(.voice-status-summary[data-health="connecting"]), :deep(.voice-status-summary[data-health="sampling"]) { opacity: .82; } :deep(.voice-status-summary > div) { display: flex; min-width: 0; flex-direction: column; gap: 3px; } :deep(.voice-status-summary strong) { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; } :deep(.voice-status-summary small) { overflow: hidden; color: var(--text-muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; } :deep(.voice-audio-metrics article) { min-height: 104px; } :deep(.voice-audio-metrics strong) { font-size: 16px; } :deep(.voice-audio-metrics span) { white-space: normal; line-height: 1.45; } :deep(.voice-audio-details) { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; margin-top: 9px; color: var(--text-muted); font-size: 9px; line-height: 1.4; } :deep(.voice-audio-details > span) { min-width: 0; overflow-wrap: anywhere; } :deep(.webrtc-stats) { margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--border); } :deep(.webrtc-stats > header) { display: block; margin-bottom: 8px; } :deep(.webrtc-stats > header strong), :deep(.webrtc-stats > header small) { display: block; } :deep(.webrtc-stats > header strong) { font-size: 11px; } :deep(.webrtc-stats > header small) { margin-top: 3px; color: var(--text-muted); font-size: 9px; } :deep(.webrtc-stats-capture), :deep(.webrtc-stats-peer) { padding: 8px 9px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; } :deep(.webrtc-stats-capture) { display: flex; align-items: baseline; gap: 7px; margin-bottom: 7px; } :deep(.webrtc-stats-capture span), :deep(.webrtc-stats-capture small), :deep(.webrtc-stats-peer-heading small), :deep(.webrtc-stats-detail) { color: var(--text-muted); font-size: 9px; } :deep(.webrtc-stats-capture strong) { margin-left: auto; color: var(--accent); font-size: 11px; } :deep(.webrtc-stats-peer + .webrtc-stats-peer) { margin-top: 7px; } :deep(.webrtc-stats-peer-heading) { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; } :deep(.webrtc-stats-peer-heading strong) { font-size: 10px; } :deep(.webrtc-stats-peer-heading small) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } :deep(.webrtc-stats-values) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 8px; margin-top: 7px; color: var(--accent); font-size: 10px; font-variant-numeric: tabular-nums; } :deep(.webrtc-stats-detail) { display: block; margin-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* Latin-script translations need a little more room than Chinese copy. Keep the Chinese layout unchanged and use a compact type scale for English and German so headings, labels, and actions do not force awkward wrapping. */ .web-client.language-en .join-page :deep(.brand-lockup strong), .web-client.language-de .join-page :deep(.brand-lockup strong) { font-size: 19.8px; } .web-client.language-en .join-page :deep(.brand-lockup small), .web-client.language-en .join-page :deep(.header-note), .web-client.language-de .join-page :deep(.brand-lockup small), .web-client.language-de .join-page :deep(.header-note) { font-size: 11px; } .web-client.language-en .join-page :deep(.github-button), .web-client.language-en .join-page :deep(.qq-button), .web-client.language-en .join-page :deep(.bilibili-button), .web-client.language-en .join-page :deep(.changelog-button), .web-client.language-en .join-page :deep(.guide-button), .web-client.language-de .join-page :deep(.github-button), .web-client.language-de .join-page :deep(.qq-button), .web-client.language-de .join-page :deep(.bilibili-button), .web-client.language-de .join-page :deep(.changelog-button), .web-client.language-de .join-page :deep(.guide-button) { font-size: 9.7px; } .web-client.language-en .join-page .eyebrow, .web-client.language-de .join-page .eyebrow { font-size: 12px; } .web-client.language-en .join-page .join-copy h1, .web-client.language-de .join-page .join-copy h1 { font-size: clamp(46px, 5.8vw, 79px); } .web-client.language-en .join-page .join-description, .web-client.language-de .join-page .join-description { font-size: 18px; } .web-client.language-en .join-page .promise-item b, .web-client.language-de .join-page .promise-item b { font-size: 13.2px; } .web-client.language-en .join-page .promise-item small, .web-client.language-de .join-page .promise-item small { font-size: 11px; } .web-client.language-en :deep(.join-page .card-kicker), .web-client.language-de :deep(.join-page .card-kicker) { font-size: 11px; } .web-client.language-en .join-page .join-card h2, .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 :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 :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, .web-client.language-de .join-page .join-footer { font-size: 11px; } @media (max-width: 740px) { .web-client.language-en .join-page .join-copy h1, .web-client.language-de .join-page .join-copy h1 { font-size: clamp(35px, 10.6vw, 51px); } .web-client.language-en .join-page .join-description, .web-client.language-de .join-page .join-description { font-size: 13.2px; } .web-client.language-en .join-page .join-card h2, .web-client.language-de .join-page .join-card h2 { font-size: 22px; } .web-client.language-en .join-page .card-lead, .web-client.language-de .join-page .card-lead { font-size: 13px; } } @media (max-width: 420px) { .web-client.language-en .join-page :deep(.brand-lockup strong), .web-client.language-de .join-page :deep(.brand-lockup strong) { font-size: 13.2px; } } @media (max-width: 740px) { :deep(.performance-trigger) { width: 36px; height: 36px; min-height: 36px; justify-content: center; padding: 0; } :deep(.performance-trigger-label), :deep(.performance-trigger small), :deep(.performance-trigger > .ui-icon:last-child) { display: none; } :deep(.performance-panel) { position: fixed; top: calc(60px + env(safe-area-inset-top, 0px)); right: 10px; width: min(340px, calc(100vw - 20px)); } } @media (max-width: 390px) { :deep(.performance-trigger) { width: 32px; height: 32px; flex-basis: 32px; } :deep(.performance-panel) { right: 8px; width: min(330px, calc(100vw - 16px)); padding: 13px; } .performance-route { gap: 3px; } .performance-route span { padding-inline: 4px; font-size: 8px; } } /* Desktop audio popovers: keep the rail compact and reveal each control's adjustment surface only while the pointer or keyboard focus is on it. */ @media (min-width: 741px) { /* 桌面端悬浮(仅 ≥741px 生效,≤740px 移动端布局不受影响): 1) 桌面控制坞 .desktop-audio-dock 脱离文档流悬浮于成员面板底部, 仍浮在原布局位置(距面板底 18px),宽度跟随面板内容宽度 (left/right 各留 18px,与 member-panel 水平内边距一致, 随列宽自适应伸缩);高度仍由内容撑起。member-panel 作为 absolute 包含块并加 padding-bottom 补偿原占位,避免成员列表 被遮挡。 2) 消息输入框 .message-composer 脱离文档流悬浮于聊天面板底部, 宽度跟随聊天面板内容宽度(chat-panel 水平内边距为 0, left/right:0 即与内容宽度完全一致);chat-panel 作为包含块 并加 padding-bottom 补偿原占位,避免消息列表被遮挡。 */ :deep(.app-shell .member-panel) { position: relative; overflow: visible; padding-bottom: calc(18px + 12px + 52px); } :deep(.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); } :deep(.app-shell .message-composer) { position: absolute; z-index: 3; left: 0; right: 0; bottom: 16px; margin-bottom: 0; } } :deep(.dock-hover-control) { position: relative; flex: 0 0 34px; } :deep(.dock-hover-panel) { position: absolute; z-index: 20; right: 50%; bottom: calc(100% + 10px); width: min(224px, calc(100vw - 32px)); padding: 13px 14px; color: var(--text-primary); background: var(--surface-1); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 15px 34px color-mix(in srgb, var(--text-primary) 18%, transparent); opacity: 0; visibility: hidden; pointer-events: none; transform: translate(50%, 6px); transition: opacity .16s ease, transform .16s ease, visibility .16s ease; } :deep(.dock-hover-panel::after) { content: ""; position: absolute; right: auto; bottom: -6px; left: 50%; width: 10px; height: 10px; background: var(--surface-1); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); transform: translateX(-50%) rotate(45deg); } :deep(.dock-hover-panel::before) { content: ""; position: absolute; right: 0; bottom: -10px; left: 0; height: 10px; } :deep(.dock-hover-control:hover .dock-hover-panel), :deep(.dock-hover-control:focus-within .dock-hover-panel) { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(50%, 0); } :deep(.dock-microphone-panel) { width: min(246px, calc(100vw - 32px)); } :deep(.dock-slider-heading) { display: flex; align-items: center; justify-content: space-between; gap: 12px; } :deep(.dock-slider-heading span) { min-width: 0; overflow: hidden; color: var(--text-muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; } :deep(.dock-slider-heading strong) { flex: 0 0 auto; color: var(--accent); font-size: 11px; } :deep(.dock-slider) { width: 100%; height: 5px; margin: 11px 0 1px; appearance: none; border-radius: 999px; outline: none; cursor: pointer; } :deep(.dock-slider::-webkit-slider-thumb) { width: 14px; height: 14px; appearance: none; border: 2px solid #81d8d0; border-radius: 50%; background: var(--surface-1); box-shadow: 0 2px 4px color-mix(in srgb, var(--text-primary) 14%, transparent); cursor: pointer; } :deep(.dock-slider::-moz-range-thumb) { width: 14px; height: 14px; border: 2px solid #81d8d0; border-radius: 50%; background: var(--surface-1); box-shadow: 0 2px 4px color-mix(in srgb, var(--text-primary) 14%, transparent); cursor: pointer; } :deep(.dock-panel-divider) { height: 1px; margin: 12px 0; background: var(--border); } :deep(.dock-switch-row), :deep(.noise-suppression-toggle) { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; } :deep(.dock-switch-row > span), :deep(.noise-suppression-toggle > span) { min-width: 0; } :deep(.dock-switch-row strong), :deep(.noise-suppression-toggle strong) { display: block; color: var(--text-primary); font-size: 11px; } :deep(.noise-suppression-toggle) { margin-bottom: 18px; padding: 12px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 11px; } :deep(.noise-suppression-toggle small) { display: block; margin-top: 3px; color: var(--text-muted); font-size: 10px; line-height: 1.4; } :deep(.dock-switch-row input), :deep(.noise-suppression-toggle input) { position: relative; width: 34px; height: 20px; flex: 0 0 34px; margin: 0; padding: 0; appearance: none; border: 2px solid var(--border); border-radius: 999px; outline: none; background: var(--surface-2); cursor: pointer; transition: background .16s ease, border-color .16s ease; } :deep(.dock-switch-row input::before), :deep(.noise-suppression-toggle input::before) { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--text-muted); transition: transform .16s ease, background .16s ease; } :deep(.dock-switch-row input:checked), :deep(.noise-suppression-toggle input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 72%, var(--surface-2)); } :deep(.dock-switch-row input:checked::before), :deep(.noise-suppression-toggle input:checked::before) { background: var(--surface-1); transform: translateX(14px); } :deep(.dock-switch-row input:focus-visible), :deep(.noise-suppression-toggle input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 2px; } :deep(.member-row[draggable="true"]) { cursor: grab; touch-action: none; } :deep(.member-row[draggable="true"]:active) { cursor: grabbing; } :deep(.member-row.dragging) { opacity: .45; } :deep(.member-channel-group.drag-over) { padding: 6px 6px 12px; border: 1px dashed var(--accent); border-radius: 10px; background: color-mix(in srgb, var(--accent) 7%, transparent); } :deep(.member-channel-group.drag-over .member-channel-heading) { color: var(--accent); background: color-mix(in srgb, var(--accent) 13%, var(--surface-1)); } @media (prefers-reduced-motion: reduce) { :deep(.dock-hover-panel), :deep(.dock-switch-row input), :deep(.noise-suppression-toggle input) { transition-duration: .01ms; } } .screen-share-inline-error { display: flex; align-items: center; gap: 7px; margin: 10px 0 0; padding: 8px 10px; color: var(--danger); border: 1px solid color-mix(in srgb, var(--danger) 45%, var(--border)); border-radius: 9px; background: color-mix(in srgb, var(--danger) 12%, var(--surface-1)); font-size: 10px; line-height: 1.4; } :deep(.screen-share-avatar-wrap) { position: relative; overflow: visible; } :deep(.screen-share-live-indicator) { position: absolute; top: -16px; right: 50%; z-index: 2; display: inline-flex; align-items: center; gap: 4px; min-height: 17px; padding: 3px 6px 3px 4px; color: #087b6e; border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border)); border-radius: 999px; background: var(--surface-1); box-shadow: 0 4px 12px color-mix(in srgb, var(--text-primary) 12%, transparent); font-size: 8px; font-weight: 800; line-height: 1; white-space: nowrap; transform: translateX(50%); } :deep(.screen-share-live-indicator::before) { content: ""; width: 5px; height: 5px; flex: 0 0 5px; border-radius: 50%; background: #55d783; box-shadow: 0 0 0 3px color-mix(in srgb, #55d783 18%, transparent); animation: screen-share-live-dot 1.2s ease-in-out infinite; } :deep(.screen-share-wave) { display: inline-flex; align-items: center; gap: 1px; height: 14px; color: #55d3bd; } :deep(.screen-share-wave i) { display: block; width: 2px; flex: 0 0 2px; border-radius: 99px; background: currentColor; animation: screen-share-wave 1.1s ease-in-out infinite alternate; } :deep(.screen-share-wave i:nth-child(2n)) { animation-delay: -.18s; } :deep(.screen-share-wave i:nth-child(3n)) { animation-delay: -.42s; } :deep(.screen-share-wave i:nth-child(4n)) { animation-delay: -.66s; } :deep(.screen-share-stop-button) { position: absolute; bottom: -4px; left: -5px; z-index: 3; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; color: var(--danger); border: 2px solid var(--surface-1); border-radius: 7px; background: var(--surface-2); box-shadow: 0 3px 9px color-mix(in srgb, var(--text-primary) 18%, transparent); cursor: pointer; } :deep(.screen-share-stop-button:hover) { color: #fff; border-color: var(--danger); background: var(--danger); } :deep(.screen-share-stop-button:focus-visible) { outline: 3px solid color-mix(in srgb, var(--danger) 42%, transparent); outline-offset: 2px; } :deep(.screen-share-card-actions) { position: relative; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 5px; width: 100%; min-width: 0; margin-top: 9px; flex-wrap: wrap; } :deep(.screen-share-start-actions) { display: inline-flex; align-items: stretch; justify-content: center; gap: 4px; width: 100%; min-width: 0; } :deep(.screen-share-card-button) { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 0; min-height: 25px; max-width: 100%; padding: 4px 7px; overflow: hidden; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--border)); border-radius: 999px; background: color-mix(in srgb, var(--accent) 8%, var(--surface-1)); font-size: 9px; font-weight: 700; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; } :deep(.screen-share-card-button:hover) { background: color-mix(in srgb, var(--accent) 15%, var(--surface-1)); } :deep(.screen-share-card-button.live) { color: #0e8c76; background: color-mix(in srgb, #b6f0d5 55%, var(--surface-1)); } :deep(.screen-share-card-button.viewing) { color: #fff; border-color: var(--accent); background: var(--accent); } :deep(.screen-share-settings-button) { display: grid; place-items: center; width: 25px; min-width: 25px; min-height: 25px; padding: 0; color: var(--text-muted); border: 1px solid var(--border); border-radius: 50%; background: var(--surface-1); cursor: pointer; } :deep(.screen-share-settings-button:hover), :deep(.screen-share-settings-button[aria-expanded="true"]) { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); background: color-mix(in srgb, var(--accent) 9%, var(--surface-1)); } :deep(.screen-share-settings-backdrop) { z-index: 25; align-items: center; padding: 16px; } :deep(.screen-share-settings-modal) { position: relative; width: min(360px, 100%); padding: 22px; color: var(--text-primary); border: 1px solid var(--border); border-radius: 16px; background: var(--surface-1); box-shadow: 0 20px 60px color-mix(in srgb, var(--text-primary) 20%, transparent); } :deep(.screen-share-settings-close) { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; color: var(--text-muted); border: 1px solid var(--border); border-radius: 50%; background: var(--surface-2); cursor: pointer; } :deep(.screen-share-settings-close:hover) { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); } :deep(.screen-share-settings-heading) { padding-right: 35px; } :deep(.screen-share-settings-heading h2) { margin: 5px 0 4px; color: var(--text-primary); font-size: 20px; letter-spacing: -.04em; } :deep(.screen-share-settings-heading p) { margin: 0; color: var(--text-muted); font-size: 10px; line-height: 1.45; } :deep(.screen-share-settings-fields) { display: grid; gap: 13px; margin-top: 22px; } :deep(.screen-share-settings-fields label) { display: grid; gap: 6px; min-width: 0; color: var(--text-muted); font-size: 10px; } :deep(.screen-share-settings-fields label span) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } :deep(.screen-share-settings-fields select) { display: block; width: 100%; min-width: 0; max-width: 100%; min-height: 37px; padding: 0 9px; overflow: hidden; color: var(--text-primary); border: 1px solid var(--border); border-radius: 8px; background: var(--surface-2); font: inherit; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; } :deep(.screen-share-settings-fields select:focus-visible) { outline: 2px solid color-mix(in srgb, var(--accent) 48%, transparent); outline-offset: 1px; } :deep(.screen-share-settings-note) { margin: 15px 0 0; color: var(--text-muted); font-size: 9px; line-height: 1.45; } :deep(.screen-share-settings-footer) { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--border); } :deep(.screen-share-settings-start) { min-height: 35px; padding: 0 12px; font-size: 10px; } :deep(.screen-share-player) { position: relative; z-index: 3; width: 100%; max-width: 100%; box-sizing: border-box; margin-top: 17px; overflow: hidden; color: var(--text-primary); border: 1px solid var(--border); border-radius: 18px; background: var(--surface-1); box-shadow: 0 12px 30px color-mix(in srgb, var(--text-primary) 18%, transparent); } :deep(.screen-share-player-stage) { position: relative; display: grid; width: 100%; max-width: 100%; height: min(64vh, 640px); min-height: 280px; box-sizing: border-box; place-items: center; overflow: hidden; background: #000; } :deep(.screen-share-player-video) { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; background: #000; } :deep(.screen-share-player-placeholder) { position: absolute; inset: 0; display: flex; align-items: center; flex-direction: column; gap: 10px; max-width: 360px; padding: 30px; color: var(--text-muted); text-align: center; } :deep(.screen-share-player-placeholder-icon) { display: grid; place-items: center; width: 58px; height: 58px; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 36%, transparent); border-radius: 18px; background: color-mix(in srgb, var(--accent) 12%, transparent); } :deep(.screen-share-player-placeholder strong) { color: var(--text-primary); font-size: 15px; } :deep(.screen-share-player-placeholder > span:last-child) { color: var(--text-muted); font-size: 10px; line-height: 1.5; } :deep(.screen-share-player-exit), :deep(.screen-share-player-controls button) { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; color: var(--text-primary); border: 1px solid color-mix(in srgb, var(--border) 78%, transparent); border-radius: 50%; background: color-mix(in srgb, var(--surface-1) 88%, transparent); box-shadow: 0 5px 16px color-mix(in srgb, var(--text-primary) 14%, transparent); backdrop-filter: blur(8px); cursor: pointer; } :deep(.screen-share-player-exit) { position: absolute; top: 15px; left: 15px; z-index: 3; } :deep(.screen-share-player-exit:hover), :deep(.screen-share-player-controls button:hover) { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); background: color-mix(in srgb, var(--accent) 12%, var(--surface-1)); } :deep(.screen-share-player-viewers) { position: absolute; top: 15px; right: 15px; z-index: 3; display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 5px 8px 5px 11px; color: var(--text-primary); border: 1px solid color-mix(in srgb, var(--border) 78%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--surface-1) 88%, transparent); box-shadow: 0 5px 16px color-mix(in srgb, var(--text-primary) 14%, transparent); backdrop-filter: blur(8px); } :deep(.screen-share-player-viewer-label) { display: inline-flex; align-items: center; gap: 5px; color: inherit; font-size: 10px; font-weight: 700; white-space: nowrap; } :deep(.screen-share-player-viewer-avatars) { display: inline-flex; align-items: center; padding-left: 4px; } :deep(.screen-share-player-viewer-avatar) { display: grid; place-items: center; width: 25px; height: 25px; margin-left: -4px; color: #fff; border: 2px solid var(--surface-1); border-radius: 50%; font-size: 9px; font-weight: 800; box-shadow: 0 2px 7px color-mix(in srgb, var(--text-primary) 22%, transparent); } :deep(.screen-share-player-live) { position: absolute; top: 22px; left: 64px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; color: var(--text-primary); border: 1px solid color-mix(in srgb, var(--border) 78%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--surface-1) 88%, transparent); box-shadow: 0 5px 16px color-mix(in srgb, var(--text-primary) 14%, transparent); backdrop-filter: blur(8px); font-size: 11px; font-weight: 800; } :deep(.screen-share-player-live i) { width: 7px; height: 7px; border-radius: 50%; background: #65e48b; box-shadow: 0 0 0 4px rgba(101,228,139,.18); animation: screen-share-live-dot 1.2s ease-in-out infinite; } :deep(.screen-share-player-source) { position: absolute; bottom: 18px; left: 18px; z-index: 3; max-width: 45%; overflow: hidden; padding: 7px 10px; color: var(--text-primary); border: 1px solid color-mix(in srgb, var(--border) 78%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--surface-1) 88%, transparent); box-shadow: 0 5px 16px color-mix(in srgb, var(--text-primary) 14%, transparent); backdrop-filter: blur(8px); font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; } :deep(.screen-share-player-controls) { position: absolute; right: 15px; bottom: 15px; z-index: 3; display: flex; align-items: center; gap: 9px; } :deep(.screen-share-player-controls label) { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 11px; color: var(--text-primary); border: 1px solid color-mix(in srgb, var(--border) 78%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--surface-1) 88%, transparent); box-shadow: 0 5px 16px color-mix(in srgb, var(--text-primary) 14%, transparent); backdrop-filter: blur(8px); } :deep(.screen-share-player-controls input) { width: 102px; height: 4px; accent-color: #69d2c7; cursor: pointer; } :deep(.screen-share-player:fullscreen) { width: 100vw; height: 100vh; border: 0; border-radius: 0; background: var(--surface-0); } :deep(.screen-share-player:fullscreen .screen-share-player-stage) { height: 100%; max-height: none; aspect-ratio: auto; } :deep(.screen-share-player::backdrop) { background: var(--surface-0); } @keyframes screen-share-wave { 0% { transform: scaleY(.45); opacity: .5; } 100% { transform: scaleY(1); opacity: 1; } } @keyframes screen-share-live-dot { 0%, 100% { opacity: .55; transform: scale(.86); } 50% { opacity: 1; transform: scale(1); } } @media (max-width: 740px) { :deep(.screen-share-live-indicator) { top: -14px; font-size: 7px; } :deep(.screen-share-card-button) { font-size: 8px; } :deep(.screen-share-player) { margin-top: 14px; border-radius: 14px; } :deep(.screen-share-player-stage) { width: 100%; height: min(58vh, 480px); min-height: 220px; } :deep(.screen-share-player-viewers) { top: 10px; right: 10px; } :deep(.screen-share-player-live) { top: 19px; left: 57px; } :deep(.screen-share-player-source) { bottom: 12px; left: 12px; max-width: 40%; } :deep(.screen-share-player-controls) { right: 10px; bottom: 10px; gap: 6px; } :deep(.screen-share-player-controls label) { padding-inline: 9px; } :deep(.screen-share-player-controls input) { width: 70px; } :deep(.screen-share-player-exit) { top: 10px; left: 10px; } } /* The footer artwork belongs to the viewport, while its copy stays aligned with the homepage content column. */ .join-footer { width: 100%; padding-inline: max(20px, calc((100% - 1240px) / 2)); } @media (max-width: 740px) { .join-footer { width: 100%; padding-inline: 16px; } } /* Keep the performance popover out of the activity area on tablet layouts. */ @media (min-width: 741px) and (max-width: 1200px) { :deep(.app-shell .performance-panel) { position: fixed; top: 82px; right: 16px; width: min(330px, calc(100vw - 32px)); } } @media (min-width: 981px) and (max-width: 1200px) { :deep(.app-shell[data-performance-open="true"] .voice-section .section-heading) { padding-right: 390px; } } @media (min-width: 741px) and (max-width: 980px) { .app-shell[data-performance-open="true"] .voice-section { margin-top: 248px; } } /* Keep voice activity content inset from the artwork container edges. */ .app-shell .voice-section { position: relative; padding: clamp(14px, 1.8vw, 24px); border: 1px solid transparent; border-radius: 24px; } .app-shell .workspace-content { position: relative; isolation: isolate; } /* Stacking order inside voice activity: room surfaces (auto), artwork (2), and readable labels / actionable overlays (3). */ :deep(.app-shell .voice-section .section-heading) { position: relative; z-index: 3; } .voice-activity-artwork { position: absolute; z-index: 2; inset: -26px 0 -48px; background-repeat: no-repeat; transform: perspective(1100px) rotateY(-2.5deg) translateZ(22px); transform-origin: right center; pointer-events: none; } /* Public artwork hooks have host-defined geometry. Skins can supply the art and its appearance without taking over the member rail's layout. */ :deep(.app-shell .member-panel) { position: relative; } :deep(.app-shell .member-panel::before) { content: ""; position: absolute; z-index: 1; left: -28px; bottom: 18px; width: min(430px, calc(100vw - 24px)); aspect-ratio: 3 / 2; background-repeat: no-repeat; background-position: left bottom; background-size: contain; transform: perspective(1100px) rotateY(-8deg) rotateX(2deg) translateZ(20px); transform-origin: 15% 100%; pointer-events: none; } :deep(.app-shell .member-panel-heading), :deep(.app-shell .member-search), :deep(.app-shell .member-tree), :deep(.app-shell .member-empty) { position: relative; z-index: 2; } :deep(.app-shell .chat-empty[data-ws-state="messages-empty"]) { position: relative; isolation: isolate; min-height: 210px; padding: 126px 12px 10px; } :deep(.app-shell .chat-empty[data-ws-state="messages-empty"]::before) { content: ""; position: absolute; z-index: 1; top: 12px; left: calc(50% - 142px); width: 48px; height: 34px; color: transparent; border: 1.5px solid currentColor; border-radius: 50%; background-repeat: no-repeat; transform: rotate(-12deg); pointer-events: none; } :deep(.app-shell .chat-empty[data-ws-state="messages-empty"]::after) { content: ""; position: absolute; z-index: 1; top: 39px; left: calc(50% - 116px); width: 9px; height: 9px; color: transparent; border: 1.5px solid transparent; border-color: transparent currentColor currentColor transparent; background: transparent; transform: rotate(28deg); pointer-events: none; } :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; } :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; } :deep(.app-shell .chat-status) { position: relative; z-index: 3; flex: 0 0 auto; margin: 8px 0 0; color: var(--muted, #64748b); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; } @media (max-width: 740px) { .app-shell .voice-section { padding: 14px 10px 16px; } } @media (max-width: 1100px) { :deep(.app-shell .chat-empty[data-ws-state="messages-empty"]) { min-height: 190px; padding-top: 112px; } } @media (max-width: 980px) { :deep(.app-shell .member-panel::before) { display: none; } } @media (max-width: 740px) { :deep(.app-shell .chat-empty[data-ws-state="messages-empty"]) { min-height: 170px; padding: 100px 10px 8px; } } /* Homepage feature tiles use a shared grid and consistent internal spacing. */ .promise-list { display: grid; width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } .promise-item { min-width: 0; min-height: 58px; gap: 9px; padding: 9px 11px; border: 1px solid var(--border); border-radius: 14px; background: color-mix(in srgb, var(--surface-1) 78%, transparent); box-shadow: 0 8px 20px color-mix(in srgb, var(--text-primary) 7%, transparent); backdrop-filter: blur(10px); } .promise-item > span:last-child { min-width: 0; } .promise-icon { width: 36px; height: 36px; flex: 0 0 36px; } @media (min-width: 741px) { /* Keep header menus above the independently stacked screen-share stage. */ .app-shell .workspace-header { position: relative; z-index: 40; } } @media (max-width: 740px) { .promise-list { gap: 10px; } .promise-item { min-height: 54px; gap: 7px; padding: 8px 9px; } .promise-icon { width: 32px; height: 32px; flex-basis: 32px; } } @media (max-width: 420px) { .promise-list { grid-template-columns: minmax(0, 1fr); } .promise-item { padding: 10px 12px; } } @media (max-width: 740px) { :deep(.identity-import-backdrop) { align-items: flex-end; padding: 0; } :deep(.identity-import-modal) { width: 100%; max-height: calc(100svh - env(safe-area-inset-top, 0px)); padding: 24px 19px calc(18px + env(safe-area-inset-bottom, 0px)); border-radius: 22px 22px 0 0; } :deep(.identity-import-textarea) { min-height: 24svh; } :deep(.identity-drop-zone) { justify-content: flex-start; } :deep(.identity-import-footer .identity-import-submit) { min-height: 46px; } } @media (max-width: 420px) { :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; } } /* Give the brand and actions their own rows before they can overlap. */ @media (max-width: 740px) { .join-page .join-header { flex-wrap: wrap; gap: 8px; padding-bottom: 10px; } .join-page :deep(.brand-lockup) { flex: 1 1 100%; min-width: 0; } .join-page :deep(.brand-lockup > div) { display: block; min-width: 0; } .join-page :deep(.brand-mark) { flex: 0 0 auto; } .join-page :deep(.header-tools) { flex: 1 1 100%; max-width: 100%; flex-wrap: wrap; justify-content: flex-end; gap: 6px; } } /* Favorite servers stay one click away while the connected workspace is open. */ .app-shell[data-favorite-rail="true"] { grid-template-columns: 68px 318px minmax(0, 1fr); } .app-shell[data-favorite-rail="true"] .favorite-server-rail { grid-column: 1; grid-row: 1; } .app-shell[data-favorite-rail="true"] .workspace { grid-column: 3; grid-row: 1; } .app-shell[data-favorite-rail="true"] :deep(.member-panel) { grid-column: 2; grid-row: 1; border-right: 1px solid var(--border); border-left: 0; } .favorite-server-rail { position: relative; z-index: 12; display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 12px; padding: 14px 8px 16px; overflow: visible; background: color-mix(in srgb, var(--surface-1) 96%, var(--accent)); border-right: 1px solid var(--border); } .favorite-server-rail-list { display: flex; min-height: 0; flex: 1 1 auto; flex-direction: column; align-items: center; gap: 10px; overflow-x: visible; overflow-y: auto; scrollbar-width: none; } .favorite-server-rail-list::-webkit-scrollbar { display: none; } .favorite-server-rail-item { position: relative; flex: 0 0 auto; } .favorite-server-button, .favorite-server-add { position: relative; display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; padding: 3px; color: var(--text-primary); background: var(--surface-2); border: 1px solid var(--border); border-radius: 16px; cursor: pointer; transition: border-radius .16s ease, transform .16s ease, box-shadow .16s ease; } .favorite-server-button:hover, .favorite-server-button:focus-visible, .favorite-server-button.active, .favorite-server-add:hover, .favorite-server-add:focus-visible { border-radius: 15px; border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 20%, transparent); } .favorite-server-button.active::before { position: absolute; left: -9px; width: 4px; height: 24px; content: ""; background: var(--accent); border-radius: 0 4px 4px 0; } [data-ws-plugin-part$=".quick-server"][aria-disabled="true"] { cursor: not-allowed; opacity: .48; } .ws-plugin-server-add { position: sticky; bottom: 0; z-index: 1; display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; padding: 0; border: 1px solid var(--border); border-radius: 14px; color: var(--text-muted); background: var(--surface-2); font: inherit; font-size: 22px; line-height: 1; cursor: pointer; transition: color .14s ease, background .14s ease, border-color .14s ease; } .ws-plugin-server-add-divider { display: block; width: 34px; height: 1px; flex: 0 0 1px; background: color-mix(in srgb, currentColor 18%, transparent); } .ws-plugin-server-add:hover, .ws-plugin-server-add:focus-visible { color: var(--text-primary); border-color: var(--accent); background: var(--surface-2); } .ws-plugin-server-add:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; } .favorite-server-button:disabled { cursor: wait; opacity: .65; } .favorite-server-button[aria-disabled="true"], .favorite-server-strip-button[aria-disabled="true"] { cursor: not-allowed; opacity: .48; } .ws-voice-server-switcher-item[aria-disabled="true"]:not(.is-current) { cursor: not-allowed; opacity: .55; } .favorite-server-avatar { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; overflow: hidden; color: #19342f; border-radius: 13px; font-size: 17px; font-weight: 800; line-height: 1; text-transform: uppercase; } .favorite-server-avatar img { width: 100%; height: 100%; object-fit: cover; } .favorite-server-tooltip { position: absolute; z-index: 45; top: 50%; left: calc(100% + 13px); display: grid; width: max-content; max-width: min(260px, calc(100vw - 110px)); gap: 3px; padding: 9px 11px; color: var(--text-primary); background: var(--surface-1); border: 1px solid var(--border); border-radius: 9px; box-shadow: 0 10px 26px color-mix(in srgb, var(--text-primary) 18%, transparent); opacity: 0; pointer-events: none; transform: translateY(-50%) translateX(-4px); transition: opacity .14s ease, transform .14s ease; } .favorite-server-tooltip strong { overflow: hidden; max-width: 238px; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; } .favorite-server-tooltip small { overflow: hidden; max-width: 238px; color: var(--text-muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; } .favorite-server-button:hover .favorite-server-tooltip, .favorite-server-button:focus-visible .favorite-server-tooltip { opacity: 1; transform: translateY(-50%); } .favorite-server-toggle { position: absolute; z-index: 1; top: -5px; right: -5px; display: grid; width: 19px; height: 19px; place-items: center; padding: 0; color: #fff; background: #6f7d78; border: 2px solid var(--surface-1); border-radius: 50%; cursor: pointer; opacity: 0; transform: scale(.85); transition: opacity .14s ease, transform .14s ease, background .14s ease; } .favorite-server-rail-item:hover .favorite-server-toggle, .favorite-server-rail-item:focus-within .favorite-server-toggle { opacity: 1; transform: scale(1); } .favorite-server-rail-item[data-ws-state="favorite"] .favorite-server-toggle { opacity: 1; transform: scale(1); } .favorite-server-toggle.active, .favorite-server-toggle:hover { color: #fff2c7; background: #bb8725; } .favorite-server-toggle.active :deep(.ui-icon) { fill: currentColor; } .favorite-server-toggle:focus-visible, .favorite-server-strip-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; } .favorite-server-add { flex: 0 0 42px; width: 42px; height: 42px; color: var(--text-muted); border-radius: 50%; } .favorite-server-strip { display: none; } .favorite-server-strip-item { position: relative; display: flex; flex: 0 0 auto; } .favorite-current-toggle.active :deep(.ui-icon) { color: #e0a62f; fill: currentColor; } .favorite-switch-banner { display: flex; align-items: center; gap: 11px; margin: 10px 16px 0; padding: 10px 12px; color: var(--text-primary); background: color-mix(in srgb, var(--accent) 8%, var(--surface-1)); border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border)); border-radius: 12px; } .favorite-switch-banner.failed { background: color-mix(in srgb, var(--danger) 7%, var(--surface-1)); border-color: color-mix(in srgb, var(--danger) 32%, var(--border)); } .favorite-switch-indicator { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface-1)); border-radius: 10px; } .favorite-switch-banner.failed .favorite-switch-indicator { color: var(--danger); background: color-mix(in srgb, var(--danger) 11%, var(--surface-1)); } .favorite-switch-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; } .favorite-switch-copy strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; } .favorite-switch-copy small { color: var(--text-muted); font-size: 11px; } .favorite-switch-banner > button { min-height: 34px; padding: 0 11px; color: var(--text-primary); background: var(--surface-1); border: 1px solid var(--border); border-radius: 8px; font-size: 11px; font-weight: 700; cursor: pointer; } @media (max-width: 980px) { .app-shell[data-favorite-rail="true"] { grid-template-columns: minmax(0, 1fr); grid-template-rows: 76px minmax(0, 1fr) minmax(210px, 35dvh); } .app-shell[data-favorite-rail="true"] .favorite-server-strip { grid-column: 1; grid-row: 1; } .app-shell[data-favorite-rail="true"] .workspace { grid-column: 1; grid-row: 2; } .app-shell[data-favorite-rail="true"] :deep(.member-panel) { grid-column: 1; grid-row: 3; } .favorite-server-rail { display: none; } .favorite-server-strip { display: flex; min-width: 0; flex: 0 0 auto; align-items: center; gap: 8px; padding: 8px 14px; overflow-x: auto; overflow-y: hidden; background: color-mix(in srgb, var(--surface-1) 94%, transparent); border-bottom: 1px solid var(--border); scrollbar-width: none; } .favorite-server-strip::-webkit-scrollbar { display: none; } .favorite-server-strip-button { display: grid; min-width: 56px; max-width: 94px; flex: 0 0 auto; justify-items: center; gap: 4px; padding: 3px 5px; color: var(--text-muted); background: transparent; border: 1px solid transparent; border-radius: 11px; cursor: pointer; } .favorite-server-strip-item { min-width: 56px; max-width: 94px; } .favorite-server-strip-button .favorite-server-avatar { width: 38px; height: 38px; flex-basis: 38px; font-size: 16px; } .favorite-server-strip-button > span:last-child { overflow: hidden; width: 100%; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; } .favorite-server-strip-button.active { color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, var(--surface-1)); border-color: color-mix(in srgb, var(--accent) 24%, var(--border)); } .favorite-server-strip-button:disabled { cursor: wait; opacity: .65; } .favorite-server-strip-toggle { position: absolute; top: 0; right: 1px; z-index: 1; display: grid; width: 19px; height: 19px; place-items: center; padding: 0; color: #65736f; background: var(--surface-1); border: 1px solid var(--border); border-radius: 50%; box-shadow: 0 1px 4px color-mix(in srgb, var(--text-primary) 18%, transparent); cursor: pointer; } .favorite-server-strip-toggle.active { color: #b47a09; border-color: color-mix(in srgb, #d4a22f 48%, var(--border)); } .favorite-server-strip-toggle.active :deep(.ui-icon) { fill: currentColor; } .favorite-server-strip-add { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; color: var(--text-muted); background: var(--surface-2); border: 1px solid var(--border); border-radius: 50%; cursor: pointer; } } @media (max-width: 740px) { .favorite-server-strip { padding: calc(6px + env(safe-area-inset-top, 0px)) 10px 6px; gap: 5px; } .app-shell[data-favorite-rail="true"] .workspace-header { min-height: 60px; padding-top: 0; } .app-shell[data-favorite-rail="true"] :deep(.member-panel.mobile-section-visible) { padding-top: 18px; } .favorite-server-strip-button { min-width: 50px; } .favorite-switch-banner { flex: 0 0 auto; margin: 7px 10px 0; padding: 8px; } }