Files
WebSpeak-client-for-TeamSpeak/web/src/styles/web-client.css
T

1304 lines
131 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
: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; overflow: hidden; 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-footer { width: 100%; padding-inline: max(20px, calc((100% - 1240px) / 2)); }
.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; align-items: center; 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); }
.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; }
.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%; color: #fff; background: currentColor; color: #fff; font-size: 10px; font-weight: 800; }
:deep(.error-notice .notice-symbol) { background: #d95d55; }
:deep(.warning-notice .notice-symbol) { background: #c89143; }
:deep(.join-form) { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
:deep(.field-grid) { display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: 12px; }
:deep(.field-grid .field-label) { display: block; }
:deep(.field-grid .field-label:not(:first-child)) { margin-top: 0; }
.field-hint { margin: 1px 0 5px; color: #879590; font-size: 10px; line-height: 1.5; }
:deep(.field-label), .settings-label { color: #43514d; font-size: 11px; font-weight: 600; }
:deep(.field-label:not(:first-child)) { margin-top: 6px; }
:deep(.field-label span) { color: #a2aaa7; font-weight: 400; }
:deep(.field-wrap) { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 14px; color: #8b9b96; border-radius: 10px; background: #f3f6f5; transition: .2s ease; }
:deep(.field-wrap:focus-within) { color: #006a64; background: #fff; box-shadow: 0 0 0 2px #81d8d0; }
:deep(.field-wrap input) { width: 100%; min-width: 0; padding: 0; color: #24312f; outline: none; border: 0; background: transparent; font-size: 13px; }
:deep(.field-wrap input::placeholder) { color: #a5b0ad; }
:deep(.primary-button), :deep(.identity-import-submit) { display: inline-flex; align-items: center; justify-content: center; gap: 10px; color: #fff; background: #006a64; border-radius: 9px; font-size: 12px; font-weight: 700; cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s; }
:deep(.primary-button:hover:not(:disabled)), :deep(.identity-import-submit:hover:not(:disabled)) { background: #005650; box-shadow: 0 9px 20px rgba(0, 106, 100, .18); transform: translateY(-1px); }
:deep(.primary-button:active:not(:disabled)), :deep(.identity-import-submit:active:not(:disabled)) { transform: translateY(0); }
:deep(.primary-button:disabled), :deep(.identity-import-submit:disabled) { cursor: not-allowed; opacity: .45; }
:deep(.connect-button) { width: 100%; min-height: 44px; margin-top: 10px; font-size: 13px; }
:deep(.button-spinner) { width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.join-meta { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 12px; color: #96a29f; font-size: 10px; }
.join-footer { display: flex; align-items: center; min-height: 68px; background: var(--surface-0); color: #9ba6a3; border-top: 1px solid #e8edeb; font-size: 11px; }.join-footer a { color: #628e89; text-decoration: none; }.join-footer a:hover { color: #006a64; text-decoration: underline; }
.footer-separator { margin: 0 8px; color: #ccd5d1; }.footer-spacer { flex: 1; }
.app-shell { display: grid; grid-template-columns: 76px 292px minmax(0, 1fr) 246px; height: 100dvh; 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; }
.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; }.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, .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, .member-search input { width: 100%; min-width: 0; border: 0; outline: none; background: transparent; color: #40504b; font-size: 11px; }.channel-search input::placeholder, .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; }.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; min-width: 0; flex-direction: column; background: #fff; }.workspace-header { display: flex; align-items: center; justify-content: space-between; min-height: 73px; padding: 0 29px; border-bottom: 1px solid #eef2f0; }.breadcrumbs { display: flex; align-items: center; gap: 9px; min-width: 0; color: #52605b; font-size: 12px; }.breadcrumbs strong { overflow: hidden; color: #26332f; text-overflow: ellipsis; white-space: nowrap; }.crumb-muted { color: #98a39f; }.mobile-brand { display: none; color: #006a64; font-size: 17px; font-weight: 800; letter-spacing: -.06em; }.mobile-brand em { color: #293632; font-style: normal; font-weight: 500; }.workspace-actions, .dock-actions { display: flex; align-items: center; gap: 8px; }.header-action, .dock-icon { display: grid; place-items: center; color: #75847f; background: transparent; border-radius: 8px; cursor: pointer; transition: .16s; }.header-action { width: 32px; height: 32px; }.header-action:hover, .dock-icon:hover { color: #006a64; background: #edf5f2; }.disconnect-button { display: inline-flex; align-items: center; gap: 6px; min-height: 33px; margin-left: 8px; padding: 0 13px; color: #a94d48; background: #fff2f1; border-radius: 8px; font-size: 11px; font-weight: 700; cursor: pointer; }.disconnect-button:hover { color: #fff; background: #c95a54; }
.workspace { display: flex; min-width: 0; flex-direction: column; background: #fff; }.workspace-header { display: flex; align-items: center; justify-content: space-between; min-height: 73px; padding: 0 29px; border-bottom: 1px solid #eef2f0; }.breadcrumbs { display: flex; align-items: center; gap: 9px; min-width: 0; color: #52605b; font-size: 12px; }.breadcrumbs strong { overflow: hidden; color: #26332f; text-overflow: ellipsis; white-space: nowrap; }.crumb-muted { color: #98a39f; }.mobile-brand { display: none; color: #006a64; font-size: 17px; font-weight: 800; letter-spacing: -.06em; }.mobile-brand em { color: #293632; font-style: normal; font-weight: 500; }.workspace-actions, .dock-actions { display: flex; align-items: center; gap: 8px; }.header-action, .dock-icon { display: grid; place-items: center; color: #75847f; background: transparent; border-radius: 8px; cursor: pointer; transition: .16s; }.header-action { width: 32px; height: 32px; }.header-action:hover, .dock-icon:hover { color: #006a64; background: #edf5f2; }.workspace-language { margin-left: 3px; }.disconnect-button { display: inline-flex; align-items: center; gap: 6px; min-height: 33px; margin-left: 8px; padding: 0 13px; color: #a94d48; background: #fff2f1; border-radius: 8px; font-size: 11px; font-weight: 700; cursor: pointer; }.disconnect-button:hover { color: #fff; background: #c95a54; }
.workspace-scroll { flex: 1; overflow-y: auto; }.workspace-content { width: min(950px, calc(100% - 64px)); margin: 0 auto; padding: 31px 0 27px; }.room-hero { position: relative; min-height: 190px; overflow: hidden; padding: 30px 34px; border-radius: 16px; background: linear-gradient(110deg, #e3f4f1, #f8fbfa 68%, #fff); }.room-hero-content { position: relative; z-index: 1; }.room-eyebrow { color: #4d817a; font-size: 10px; }.live-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; color: #2d7540; background: #d6f5d9; border-radius: 999px; font-size: 9px; letter-spacing: .08em; }.live-pill i { width: 5px; height: 5px; border-radius: 50%; background: #56cf69; }.room-hero h1 { display: flex; align-items: center; gap: 8px; margin: 16px 0 7px; color: #18302c; font-size: 26px; letter-spacing: -.05em; }.room-hero h1 .ui-icon { color: #006a64; }.room-hero p { max-width: 470px; margin: 0; color: #64817a; font-size: 12px; line-height: 1.6; }.room-stats { display: flex; align-items: center; gap: 11px; margin-top: 19px; color: #52716b; font-size: 10px; }.room-stats span { display: inline-flex; align-items: center; gap: 5px; }.stat-divider { width: 1px; height: 13px; background: #b8d9d4; }.hero-decoration { position: absolute; border: 1px solid rgba(0,106,100,.12); border-radius: 50%; }.hero-decoration.one { width: 250px; height: 250px; right: 48px; top: -116px; }.hero-decoration.two { width: 355px; height: 355px; right: -20px; top: -168px; }.hero-visual { position: absolute; right: 85px; bottom: 20px; width: 160px; height: 120px; opacity: .75; }.orbit { position: absolute; inset: 16px 4px; border: 1px solid rgba(0,106,100,.19); border-radius: 50%; transform: rotate(28deg); }.orbit-b { inset: 0 26px; transform: rotate(-49deg); }.hero-wave { position: absolute; right: 29px; bottom: 45px; display: flex; align-items: center; gap: 4px; height: 53px; }.hero-wave i { display: block; width: 3px; min-height: 8px; border-radius: 4px; background: #63c7bf; animation: wave 2.2s ease-in-out infinite alternate; }.hero-wave i:nth-child(3n) { background: #90f691; animation-delay: -.8s; }.hero-wave i:nth-child(4n) { animation-delay: -.4s; }
:deep(.section-heading) { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }.voice-section { margin-top: 34px; }:deep(.section-heading h2) { display: flex; align-items: center; gap: 7px; margin: 6px 0 0; color: #1d2926; font-size: 20px; letter-spacing: -.04em; }:deep(.section-counter) { color: #87928e; font-size: 10px; }.voice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(142px, 1fr)); gap: 12px; margin-top: 17px; }.voice-card { position: relative; min-height: 152px; padding: 17px 11px 13px; border: 1px solid #edf1ef; border-radius: 13px; background: #fff; box-shadow: 0 7px 18px rgba(20,58,51,.04); text-align: center; transition: .18s; }.voice-card:hover { z-index: 3; transform: translateY(-2px); box-shadow: 0 11px 24px rgba(20,58,51,.08); }.voice-card.speaking { border-color: #90f691; box-shadow: 0 0 14px rgba(144,246,145,.35); }.voice-avatar-wrap { position: relative; z-index: 3; width: 68px; margin: 0 auto 11px; }.voice-avatar { display: grid; place-items: center; width: 68px; height: 68px; color: #fff; border-radius: 50%; font-size: 20px; font-weight: 700; }.voice-status { position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; width: 24px; height: 24px; color: #78908b; background: #fff; border: 1px solid #e0eae6; border-radius: 50%; }.voice-status.speaking { color: #278c3b; border-color: #90f691; }.voice-card > strong, .voice-card > span { position: relative; z-index: 3; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.voice-card > strong { color: #2c3935; font-size: 12px; }.voice-card > span { margin-top: 5px; color: #91a09a; font-size: 10px; }.voice-card.speaking > span { color: #278c3b; }.more-card { display: grid; place-items: center; align-content: center; }.more-count { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 11px; color: #006a64; background: #e0f2ef; border-radius: 50%; font-size: 14px; font-weight: 700; }.voice-empty { display: flex; align-items: center; gap: 11px; margin-top: 17px; padding: 18px; color: #83908c; border: 1px dashed #dce6e2; border-radius: 12px; font-size: 11px; }.voice-empty .empty-icon { margin: 0; width: 34px; height: 34px; }.voice-empty strong { color: #4c5e58; }.voice-empty span:last-child { margin-left: auto; }
.chat-panel { margin-top: 34px; padding: 0 clamp(14px, 1.8vw, 24px) 20px; border-top: 1px solid #eef2f0; }:deep(.chat-heading) { padding-top: 25px; }:deep(.chat-heading h2 .ui-icon) { color: #006a64; }:deep(.message-list) { display: flex; flex-direction: column; gap: 18px; min-height: 170px; max-height: 360px; overflow-y: auto; padding: 22px 8px 10px 3px; }:deep(.chat-empty) { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 145px; color: #9aa6a2; text-align: center; }:deep(.chat-empty-icon) { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 11px; color: #6fa8a2; background: #e5f3f1; border-radius: 14px; }:deep(.chat-empty strong) { color: #556761; font-size: 12px; }:deep(.chat-empty span) { margin-top: 5px; font-size: 10px; }:deep(.message-row) { display: flex; align-items: flex-start; gap: 11px; max-width: 78%; }:deep(.message-row.mine) { align-self: flex-end; flex-direction: row-reverse; }:deep(.message-avatar) { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 auto; color: #fff; border-radius: 10px; font-size: 11px; font-weight: 700; }:deep(.message-body) { min-width: 0; }:deep(.message-meta) { display: flex; align-items: baseline; gap: 8px; margin: 1px 0 6px; }:deep(.message-row.mine .message-meta) { justify-content: flex-end; }:deep(.message-meta strong) { color: #384843; font-size: 11px; }:deep(.message-meta time) { color: #a1ada9; font-size: 9px; }:deep(.message-bubble) { padding: 10px 13px; color: #43534e; background: #f1f5f3; border-radius: 4px 13px 13px 13px; font-size: 12px; line-height: 1.55; }:deep(.message-row.mine .message-bubble) { color: #fff; background: #006a64; border-radius: 13px 4px 13px 13px; }:deep(.message-composer) { display: flex; align-items: center; gap: 7px; min-height: 48px; padding: 6px 8px 6px 12px; background: #f3f6f5; border-radius: 11px; }:deep(.message-composer input) { width: 100%; min-width: 0; border: 0; outline: none; background: transparent; color: #3a4944; font-size: 12px; }:deep(.message-composer input::placeholder) { color: #9aa6a2; }.composer-tool { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 auto; color: #94a19d; background: transparent; border-radius: 7px; }.composer-tool:not(:disabled) { cursor: pointer; }.composer-tool:disabled { opacity: .6; }:deep(.send-button) { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; color: #fff; background: #006a64; border-radius: 9px; cursor: pointer; }:deep(.send-button:disabled) { cursor: not-allowed; opacity: .35; }
.control-dock { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 74px; padding: 10px 29px; border-top: 1px solid #e9efec; background: rgba(255,255,255,.94); box-shadow: 0 -5px 18px rgba(23,52,47,.03); }.dock-user { display: flex; align-items: center; gap: 9px; min-width: 140px; }.dock-avatar { width: 34px; height: 34px; border-radius: 10px; font-size: 11px; }.dock-user strong, .dock-user span { display: block; }.dock-user strong { max-width: 125px; overflow: hidden; color: #33423d; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }.dock-user span { display: flex; align-items: center; gap: 5px; margin-top: 4px; color: #7e8d87; font-size: 9px; }.dock-user span i { width: 5px; height: 5px; border-radius: 50%; background: #65d879; }.dock-center { display: flex; align-items: center; gap: 14px; }.mic-mode-switch { display: flex; padding: 3px; background: #eef3f1; border-radius: 8px; }.mic-mode-switch button { display: inline-flex; align-items: center; gap: 5px; padding: 7px 9px; color: #8b9894; background: transparent; border-radius: 6px; font-size: 10px; cursor: pointer; }.mic-mode-switch button.active { color: #006a64; background: #fff; box-shadow: 0 2px 5px rgba(21,54,48,.08); font-weight: 700; }.ptt-indicator { display: inline-flex; align-items: center; gap: 7px; color: #7c8b86; font-size: 10px; }.ptt-indicator span { width: 7px; height: 7px; border-radius: 50%; background: #b2bfbb; }.ptt-indicator.active { color: #278c3b; }.ptt-indicator.active span { background: #65d879; box-shadow: 0 0 0 4px rgba(101,216,121,.15); }.dock-actions { min-width: 140px; justify-content: flex-end; }.dock-icon { width: 34px; height: 34px; }.dock-end { display: grid; place-items: center; width: 37px; height: 37px; color: #fff; background: #c95a54; border-radius: 10px; cursor: pointer; }.dock-end:hover { background: #b84c47; }
.member-panel { min-width: 0; padding: 26px 16px; color: #2c3935; background: #fbfcfc; border-left: 1px solid #eef2f0; }.member-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; }.member-panel-heading h2 { margin: 5px 0 0; color: #25322e; font-size: 19px; letter-spacing: -.04em; }.member-search { margin-top: 18px; padding: 0 10px; min-height: 33px; }.member-group { margin-top: 24px; }.member-group-title { display: flex; align-items: center; gap: 8px; color: #85928e; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }.group-line { height: 1px; flex: 1; background: #e6edeb; }.member-list { display: flex; flex-direction: column; gap: 17px; margin-top: 17px; }.member-row { display: flex; align-items: center; gap: 8px; min-width: 0; }.member-avatar { position: relative; display: grid; place-items: center; width: 33px; height: 33px; flex: 0 0 auto; color: #fff; border-radius: 10px; font-size: 10px; font-weight: 700; }.member-avatar.speaking { box-shadow: 0 0 0 2px #90f691, 0 0 10px rgba(144,246,145,.35); }.member-presence { position: absolute; right: -2px; bottom: -2px; width: 9px; height: 9px; border: 2px solid #fbfcfc; border-radius: 50%; background: #65d879; }.member-copy { min-width: 0; flex: 1; }.member-copy strong, .member-copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.member-copy strong { color: #34423d; font-size: 10px; }.member-copy span { margin-top: 4px; color: #96a29e; font-size: 9px; }.member-volume { display: flex; align-items: center; gap: 5px; color: #a1afaa; width: 64px; }.member-volume input { width: 45px; height: 4px; appearance: none; border-radius: 99px; outline: none; cursor: pointer; }.member-volume input::-webkit-slider-thumb, .settings-range::-webkit-slider-thumb { width: 14px; height: 14px; appearance: none; border: 2px solid #81d8d0; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.12); cursor: pointer; }.member-volume input::-moz-range-thumb, .settings-range::-moz-range-thumb { width: 14px; height: 14px; border: 2px solid #81d8d0; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.12); cursor: pointer; }.member-empty { margin-top: 22px; color: #98a49f; font-size: 10px; text-align: center; }.member-panel-tip { display: flex; gap: 8px; margin-top: 36px; padding: 12px; color: #72827c; background: #eef5f2; border-radius: 9px; font-size: 9px; line-height: 1.5; }.member-panel-tip .ui-icon { color: #5e9e96; }
.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); }.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; }.settings-main { display: flex; min-width: 0; flex: 1; flex-direction: column; }.settings-header { display: flex; align-items: center; justify-content: space-between; min-height: 75px; padding: 0 28px; border-bottom: 1px solid #edf1ef; }.settings-header h2 { margin: 0; color: #202c29; font-size: 22px; letter-spacing: -.045em; }.settings-content { flex: 1; overflow-y: auto; padding: 28px 40px; }.settings-section { max-width: 620px; margin: 0 auto; }.settings-section h3 { display: flex; align-items: center; gap: 9px; margin: 0 0 21px; color: #293631; font-size: 16px; }.settings-section h3 .ui-icon { color: #006a64; }.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; }.settings-range-row { display: flex; align-items: center; justify-content: space-between; }.settings-range-row .settings-label { margin: 0; }.settings-range-row strong { color: #006a64; font-size: 10px; }.settings-range { width: 100%; height: 6px; margin: 11px 0 20px; appearance: none; border-radius: 999px; outline: none; cursor: pointer; }.settings-range::-webkit-slider-thumb { width: 19px; height: 19px; }.settings-range::-moz-range-thumb { width: 19px; height: 19px; }.mic-test { padding: 15px; border: 1px solid #e5ece9; border-radius: 11px; background: #fafcfb; }.mic-test-header { display: flex; align-items: center; justify-content: space-between; }.mic-test-header strong { color: #36453f; font-size: 11px; }.mic-test-header button { padding: 6px 9px; color: #006a64; background: #e0f1ee; border-radius: 5px; font-size: 10px; cursor: pointer; }.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; }.meter i { width: 5px; min-height: 4px; border-radius: 3px 3px 0 0; background: #dfe6e3; }.meter i.active { background: #81ed8b; box-shadow: 0 0 7px rgba(129,237,139,.45); animation: meter 1s ease-in-out infinite alternate; }.meter-labels { display: flex; justify-content: space-between; margin-top: 6px; color: #9ba6a2; font-size: 8px; }.settings-separator { max-width: 620px; margin: 32px auto; border-top: 1px solid #edf1ef; }.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; }.mode-note .ui-icon { color: #4f9c91; }.settings-footer { display: flex; justify-content: flex-end; gap: 16px; min-height: 67px; padding: 15px 28px; border-top: 1px solid #edf1ef; }.text-button, :deep(.identity-import-cancel) { padding: 0 6px; color: #63716c; background: transparent; font-size: 11px; font-weight: 600; cursor: pointer; }.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; }.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; }.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; }
.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); }
.channel-password-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 17px; color: #006a64; background: #e4f4f0; border-radius: 14px; }
.channel-password-modal h2 { margin: 7px 0 8px; color: #1d2d29; font-size: 24px; letter-spacing: -.04em; }
.channel-password-modal > p { margin: 0 0 23px; color: #70817b; font-size: 12px; line-height: 1.6; }
:deep(.channel-password-form .field-label) { margin-bottom: 8px; }
:deep(.channel-password-form .field-wrap) { margin-bottom: 12px; }
.channel-password-error { margin: 0 0 14px; }
.channel-password-actions { display: flex; align-items: center; justify-content: flex-end; gap: 15px; margin-top: 21px; }
.channel-password-submit { min-height: 40px; padding: 0 16px; }
:deep(.channel-password-submit .button-spinner) { width: 14px; height: 14px; }
.channel-password-submit:disabled { cursor: wait; opacity: .7; }
@media (max-width: 740px) {
.channel-password-backdrop { align-items: flex-end; padding: 0; }
.channel-password-modal { width: 100%; padding: 27px 22px calc(23px + env(safe-area-inset-bottom, 0px)); border-radius: 20px 20px 0 0; }
.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; }.member-panel { padding-inline: 12px; }.member-volume { display: none; } }
@media (max-width: 980px) { .app-shell { grid-template-columns: 70px 245px minmax(0, 1fr); }.member-panel { display: none; }.room-hero { min-height: 180px; }.hero-visual { right: 24px; opacity: .55; }.join-content { gap: 40px; }.join-card { padding: 28px; } }
@media (max-width: 740px) { .join-header, .join-content, .join-footer { width: min(100% - 32px, 560px); }.join-header { min-height: 70px; }:deep(.header-note) { display: none; }.join-content { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 35px; padding: 36px 0 48px; }.join-copy h1 { margin-top: 15px; font-size: 45px; }.join-description { font-size: 14px; }.promise-list { gap: 13px; margin-top: 27px; }.promise-item { min-width: 0; flex: 1 1 30%; }.promise-item small { display: none; }.visitor-count { margin-top: 24px; }.join-card { padding: 24px 20px; }.join-footer { min-height: 53px; }.join-footer .footer-spacer { display: none; }.join-footer span:last-child { margin-left: auto; }:deep(.field-grid) { grid-template-columns: minmax(0, 1fr) 112px; gap: 8px; }.app-shell { display: block; height: 100dvh; }.nav-rail, .channel-sidebar, .member-panel { display: none; }.workspace { height: 100%; }.workspace-header { min-height: 61px; padding: 0 15px; }.mobile-brand { display: inline; }.crumb-muted, .breadcrumbs > .ui-icon, .breadcrumbs > strong { display: none; }.workspace-actions { gap: 3px; }.disconnect-button { margin-left: 2px; padding-inline: 9px; }.disconnect-button .ui-icon { display: none; }.workspace-content { width: calc(100% - 30px); padding-top: 18px; }.room-hero { min-height: 182px; padding: 23px 21px; }.room-hero h1 { font-size: 22px; }.room-hero p { max-width: 74%; font-size: 11px; }.hero-visual { right: -15px; bottom: 4px; transform: scale(.75); transform-origin: right bottom; }.voice-section, .chat-panel { margin-top: 25px; }.voice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.voice-card { min-height: 143px; }:deep(.message-row) { max-width: 92%; }.control-dock { min-height: 66px; padding: 8px 15px; }.dock-user { min-width: 0; }.dock-user > div:last-child { display: none; }.dock-center { flex: 1; justify-content: center; }.mic-mode-switch button { padding: 6px 7px; font-size: 9px; }.ptt-indicator { display: none; }.dock-actions { min-width: 75px; }.settings-modal { max-height: calc(100dvh - 28px); }.settings-nav { display: none; }.settings-content { padding: 24px 20px; }.settings-header { min-height: 62px; padding-inline: 20px; }.settings-header h2 { font-size: 19px; }.settings-footer { min-height: 61px; padding-inline: 20px; } }
@media (max-width: 420px) { .join-copy h1 { font-size: 38px; }.promise-list { display: grid; grid-template-columns: 1fr; }.promise-item small { display: block; }.join-card { border-radius: 15px; }.voice-grid { gap: 8px; }.voice-card { padding-inline: 6px; }:deep(.section-counter) { display: none; }.workspace-actions .header-action:first-child { display: none; }.dock-icon { display: none; }.dock-actions { min-width: 37px; }.room-stats { gap: 6px; }.room-stats span:last-child, .stat-divider { display: none; } }
@media (max-width: 740px) {
.join-footer { width: 100%; padding-inline: 16px; }
}
/* 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) {
.app-shell .voice-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}
.screen-share-card-button { min-height: 28px; font-size: 10px; }
.screen-share-settings-button { width: 28px; min-width: 28px; min-height: 28px; }
@media (max-width: 740px) {
.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; }
.member-panel { display: flex; flex-direction: column; min-height: 0; padding: 26px 18px 18px; overflow: hidden; }
.member-tree { flex: 1; min-height: 0; margin-top: 18px; padding-right: 3px; overflow-y: auto; }
.member-channel-group { padding: 8px 0 14px; border-bottom: 1px solid #e7eeeb; }
.member-channel-group + .member-channel-group { margin-top: 8px; }
.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; }
.member-channel-heading:hover, .member-channel-group.current .member-channel-heading { color: #006a64; background: #e5f3f0; }
.member-channel-heading span { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 700; }
.member-channel-heading small { color: #94a29d; font-size: 10px; }
.member-channel-group.current .member-channel-heading small { color: #4d9a92; }
.member-channel-group .member-list { gap: 13px; margin: 9px 4px 0 14px; }
.member-volume { display: flex; }
.channel-no-members { margin: 7px 4px 0 31px; color: #a0ada8; font-size: 10px; }
.member-panel-tip { flex: 0 0 auto; margin-top: 15px; }
.settings-modal { width: min(760px, 100%); }
.settings-nav { display: none; }
.settings-content { padding: 30px 42px; }
.settings-select { display: block; width: 100%; min-height: 42px; margin-bottom: 19px; padding: 0 13px; color: #394742; border: 1px solid #e0eae6; border-radius: 8px; outline: none; background: #f4f7f6; font-size: 11px; cursor: pointer; }
.settings-select:focus { border-color: #81d8d0; box-shadow: 0 0 0 2px rgba(129,216,208,.2); }
.settings-select:disabled { cursor: wait; opacity: .65; }
.settings-error { margin: -9px 0 15px; color: #b14e47; font-size: 10px; line-height: 1.5; }
.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-group button), :deep(.favorite-toggle) { padding: 5px 8px; color: #277970; background: #eef8f5; border: 1px solid #d7ebe6; border-radius: 6px; font-size: 10px; cursor: pointer; }
:deep(.local-server-group button:hover), :deep(.favorite-toggle:hover) { background: #e0f3ee; }
:deep(.favorite-toggle) { justify-self: start; margin: -1px 0 4px; }
.clear-local-button { padding: 0; color: #85928d; background: transparent; border: 0; font-size: 10px; cursor: pointer; }
.clear-local-button:hover { color: #b14e47; text-decoration: underline; }
@media (max-width: 740px) { .reconnect-banner { align-items: flex-start; flex-direction: column; gap: 10px; width: calc(100% - 30px); }.reconnect-copy { align-items: flex-start; flex-direction: column; gap: 4px; }.reconnect-actions { width: 100%; justify-content: flex-end; } }
.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; }
.app-shell .voice-card > strong { font-size: 15px; }
.app-shell .voice-card > span { font-size: 12.5px; }
.app-shell .more-count { font-size: 17.5px; }
.app-shell .voice-empty { font-size: 13.75px; }
:deep(.app-shell .chat-empty strong) { font-size: 15px; }
:deep(.app-shell .chat-empty span) { font-size: 12.5px; }
:deep(.app-shell .message-meta strong) { font-size: 13.75px; }
:deep(.app-shell .message-meta time) { font-size: 11.25px; }
:deep(.app-shell .message-bubble), :deep(.app-shell .message-composer input) { font-size: 15px; }
.app-shell .dock-user strong { font-size: 13.75px; }
.app-shell .dock-user span, .app-shell .mic-mode-switch button, .app-shell .ptt-indicator { font-size: 11.25px; }
.app-shell .member-panel-heading h2 { font-size: 23.75px; }
.app-shell .member-search input { font-size: 13.75px; }
.app-shell .member-channel-heading span { font-size: 15px; }
.app-shell .member-channel-heading small { font-size: 12.5px; }
.app-shell .member-copy strong { font-size: 12.5px; }
.app-shell .member-copy span, .app-shell .channel-no-members { font-size: 11.25px; }
.app-shell .member-empty, .app-shell .member-panel-tip { font-size: 12.5px; }
.settings-modal .settings-header h2 { font-size: 27.5px; }
.settings-modal .settings-section h3 { font-size: 20px; }
.settings-modal .settings-label, .settings-modal .settings-range-row strong, .settings-modal .settings-error { font-size: 12.5px; }
.settings-modal .settings-select { font-size: 13.75px; }
.settings-modal .mic-test-header strong { font-size: 13.75px; }
.settings-modal .mic-test-header button { font-size: 12.5px; }
.settings-modal .meter-labels { font-size: 10px; }
.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; }
.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); }.member-panel { display: none; } }
@media (max-width: 980px) { .app-shell { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(210px, 35dvh); }.workspace { height: auto; min-height: 0; }.member-panel { display: flex; border-top: 1px solid #eef2f0; border-left: 0; padding: 16px 18px; }.member-tree { margin-top: 10px; } }
@media (max-width: 740px) { .app-shell { display: grid; grid-template-rows: minmax(0, 1fr) 220px; }.app-shell .room-hero h1 { font-size: 27.5px; }.app-shell .room-hero p { font-size: 13.75px; }:deep(.app-shell .section-heading h2) { font-size: 21.25px; }:deep(.app-shell .message-bubble), :deep(.app-shell .message-composer input) { font-size: 13.75px; }.app-shell .mic-mode-switch button { font-size: 11.25px; }.settings-modal .settings-content { padding: 24px 20px; }.settings-modal .settings-header h2 { font-size: 23.75px; } }
/* Keep the connected workspace sized to the browser viewport and let the
workspace and member tree own their scroll areas when the window shrinks. */
: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; }
: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 { height: 100dvh; min-height: 0; 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); }
.member-panel { grid-column: 1; grid-row: 1; border-right: 1px solid #eef2f0; border-left: 0; }
.voice-avatar.speaking { box-shadow: 0 0 0 3px #90f691, 0 0 14px rgba(144,246,145,.48); }
.chat-panel { min-height: 0; }
: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; }
.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; gap: 7px; }
.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, .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; }
.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); }
.desktop-audio-dock-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; }
.desktop-audio-dock-copy strong { overflow: hidden; color: var(--text-primary); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.desktop-audio-dock-copy span { overflow: hidden; font-size: 10px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.desktop-audio-dock-actions { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }
.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; }
.dock-audio-button:hover, .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); }
.dock-audio-button.microphone-header-toggle.muted { color: var(--danger); background: color-mix(in srgb, var(--danger) 12%, var(--surface-1)); }
.dock-audio-button.muted { color: var(--danger); background: color-mix(in srgb, var(--danger) 12%, var(--surface-1)); }
.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; }
.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(.qq-button) { width: 32px; min-width: 32px; min-height: 32px; 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; }
.member-panel-heading { align-items: flex-end; }
.status-button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; color: #5f746c; background: #f2f7f5; border: 1px solid #e0ebe7; border-radius: 7px; font-size: 11px; cursor: pointer; }
.status-button:hover, .status-button.active { color: #8c653a; background: #fcf3e7; border-color: #f0dcc0; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #66d27a; }
.status-button.active .status-dot { background: #e0a34d; }
.member-row { position: relative; padding: 4px 6px; margin: -4px -6px; border-radius: 9px; transition: background .16s ease, box-shadow .16s ease; }
.member-row:hover, .member-row:focus-within { background: #edf7f4; box-shadow: 0 4px 12px rgba(20, 58, 51, .07); }
.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); }
.member-context-menu strong { padding: 4px 8px 7px; color: #2a3934; font-size: 12px; }
.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; }
.member-context-menu button:hover { color: #006a64; background: #edf6f3; }
.member-menu-submenu { position: relative; }
.member-menu-submenu-trigger { width: 100%; }
.member-menu-submenu-arrow { margin-left: auto; }
.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); }
.member-submenu-panel button { width: 100%; min-width: 0; }
.member-submenu-panel button:disabled { opacity: .55; cursor: default; }
.member-submenu-panel button span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member-submenu-panel button small { margin-left: auto; color: #83928c; font-size: 10px; white-space: nowrap; }
.member-submenu-empty { display: block; padding: 8px; color: #83928c; font-size: 11px; }
.member-menu-disabled { opacity: .55; cursor: not-allowed !important; }
.menu-volume { display: grid; gap: 6px; padding: 4px 8px 8px; color: #71817c; font-size: 10px; }
.menu-volume input { width: 100%; height: 5px; appearance: none; border-radius: 99px; outline: none; cursor: pointer; }
.menu-volume input::-webkit-slider-thumb { width: 14px; height: 14px; appearance: none; border: 2px solid #81d8d0; border-radius: 50%; background: #fff; cursor: pointer; }
.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; }
.audio-diagnostic, .audio-level-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; color: #7b8a85; font-size: 11px; }
.audio-diagnostic strong, .audio-level-row strong { color: #3c625b; font-size: 11px; }
.permission-denied { color: #b3514b !important; }
.permission-granted { color: #2d8547 !important; }
.audio-level-track { height: 7px; margin: 7px 0 17px; overflow: hidden; background: #e8efec; border-radius: 999px; }
.audio-level-track i { display: block; height: 100%; min-width: 0; background: linear-gradient(90deg, #69c8bb, #58d675); border-radius: inherit; transition: width .08s linear; }
.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; } }
@media (max-width: 740px) { .member-context-menu { left: 12px !important; right: 12px; top: auto !important; bottom: env(safe-area-inset-bottom, 0px); min-width: 0; border-radius: 16px 16px 0 0; padding: 14px; } .member-context-menu button { min-height: 42px; font-size: 13px; } .member-context-menu strong { padding: 4px 8px 11px; font-size: 14px; } .menu-volume { font-size: 12px; } }
@media (max-width: 740px) { .member-submenu-panel { position: static; min-width: 0; max-height: 190px; margin: 4px 0 0 24px; padding: 4px; border-radius: 10px; box-shadow: none; } .member-submenu-panel button { min-height: 42px; font-size: 13px; } }
/* M007 whisper target controls and M008 mobile navigation. */
.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; }
.whisper-strip-copy { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; }
.whisper-strip-copy strong { display: inline-flex; align-items: center; gap: 6px; color: #006a64; font-size: 12px; white-space: nowrap; }
.whisper-strip-copy span { overflow: hidden; color: #71837d; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.whisper-ptt-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 0 12px; color: #fff; background: #006a64; border-radius: 8px; font-size: 12px; font-weight: 700; cursor: pointer; touch-action: none; user-select: none; }
.whisper-ptt-button.active { background: #2f9d5c; box-shadow: 0 0 0 4px rgba(47,157,92,.16); }
.mobile-nav, .mobile-more-panel { display: none; }
: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; min-height: 100dvh; max-height: none; padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); overflow: visible; }
.app-shell .workspace { display: flex; flex: 1 1 auto; height: calc(100dvh - 61px); min-height: 0; }
.app-shell .workspace-scroll { flex: 1; height: 100%; min-height: 0; overflow-y: auto; }
:deep(.app-shell .mobile-section-hidden) { display: none; }
.app-shell.mobile-view-more .workspace { display: none; }
.app-shell .member-panel { display: none !important; order: 2; width: 100%; max-height: calc(100dvh - 142px); min-height: 235px; padding: 18px 15px 24px; border-top: 1px solid var(--border); border-right: 0; overflow: hidden; }
.app-shell .member-panel.mobile-section-visible { display: flex !important; }
.app-shell .member-panel .member-tree { max-height: none; }
.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; }
.whisper-strip { align-items: stretch; flex-wrap: wrap; gap: 8px; }
.whisper-strip-copy { width: 100%; flex: 1 0 100%; }
.whisper-ptt-button { flex: 1; min-height: 46px; }
.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) {
.join-content { overflow-y: auto; }
.app-shell { height: 100dvh; min-height: 0; max-height: 100dvh; padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.app-shell .workspace { height: auto; min-height: 0; flex: 1 1 auto; }
.app-shell.mobile-view-channels .workspace { display: none; }
.app-shell .member-panel.mobile-section-visible { flex: 1 1 auto; min-height: 0; max-height: none; }
.mobile-more-panel { min-height: 0; max-height: none; margin-bottom: 0; overflow-y: auto; }
}
/* 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, .voice-member-action, .member-action-button, .member-menu-backdrop { display: none; }
.microphone-header-toggle.muted { color: var(--danger); background: color-mix(in srgb, var(--danger) 12%, transparent); }
.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; }
.microphone-control .settings-label { margin-bottom: 4px; }
.microphone-control .settings-hint { max-width: 390px; margin: 0; }
.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; }
.microphone-toggle.muted { color: var(--danger); background: color-mix(in srgb, var(--danger) 13%, var(--surface-1)); }
.member-menu-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.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; }
.voice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.voice-card { position: relative; min-height: 136px; padding: 18px 8px 14px; border-radius: 16px; }
.voice-avatar-wrap, .voice-avatar { width: 60px; height: 60px; }
.voice-avatar-wrap { margin-bottom: 10px; }
.voice-avatar { font-size: 18px; }
.voice-status { width: 21px; height: 21px; }
.app-shell .voice-card > strong { max-width: 100%; font-size: 14px; }
.app-shell .voice-card > span { margin-top: 4px; font-size: 11px; }
.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; }
.voice-member-action:hover, .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; }
.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; }
.member-panel-heading { flex: 0 0 auto; }
.member-panel-heading h2 { font-size: 23px; }
.status-button { min-height: 34px; padding-inline: 10px; font-size: 12px; }
.member-search { flex: 0 0 auto; min-height: 44px; margin-top: 14px; padding: 0 12px; border-radius: 11px; }
.member-search input { font-size: 15px; }
.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; }
.member-channel-group { padding: 7px 0 12px; }
.member-channel-heading { min-height: 44px; padding: 0 9px; border-radius: 11px; font-size: 14px; }
.member-channel-heading small { font-size: 12px; }
.member-list { gap: 3px; margin-top: 5px; }
.member-row { min-height: 58px; margin: 0; padding: 7px 7px; gap: 9px; border-radius: 12px; }
.member-avatar { width: 40px; height: 40px; border-radius: 12px; font-size: 12px; }
.member-presence { width: 10px; height: 10px; }
.member-copy strong { font-size: 14px; }
.member-copy span { margin-top: 3px; font-size: 12px; }
.desktop-audio-dock, .member-flags, .member-volume, .member-panel-tip { display: none; }
.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; }
.member-action-button:hover, .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; }
.member-menu-backdrop { position: fixed; z-index: 39; inset: 0; display: block; background: rgba(13, 29, 26, .38); backdrop-filter: blur(2px); }
.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); padding: 12px; border-radius: 18px; box-shadow: 0 18px 42px rgba(13, 38, 33, .25); }
.member-menu-header strong { padding: 4px 8px 11px; font-size: 16px; }
.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; }
.member-context-menu button { min-height: 50px; padding: 8px 10px; border-radius: 10px; font-size: 14px; }
.member-context-menu .member-menu-close { min-height: 36px; }
.menu-volume { padding: 5px 8px 11px; font-size: 12px; }
.menu-volume input { height: 7px; }
.modal-backdrop { align-items: flex-end; padding: 0; }
.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; }
.settings-main { min-height: 0; overflow: hidden; }
.settings-header { min-height: 64px; padding-inline: 18px; }
.settings-content { min-height: 0; padding: 20px 18px; overflow-y: auto; }
.settings-footer { min-height: 68px; padding: 8px 18px calc(8px + env(safe-area-inset-bottom, 0px)); }
.settings-footer .save-button { min-height: 48px; }
.microphone-control { align-items: stretch; flex-direction: column; gap: 10px; }
.microphone-control .settings-hint { max-width: none; }
.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; }
}
.network-performance { position: relative; z-index: 8; }
.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; }
.performance-trigger:hover, .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)); }
.performance-trigger small { color: var(--text-muted); font-size: 10px; }
.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); }
.performance-panel header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.performance-panel header strong, .performance-panel header small { display: block; }
.performance-panel header strong { font-size: 13px; }
.performance-panel header small { max-width: 255px; margin-top: 4px; color: var(--text-muted); font-size: 10px; line-height: 1.45; }
.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; }
.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; }
.performance-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.performance-metrics article { min-width: 0; padding: 10px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 9px; }
.performance-metrics small, .performance-metrics strong, .performance-metrics span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.performance-metrics small { color: var(--text-muted); font-size: 9px; }
.performance-metrics strong { margin-top: 6px; color: var(--accent); font-size: 18px; }
.performance-metrics span { margin-top: 4px; color: var(--text-muted); font-size: 9px; }
.performance-status { margin: 11px 0 0; color: var(--text-muted); font-size: 10px; }
.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; }
.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); }
.voice-status-summary[data-health="active"] > i { background: #22a777; box-shadow: 0 0 0 3px color-mix(in srgb, #22a777 16%, transparent); }
.voice-status-summary[data-health="warning"] > i { background: #dc8b24; box-shadow: 0 0 0 3px color-mix(in srgb, #dc8b24 16%, transparent); }
.voice-status-summary[data-health="connecting"], .voice-status-summary[data-health="sampling"] { opacity: .82; }
.voice-status-summary > div { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.voice-status-summary strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.voice-status-summary small { overflow: hidden; color: var(--text-muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.voice-audio-metrics article { min-height: 104px; }
.voice-audio-metrics strong { font-size: 16px; }
.voice-audio-metrics span { white-space: normal; line-height: 1.45; }
.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; }
.voice-audio-details > span { min-width: 0; overflow-wrap: anywhere; }
.webrtc-stats { margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--border); }
.webrtc-stats > header { display: block; margin-bottom: 8px; }
.webrtc-stats > header strong, .webrtc-stats > header small { display: block; }
.webrtc-stats > header strong { font-size: 11px; }
.webrtc-stats > header small { margin-top: 3px; color: var(--text-muted); font-size: 9px; }
.webrtc-stats-capture, .webrtc-stats-peer { padding: 8px 9px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; }
.webrtc-stats-capture { display: flex; align-items: baseline; gap: 7px; margin-bottom: 7px; }
.webrtc-stats-capture span, .webrtc-stats-capture small, .webrtc-stats-peer-heading small, .webrtc-stats-detail { color: var(--text-muted); font-size: 9px; }
.webrtc-stats-capture strong { margin-left: auto; color: var(--accent); font-size: 11px; }
.webrtc-stats-peer + .webrtc-stats-peer { margin-top: 7px; }
.webrtc-stats-peer-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.webrtc-stats-peer-heading strong { font-size: 10px; }
.webrtc-stats-peer-heading small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.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; }
.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 .join-page .card-kicker,
.web-client.language-de .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) {
.performance-trigger { width: 36px; height: 36px; min-height: 36px; justify-content: center; padding: 0; }
.performance-trigger-label, .performance-trigger small, .performance-trigger > .ui-icon:last-child { display: none; }
.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) {
.performance-trigger { width: 32px; height: 32px; flex-basis: 32px; }
.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 补偿原占位,避免消息列表被遮挡。 */
.app-shell .member-panel { position: relative; overflow: visible; padding-bottom: calc(18px + 12px + 52px); }
.desktop-audio-dock { position: absolute; z-index: 6; left: 18px; right: 18px; bottom: 18px; margin-top: 0; }
.app-shell .chat-panel { position: relative; padding-bottom: calc(16px + 48px); }
:deep(.app-shell .message-composer) { position: absolute; z-index: 3; left: 0; right: 0; bottom: 16px; margin-bottom: 0; }
}
.dock-hover-control { position: relative; flex: 0 0 34px; }
.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;
}
.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); }
.dock-hover-control:hover .dock-hover-panel,
.dock-hover-control:focus-within .dock-hover-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(50%, 0); }
.dock-microphone-panel { width: min(246px, calc(100vw - 32px)); }
.dock-slider-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dock-slider-heading span { min-width: 0; overflow: hidden; color: var(--text-muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.dock-slider-heading strong { flex: 0 0 auto; color: var(--accent); font-size: 11px; }
.dock-slider { width: 100%; height: 5px; margin: 11px 0 1px; appearance: none; border-radius: 999px; outline: none; cursor: pointer; }
.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; }
.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; }
.dock-panel-divider { height: 1px; margin: 12px 0; background: var(--border); }
.dock-switch-row, .mobile-noise-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; }
.dock-switch-row > span, .mobile-noise-toggle > span { min-width: 0; }
.dock-switch-row strong, .mobile-noise-toggle strong { display: block; color: var(--text-primary); font-size: 11px; }
.mobile-noise-toggle { margin-bottom: 18px; padding: 12px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 11px; }
.mobile-noise-toggle small { display: block; margin-top: 3px; color: var(--text-muted); font-size: 10px; line-height: 1.4; }
.dock-switch-row input, .mobile-noise-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; }
.dock-switch-row input::before, .mobile-noise-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; }
.dock-switch-row input:checked, .mobile-noise-toggle input:checked { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 72%, var(--surface-2)); }
.dock-switch-row input:checked::before, .mobile-noise-toggle input:checked::before { background: var(--surface-1); transform: translateX(14px); }
.dock-switch-row input:focus-visible, .mobile-noise-toggle input:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 2px; }
.member-row[draggable="true"] { cursor: grab; touch-action: none; }
.member-row[draggable="true"]:active { cursor: grabbing; }
.member-row.dragging { opacity: .45; }
.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); }
.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) {
.dock-hover-panel, .dock-switch-row input, .mobile-noise-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; }
.screen-share-avatar-wrap { position: relative; overflow: visible; }
.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%); }
.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; }
.screen-share-wave { display: inline-flex; align-items: center; gap: 1px; height: 14px; color: #55d3bd; }
.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; }
.screen-share-wave i:nth-child(2n) { animation-delay: -.18s; }
.screen-share-wave i:nth-child(3n) { animation-delay: -.42s; }
.screen-share-wave i:nth-child(4n) { animation-delay: -.66s; }
.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; }
.screen-share-stop-button:hover { color: #fff; border-color: var(--danger); background: var(--danger); }
.screen-share-stop-button:focus-visible { outline: 3px solid color-mix(in srgb, var(--danger) 42%, transparent); outline-offset: 2px; }
.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; }
.screen-share-start-actions { display: inline-flex; align-items: stretch; justify-content: center; gap: 4px; width: 100%; min-width: 0; }
.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; }
.screen-share-card-button:hover { background: color-mix(in srgb, var(--accent) 15%, var(--surface-1)); }
.screen-share-card-button.live { color: #0e8c76; background: color-mix(in srgb, #b6f0d5 55%, var(--surface-1)); }
.screen-share-card-button.viewing { color: #fff; border-color: var(--accent); background: var(--accent); }
.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; }
.screen-share-settings-button:hover, .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)); }
.screen-share-settings-backdrop { z-index: 25; align-items: center; padding: 16px; }
.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); }
.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; }
.screen-share-settings-close:hover { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
.screen-share-settings-heading { padding-right: 35px; }
.screen-share-settings-heading h2 { margin: 5px 0 4px; color: var(--text-primary); font-size: 20px; letter-spacing: -.04em; }
.screen-share-settings-heading p { margin: 0; color: var(--text-muted); font-size: 10px; line-height: 1.45; }
.screen-share-settings-fields { display: grid; gap: 13px; margin-top: 22px; }
.screen-share-settings-fields label { display: grid; gap: 6px; min-width: 0; color: var(--text-muted); font-size: 10px; }
.screen-share-settings-fields label span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.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; }
.screen-share-settings-fields select:focus-visible { outline: 2px solid color-mix(in srgb, var(--accent) 48%, transparent); outline-offset: 1px; }
.screen-share-settings-note { margin: 15px 0 0; color: var(--text-muted); font-size: 9px; line-height: 1.45; }
.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); }
.screen-share-settings-start { min-height: 35px; padding: 0 12px; font-size: 10px; }
.screen-share-player { position: relative; 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); }
.screen-share-player-stage { position: relative; display: grid; width: 100%; min-height: 245px; aspect-ratio: 16 / 9; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--accent) 12%, var(--surface-1)), var(--surface-2) 74%); }
.screen-share-player-video { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--surface-2); }
.screen-share-player-placeholder { display: flex; align-items: center; flex-direction: column; gap: 10px; max-width: 360px; padding: 30px; color: var(--text-muted); text-align: center; }
.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); }
.screen-share-player-placeholder strong { color: var(--text-primary); font-size: 15px; }
.screen-share-player-placeholder > span:last-child { color: var(--text-muted); font-size: 10px; line-height: 1.5; }
.screen-share-player-exit, .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; }
.screen-share-player-exit { position: absolute; top: 15px; left: 15px; z-index: 3; }
.screen-share-player-exit:hover, .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)); }
.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); }
.screen-share-player-viewer-label { display: inline-flex; align-items: center; gap: 5px; color: inherit; font-size: 10px; font-weight: 700; white-space: nowrap; }
.screen-share-player-viewer-avatars { display: inline-flex; align-items: center; padding-left: 4px; }
.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); }
.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; }
.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; }
.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; }
.screen-share-player-controls { position: absolute; right: 15px; bottom: 15px; z-index: 3; display: flex; align-items: center; gap: 9px; }
.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); }
.screen-share-player-controls input { width: 102px; height: 4px; accent-color: #69d2c7; cursor: pointer; }
.screen-share-player:fullscreen { width: 100vw; height: 100vh; border: 0; border-radius: 0; background: var(--surface-0); }
.screen-share-player:fullscreen .screen-share-player-stage { height: 100%; max-height: none; aspect-ratio: auto; }
.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) {
.screen-share-live-indicator { top: -14px; font-size: 7px; }
.screen-share-card-button { font-size: 8px; }
.screen-share-player { margin-top: 14px; border-radius: 14px; }
.screen-share-player-stage { min-height: 210px; }
.screen-share-player-viewers { top: 10px; right: 10px; }
.screen-share-player-live { top: 19px; left: 57px; }
.screen-share-player-source { bottom: 12px; left: 12px; max-width: 40%; }
.screen-share-player-controls { right: 10px; bottom: 10px; gap: 6px; }
.screen-share-player-controls label { padding-inline: 9px; }
.screen-share-player-controls input { width: 70px; }
.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) {
.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. */
.app-shell .member-panel {
position: relative;
}
.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;
}
.app-shell .member-panel-heading,
.app-shell .member-search,
.app-shell .member-tree,
.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) {
.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; }
}