## Problem and outcome This phase adds consented remote co-play to normal App/Web rooms and integrates the accepted audio, playback, participant-state and multi-site improvements. It also rebuilds the bilingual README/documentation reading path, refreshes real-component illustrations, and publishes the selected website film. The candidate preserves the established 2.x sharing/viewing contracts. Optional new behavior follows negotiated capabilities; Windows gamepads use an externally installed driver. The separate accompaniment experiment and unselected film studies are outside this phase. ## Release notes **Play together. Your turn!** Approved friends can now play together with shared keyboard and mouse controls or optional gamepads. **远程同乐,轮到你啦!** 获准的朋友现在可以共用键鼠,或使用可选手柄,一起玩本地多人游戏。 ### English Piik 2.4 adds remote co-play, improves shared sound and room controls, and rewrites the bilingual getting-started and help guides around what you want to do. #### Highlights - Let approved friends control together. Each player's held keys and gamepad retire independently; everyone shares the Host's mouse pointer. On Windows x64, optional virtual gamepads use a Host-installed ViGEmBus driver. Piik does not bundle or install it. - Control shared output volume from the Host's playback bar. The optional share microphone adds your voice to the picture, independently of room voice; stopping the share leaves room voice running. Room voice now defaults to 64 kbps and offers a Host bitrate control. - See voice and remote-control participation directly on the couch. Connection details group picture and voice by receive/send direction. Playback actions, chat-overlay settings and dismissible operation feedback have clearer, consistent places. - Approve several Piik sites in App and manage each separately, with one optional startup favorite. - Follow rewritten English and Chinese README and documentation paths: watching, starting a share, room tools, remote control/co-play, and symptom-based help. Illustrated guides use current product components, theme-aware screenshots and shared diagrams. A dedicated network guide covers campus networks, media UDP, SFU sites and optional virtual LANs. - The website has clearer App and co-play FAQs and the selected bilingual 64-second film, with shared playback controls and a held closing card. #### Fixes - Tolerate small macOS capture-crop rounding errors without accepting genuinely invalid geometry. - Keep shared-audio and microphone volume changes independent, preserve commentary through source replacement, and retire each input at its owning lifecycle boundary. - Improve narrow-player controls, touch-held volume menus, tooltip placement and feedback cleanup after reconnection. - Repair the release recovery test on macOS and refresh the build and tunnel runtimes. #### Updating and limits Update the Host's App and the room site, then refresh open pages to use the new features. Established sharing and viewing remain compatible within 2.x; older peers retain the features they support. The wire versions and SQLite schema are unchanged. Restarting App or Server interrupts active sessions. Before downgrading App, remove extra approved sites in the newer launcher so at most one remains. Use the [remote-control guide](https://piik.tv/docs/remote-control.html?lang=en) for the optional Windows driver. Linux gamepads remain experimental; macOS virtual gamepads are not currently available. Windows 10 window-sharing black screens ([#495](https://github.com/TNTcraftHIM/Piik/issues/495)) remain under investigation; use screen sharing if affected. ### 中文 Piik 2.4 新增多人远程同乐,改进分享声音与房间控制,并围绕实际任务重写双语上手教程和帮助文档。 #### 主要更新 - 允许获准的朋友同时控制。各人的按键持有和手柄独立释放,大家共用房主的鼠标指针。Windows x64 可使用房主自行安装的 ViGEmBus 驱动提供虚拟手柄;Piik 不捆绑或安装驱动。 - 房主可通过播控调整分享输出音量。可选的分享麦克风把说话声加入画面,与房间语音独立;停播后房间语音继续。房间语音默认提升至 64 kbps,并提供房主码率设置。 - 沙发人物直接呈现语音和远控参与状态;连接详情按画面/语音、接收/发送分组。播放操作、弹幕设置和可关闭的操作提示各有清楚、一致的位置。 - App 可授权多个 Piik 站点,逐个管理,并选择一个启动时打开的星标站点。 - 重写中英文 README 和文档中心:从观看、开始分享、房间工具、远控/同乐到按症状排障。图文教程使用当前正式组件、明暗主题截图与同源示意图;独立网络指南说明校园网、媒体 UDP、SFU 站点和可选虚拟局域网的用法。 - 官网改进 App 与多人同乐 FAQ,采用选定的双语 64 秒短片,复用产品播控并保留结尾品牌卡。 #### 修复 - 容忍 macOS 采集裁剪中的微小舍入误差,仍拒绝真正无效的画面边界。 - 分享总音量与麦克风音量分别更新;换源保留解说,各项输入按所属生命周期释放。 - 改进窄屏播控、触摸长按音量菜单、提示定位,以及重连后的提示清理。 - 修复 macOS 上发布恢复测试的可移植性,更新构建与公网隧道运行组件。 #### 更新与限制 将房主 App 和房间站点更新后,刷新已打开的页面,即可使用新功能。2.x 内保留已有分享与观看兼容性,旧端继续使用其支持的功能;协议版本和 SQLite schema 不变。重启 App 或 Server 会中断当前会话。 如需降级 App,先在新版启动页删除额外授权,最多保留一个站点。可选的 Windows 驱动安装方法见[远控指南](https://piik.tv/docs/zh/remote-control.html)。Linux 手柄仍属实验能力,macOS 当前暂不提供虚拟手柄。Windows 10 窗口分享黑屏而整屏正常的反馈([#495](https://github.com/TNTcraftHIM/Piik/issues/495))仍在调查,本版不声称已修复。 ## Verification - Integrated Web typecheck, 98 test files / 1,734 tests and production build passed. Later scoped UI repairs passed focused typecheck/tests and preview checks. - Focused Go checks cover input grant/held-state ownership, delayed device retirement, native control/Host, config/launcher/loopback, voice negotiation and source-volume binding. Windows capture compilation/probe and the isolated Linux uinput kernel gate passed. - Normal-page P2P (22 checks) and embedded-SFU (19 checks) gates passed. P2P explicitly exercised source commentary with room voice, independent shutdown, share retirement and the next share's default-off state; SFU also covers live voice bitrate and voice recovery. - Documentation links (108 Markdown files), generated-diagram freshness, the complete bilingual/theme screenshot pipeline and website production build passed. Website/readers were checked at 320, 768 and 1440 px with both languages/themes. - macOS crop logic retains geometric self-tests; this Windows environment did not repeat a macOS SDK/hardware run. Linux desktop/game recognition and macOS virtual-gamepad entitlement/runtime remain explicit limits. - Windows native window-sharing acceptance passed: Host/Viewer decoding, live and paused quality changes, resize/minimize/restore, source replacement, stop and restart. Capturing the Host Chrome window also passed with Auto/H.264 and VP8, including decoded-frame and pixel checks. The Windows 10 case in #495 was not reproduced and remains separate. - Current Go serializers passed the published v2.0.0/v2.3.0 TypeScript readers; existing native input opt-in checks passed. This checks payload compatibility, not an end-to-end run of old published clients. ## Impact Compatible 2.x feature release; Browser/server v24, Native control v10, capture v7 and SQLite schema 2 remain unchanged. New co-play, presence, voice settings and native volume behavior are capability-negotiated. Multi-site App settings retain the older single-site reader path; arbitrary binary downgrade is not promised. No independent room/router, new NAT policy, driver installer or separate accompaniment channel is introduced. ## Related work Includes the macOS crop correction reported in #492 and the macOS deployment-test portability contribution from #496. Supersedes the incomplete phase PR #494. #495 remains open. ## Attribution Co-authored-by: Yuqing Huang <670081066@qq.com> Co-authored-by: luol75569-collab <297886760+luol75569-collab@users.noreply.github.com>
335 lines
24 KiB
CSS
335 lines
24 KiB
CSS
@import "../src/client/ui/palette.css";
|
||
@import "../src/client/components/living/button.css";
|
||
@import "../src/client/components/living/segmented-control.css";
|
||
@import "../src/client/ui/glyph.css";
|
||
|
||
:root {
|
||
color-scheme: light;
|
||
--orange: #e4572e;
|
||
--soft-orange: #f7e5cc;
|
||
--drawing: #22303e;
|
||
--art-mint: #c4e3ce;
|
||
--art-paper: #fffdf4;
|
||
--art-blue: #a2c8e8;
|
||
--art-yellow: #f5d37a;
|
||
--art-orange: #ee8955;
|
||
--art-pink: #e9b1bb;
|
||
--couch: #e9ad63;
|
||
--couch-dark: #cd8845;
|
||
--comic-beat: 3.2s;
|
||
}
|
||
@media (prefers-color-scheme: dark) {
|
||
:root:not([data-theme="light"]) { color-scheme: dark; --wall: var(--piik-dark-wall); --paper: var(--piik-dark-paper); --ink: var(--piik-dark-ink); --wall-2: var(--piik-dark-wall-2); --control-hover: var(--piik-dark-hover); --action: var(--piik-dark-action); --action-deep: var(--piik-dark-action); --action-ink: var(--piik-dark-action-ink); --action-text: var(--piik-dark-action-text); --control-selected: var(--piik-dark-selected); --control-selected-ink: var(--piik-dark-selected-ink); --orange: #f28d66; --soft-orange: #3d342c; }
|
||
}
|
||
:root[data-theme="dark"] { color-scheme: dark; --orange: #f28d66; --soft-orange: #3d342c; }
|
||
* { box-sizing: border-box; }
|
||
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
|
||
body { margin: 0; background: var(--wall); color: var(--ink); font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; -webkit-font-smoothing: antialiased; }
|
||
html[lang="en"] [lang="zh-CN"]:not([data-language]),
|
||
html[lang="zh-CN"] [lang="en"]:not([data-language]) { display: none; }
|
||
[hidden] { display: none !important; }
|
||
::selection { background: var(--art-yellow); color: var(--drawing); }
|
||
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
|
||
button, select { font: inherit; color: inherit; }
|
||
button, select, summary { cursor: pointer; }
|
||
button { background: none; }
|
||
button, a, select, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
|
||
:focus-visible { outline: 3px solid var(--action); outline-offset: 5px; }
|
||
h1, h2, h3, p { margin: 0; }
|
||
h1, h2, h3 { text-wrap: balance; }
|
||
.phrase { display: inline-block; }
|
||
h1, h2 { font-weight: 750; letter-spacing: -.055em; }
|
||
p { text-wrap: pretty; }
|
||
svg { display: block; }
|
||
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
|
||
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
|
||
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
|
||
.skip-link { position: absolute; left: 20px; top: -80px; z-index: 5; background: var(--ink); color: var(--paper); padding: 10px 20px; border-radius: 8px; }
|
||
.skip-link:focus { top: 12px; }
|
||
.site-header { min-height: 100px; display: flex; align-items: center; gap: 32px; border-bottom: 1px solid var(--line); }
|
||
.site-header nav { display: flex; flex-wrap: wrap; column-gap: 25px; margin-left: auto; }
|
||
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; text-decoration: none; }
|
||
.site-header nav a:is(:hover, :focus-visible), .footer-links a:is(:hover, :focus-visible) { color: var(--action-text); }
|
||
.preferences { display: flex; align-items: center; flex: none; gap: 10px; border-left: 1px solid var(--line); padding-left: 24px; }
|
||
.preferences .lr-lang { --lr-segments: 2; }
|
||
.hero { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: 18px; padding-block: 76px 77px; }
|
||
.hero-copy { position: relative; z-index: 1; min-width: 0; padding-bottom: 9px; }
|
||
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--action-text); font-size: 11px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
|
||
.status-dot { width: 7px; height: 7px; flex: none; border-radius: 100%; background: var(--action-text); box-shadow: 0 0 0 4px color-mix(in srgb, var(--action-text) 10%, transparent); }
|
||
h1 { font-size: clamp(49px, 5.7vw, 76px); line-height: 1.06; margin-block: 22px 23px; }
|
||
.highlight { position: relative; white-space: nowrap; }
|
||
.highlight::after { content: ""; position: absolute; left: 1px; right: -2px; bottom: -5px; height: 6px; background: var(--orange); border-radius: 50%; transform: rotate(-2deg); }
|
||
.hero-description { font-size: 18px; line-height: 1.8; color: var(--muted); margin-bottom: 28px; }
|
||
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; }
|
||
.text-link { display: inline-block; padding-block: 12px; font-size: 13px; font-weight: 650; }
|
||
.button { display: inline-flex; gap: 29px; height: auto; min-height: 54px; padding: 12px 25px; font-size: 14px; font-weight: 700; }
|
||
.button svg { width: 22px; height: 22px; }
|
||
.hero-note { color: var(--muted); font-size: 12px; line-height: 1.7; margin-top: 18px; }
|
||
.film-actions { display:flex; align-items:center; flex-wrap:wrap; gap:0 20px; margin-top:18px; }
|
||
.film-link { display:inline-flex; align-items:center; gap:10px; min-height:44px; text-decoration:none; font-size:12px; font-weight:650; }
|
||
.film-play { display:grid; place-items:center; width:33px; height:33px; border-radius:50%; color:var(--orange); background:var(--paper); transition:transform .22s cubic-bezier(.2,.9,.3,1.4); }
|
||
.film-play svg { width:23px; height:23px; }
|
||
.film-link:is(:hover,:focus-visible) .film-play { transform:scale(1.12); }
|
||
.film-length { color:var(--muted); font-size:10px; font-weight:400; padding-left:4px; }
|
||
.film-preview { container-type:inline-size; margin-bottom:36px; }
|
||
.film-preview > summary { justify-content:flex-start; padding:14px 0; }
|
||
.film-preview > summary::after { content:none; }
|
||
.film-collapse { margin-left:auto; font-size:12px; color:var(--muted); }
|
||
.film-preview iframe { display:block; width:100%; aspect-ratio:16 / 9; height:auto; border:0; border-radius:16px; overflow:hidden; }
|
||
.download-help { margin-top:22px; text-align:center; }
|
||
.download-help > .button { margin-bottom:14px; }
|
||
.download-help p { max-width:760px; margin:6px auto 0; color:var(--muted); font-size:13px; }
|
||
.hero-scene { min-width: 0; }
|
||
.living-room { display: block; width: 108%; height: auto; max-width: none; margin-left: -5%; }
|
||
.scene-caption { display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); margin-top: 2px; }
|
||
.scene-caption p { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||
.caption-line { flex: none; width: 23px; height: 1px; background: var(--orange); transform: rotate(-6deg); }
|
||
.how-section { padding-block: 67px 63px; background: var(--paper); border-block: 1px solid var(--line); }
|
||
.section-heading { text-align: center; }
|
||
.section-heading .eyebrow { justify-content: center; }
|
||
h2 { font-size: clamp(30px, 3.25vw, 42px); line-height: 1.2; margin-top: 12px; }
|
||
.section-heading > p:not(.eyebrow) { color: var(--muted); margin-top: 16px; font-size: 15px; }
|
||
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 49px; margin: 42px 0 0; padding: 0; list-style: none; }
|
||
.steps li { position: relative; }
|
||
.steps li:not(:last-child)::after { position: absolute; content: "↗"; top: 49px; right: -34px; font-size: 27px; font-weight: 350; color: var(--muted); transform: rotate(28deg); }
|
||
.step-art { position: relative; display: block; width: 100%; height: 126px; padding: 0; border: 0; border-radius: 12px; margin-bottom: 15px; }
|
||
.step-art svg { width: 100%; height: 100%; }
|
||
.step-art:disabled { cursor: default; }
|
||
.art-replay { position: absolute; right: max(0px, calc(50% - 100px)); bottom: 0; color: var(--muted); font-size: 18px; }
|
||
.step-art:disabled .art-replay { display: none; }
|
||
.steps li:is(:hover, :focus-within) .art-replay { color: var(--action-text); }
|
||
.step-number { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--action-text); margin-bottom: 8px; }
|
||
.step-number span { color: var(--line); margin-left: 5px; }
|
||
h3 { font-size: 21px; font-weight: 700; letter-spacing: -.03em; line-height: 1.35; }
|
||
.steps li > p:last-child { margin-top: 12px; font-size: 14px; line-height: 1.75; color: var(--muted); }
|
||
.download-section { padding-block: 76px 60px; }
|
||
.download-release { display: inline-flex; max-width: 100%; flex-direction: column; align-items: center; gap: 5px; margin-top: 20px; color: var(--muted); font-size: 12px; text-decoration: none; }
|
||
.download-headline { max-width: 40em; text-wrap: balance; overflow-wrap: anywhere; }
|
||
.download-headline [lang] { display: flex; flex-direction: column; gap: 5px; }
|
||
.download-headline strong { color: var(--ink); font-size: 17px; font-weight: 650; }
|
||
.download-headline [lang] > span { color: var(--muted); font-size: 13px; line-height: 1.6; }
|
||
.download-release-meta, #download-release:not([hidden]) { display: inline-flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
|
||
#download-release > span, #download-release time { white-space: nowrap; }
|
||
#download-release b { color: var(--ink); font-weight: 650; }
|
||
.download-release-action { text-decoration: underline; text-underline-offset: 4px; }
|
||
.download-release:is(:hover, :focus-visible) .download-release-action { color: var(--action-text); }
|
||
.download-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
|
||
.download-card { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; justify-items: start; align-items: start; padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 4px 0 color-mix(in srgb, var(--line) 40%, transparent); }
|
||
.platform-mark { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 16px; background: var(--wall); }
|
||
.platform-mark svg { width: 30px; height: 30px; }
|
||
.download-card h3 { font-size: 25px; }
|
||
.download-card > p { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.8; }
|
||
.download-architecture { --selection-item-size: var(--control-dense-size); --control-border-width: 1px; min-width: 0; max-width: 100%; margin: 16px 0 20px; border-color: var(--line); border-radius: 24px; background: var(--wall); box-shadow: none; }
|
||
.download-architecture::before { border-radius: 18px; }
|
||
.download-architecture label > span { height: 100%; padding: 6px 12px; border-radius: 18px; font-size: 12px; }
|
||
.download-architecture:disabled { border-color: transparent; background: transparent; padding-inline: 0; }
|
||
.download-architecture:disabled label > span { padding-inline: 0; border-color: transparent; background: transparent; color: var(--muted); box-shadow: none; }
|
||
.download-button { width: 100%; gap: 10px; padding: 12px 15px; border-width: 1.5px; min-height: 48px; font-size: 13px; }
|
||
.download-button svg { flex: none; width: 20px; height: 20px; }
|
||
.download-card > a:not(.button) { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font-size: 12px; }
|
||
.start-section { padding-block: 45px 67px; }
|
||
.guide-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin: 28px 0; }
|
||
.guide-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 13px; font-weight: 650; }
|
||
.guide-links a:is(:hover, :focus-visible) { border-color: var(--action-text); color: var(--action-text); }
|
||
.guide { margin-top: 15px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); }
|
||
.guide > summary { padding: 24px 28px; border-radius: 24px; }
|
||
.guide-number { display: grid; place-items: center; flex: none; width: 39px; height: 39px; border: 1px solid var(--line); border-radius: 13px; font-size: 12px; font-weight: 750; color: var(--action-text); }
|
||
.guide-heading { flex: 1; font-size: 21px; }
|
||
.guide-heading small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 400; }
|
||
.guide-body { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 38px; padding: 5px 30px 30px; }
|
||
.guide-steps { margin: 0; padding-left: 25px; }
|
||
.guide-steps > li { padding-left: 8px; margin-bottom: 23px; font-size: 14px; line-height: 1.8; }
|
||
.guide-steps > li:last-child { margin-bottom: 0; }
|
||
.guide-steps > li::marker { color: var(--action-text); font-size: 12px; font-weight: 750; }
|
||
.guide-steps strong { font-weight: 700; }
|
||
.guide-body p { max-width: none; margin: 6px 0 0; padding: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }
|
||
.guide-note { align-self: start; min-width: 0; padding: 23px; border: 1px solid var(--line); border-radius: 18px; background: var(--wall); }
|
||
.guide-note h3 { font-size: 16px; }
|
||
.guide-note p + p { margin-top: 15px; }
|
||
.guide-note > a:not(.button) { display: block; padding-block: 12px 0; font-size: 13px; }
|
||
.guide-note .download-button { margin-top: 22px; }
|
||
.launch-files { margin: 12px 0 0; padding: 12px 16px; border-left: 2px solid var(--line); font-size: 13px; }
|
||
.launch-files div { display: flex; flex-wrap: wrap; gap: 4px 12px; }
|
||
.launch-files dt { min-width: 65px; font-weight: 650; }
|
||
.launch-files dd { margin: 0; }
|
||
.guide code { overflow-wrap: anywhere; font: .95em ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; }
|
||
.watch-guide { display: flex; gap: 24px; margin-top: 28px; padding: 28px; border: 1px solid var(--line); border-radius: 24px; }
|
||
.watch-guide > svg { flex: none; width: 42px; height: 42px; color: var(--action-text); }
|
||
.watch-guide ol { padding-left: 20px; margin-block: 15px; font-size: 14px; line-height: 1.8; }
|
||
.watch-guide p { max-width: 820px; color: var(--muted); font-size: 13px; line-height: 1.85; }
|
||
.modes { margin: 15px 0 20px; font-size: 14px; }
|
||
.modes div + div { margin-top: 10px; }
|
||
.modes dt { font-weight: 700; }
|
||
.modes dd { color: var(--muted); margin: 2px 0 0; font-size: 13px; }
|
||
.faq-section { display: grid; grid-template-columns: 1fr 1.9fr; gap: 55px; border-top: 1px solid var(--line); padding-block: 61px 71px; }
|
||
.faq-intro h2 { margin-top: 15px; }
|
||
.faq-tv { width: 76px; height: 76px; margin-top: 30px; transform: rotate(-7deg); color: var(--action-text); }
|
||
.questions details { border-bottom: 1px solid var(--line); }
|
||
.questions details:first-child { border-top: 1px solid var(--line); }
|
||
.faq-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; margin-top: 22px; color: var(--muted); font-size: 14px; }
|
||
.faq-more > section { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; }
|
||
.faq-more h3 { color: var(--ink); font-size: 15px; font-weight: 650; }
|
||
.faq-more a { margin-top: auto; color: var(--ink); }
|
||
summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 0; font-size: 15px; font-weight: 650; list-style: none; }
|
||
summary::-webkit-details-marker { display: none; }
|
||
summary::after { content: "+"; flex: none; width: 22px; font-size: 21px; font-weight: 400; text-align: center; color: var(--action-text); }
|
||
details[open] > summary::after { content: "−"; }
|
||
details p { max-width: 610px; padding: 0 24px 23px 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
|
||
.project-note { display: flex; align-items: flex-start; gap: 30px; padding: 32px 36px; background: var(--soft-orange); border: 1px solid color-mix(in srgb, var(--orange) 30%, var(--line)); border-radius: 18px; }
|
||
.project-tv { width: 62px; height: 62px; flex: none; color: var(--action-text); }
|
||
.project-content { flex: 1; min-width: 0; }
|
||
.project-note h2 { margin: 0; font-size: clamp(23px, 2.2vw, 29px); letter-spacing: -.035em; }
|
||
.project-note p { max-width: 790px; margin-block: 12px; color: var(--muted); font-size: 14px; }
|
||
.project-note a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 6px; font-size: 14px; font-weight: 650; }
|
||
.project-note a:is(:hover, :focus-visible) { color: var(--action-text); }
|
||
.project-note .eyebrow { margin: 0 0 8px; font-size: 11px; }
|
||
.docs-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 22px 0; padding: 18px 0 0; border-top: 1px solid color-mix(in srgb, var(--orange) 30%, var(--line)); list-style: none; }
|
||
.docs-links p { margin: 0; font-size: 13px; }
|
||
.project-note .docs-note { margin-bottom: 0; font-size: 12px; }
|
||
.site-footer { display: flex; align-items: center; flex-wrap: wrap; column-gap: 20px; padding-block: 48px 29px; }
|
||
.footer-identity { display: flex; gap: 8px; font-size: 21px; font-weight: 750; letter-spacing: -.035em; }
|
||
.footer-identity svg { width: 28px; height: 28px; }
|
||
.footer-identity p { color: var(--muted); margin-left: 12px; font-size: 11px; font-weight: 400; letter-spacing: 0; }
|
||
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; margin-left: auto; font-size: 12px; }
|
||
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
|
||
.display-settings { flex-basis: 100%; text-align: right; }
|
||
.display-settings > summary { justify-content: flex-end; gap: 8px; min-height: 44px; padding: 0; font-size: 12px; font-weight: 400; }
|
||
.display-settings label { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-height: 44px; font-size: 12px; }
|
||
.display-settings input { accent-color: var(--action-text); width: 16px; height: 16px; margin: 0; }
|
||
.display-settings p { max-width: none; padding: 0; font-size: 12px; }
|
||
.footer-note { flex-basis: 100%; text-align: right; margin-top: 9px; color: var(--muted); font-size: 11px; }
|
||
html[lang="zh-CN"] h1 { font-size: clamp(45px, 5.4vw, 72px); line-height: 1.24; letter-spacing: -.03em; }
|
||
html[lang="zh-CN"] :is(h2, h3) { letter-spacing: -.025em; }
|
||
html[lang="zh-CN"] .eyebrow { letter-spacing: .13em; }
|
||
@media (min-width: 1450px) { .hero { padding-block: 90px; } }
|
||
@media (max-width: 1000px) {
|
||
.wrap { width: calc(100% - 56px); }
|
||
.site-header { gap: 23px; }
|
||
.site-header nav { gap: 20px; }
|
||
.preferences { padding-left: 18px; }
|
||
.hero { gap: 7px; padding-block: 59px 65px; }
|
||
h1 { font-size: 56px; }
|
||
.hero-description { font-size: 16px; }
|
||
.hero-note { max-width: 290px; }
|
||
.steps { gap: 30px; }
|
||
.steps li:not(:last-child)::after { right: -23px; }
|
||
h3 { font-size: 19px; }
|
||
.download-card { padding: 24px 20px; }
|
||
.guide-body { gap: 24px; }
|
||
.footer-identity p { display: none; }
|
||
}
|
||
@media (max-width: 900px) {
|
||
.download-cards { grid-template-columns: 1fr; max-width: 500px; margin-inline: auto; gap: 15px; }
|
||
.guide-body { grid-template-columns: 1fr; }
|
||
}
|
||
@media (max-width: 740px) {
|
||
.wrap { width: calc(100% - 40px); }
|
||
.site-header { min-height: 83px; gap: 0 14px; flex-wrap:wrap; padding-top:12px; }
|
||
.site-header nav { order:3; flex-basis:100%; justify-content:space-between; gap:0 12px; }
|
||
.site-header nav a { font-size:12px; }
|
||
.preferences { margin-left: auto; border-left: 0; padding-left: 0; gap: 10px; }
|
||
.hero { grid-template-columns: 1fr; gap: 0; padding-block: 44px 35px; }
|
||
.hero-copy { text-align: center; }
|
||
.hero .eyebrow { justify-content: center; font-size: 10px; }
|
||
h1 { margin-block: 22px; font-size: clamp(47px, 10.2vw, 68px); }
|
||
html[lang="zh-CN"] h1 { font-size: clamp(43px, 9.5vw, 64px); }
|
||
.hero-description { font-size: 16px; }
|
||
.hero-actions { justify-content: center; gap: 10px 22px; }
|
||
.hero-note { max-width: none; font-size: 11px; margin-top: 15px; }
|
||
.hero-scene { width: min(550px, 100%); margin: 24px auto 0; }
|
||
.living-room { width: 100%; margin-left: 0; }
|
||
.scene-caption { font-size: 11px; margin-top: 8px; }
|
||
.how-section { padding-block: 45px; }
|
||
h2 { font-size: 30px; }
|
||
html[lang="zh-CN"] .how-section h2 { font-size: clamp(23px, 6.7vw, 30px); }
|
||
.section-heading .eyebrow { font-size: 10px; }
|
||
.steps { grid-template-columns: 1fr; gap: 30px; max-width: 500px; margin: 36px auto 0; }
|
||
.steps li { display: grid; grid-template-columns: 128px 1fr; grid-template-rows: auto auto 1fr; column-gap: 15px; }
|
||
.step-art { height: auto; grid-row: 1 / 4; margin: 0; display: flex; align-items: center; }
|
||
.step-art svg { height: auto; }
|
||
.step-number { margin-bottom: 5px; }
|
||
.steps h3 { font-size: 18px; }
|
||
.steps li > p:last-child { margin-top: 7px; font-size: 13px; }
|
||
.steps li:not(:last-child)::after { content: none; }
|
||
.download-section { padding-block: 48px; }
|
||
.start-section { padding-block: 12px 48px; }
|
||
.section-heading > p:not(.eyebrow) { font-size: 14px; }
|
||
.download-card { padding: 23px; }
|
||
.download-architecture label > span { min-height: 44px; }
|
||
.platform-mark { margin-bottom: 14px; }
|
||
.guide > summary { padding: 20px 18px; gap: 12px; }
|
||
.guide-heading { font-size: 18px; }
|
||
.guide-number { width: 32px; height: 32px; border-radius: 10px; }
|
||
.guide-body { padding: 0 20px 22px; gap: 20px; }
|
||
.guide-note { padding: 18px; }
|
||
.guide-links { gap: 8px; }
|
||
.guide-links a { padding: 8px 13px; }
|
||
.watch-guide { padding: 22px; gap: 14px; }
|
||
.watch-guide > svg { width: 28px; height: 28px; }
|
||
.modes { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 0; }
|
||
.modes div + div { margin-top: 0; }
|
||
.faq-section { grid-template-columns: 1fr; gap: 27px; padding-block: 42px; }
|
||
.faq-intro { position: relative; }
|
||
.faq-intro h2 br { display: none; }
|
||
.faq-tv { position: absolute; right: 7px; top: 4px; width: 48px; height: 48px; margin: 0; }
|
||
summary { font-size: 14px; padding-block: 20px; }
|
||
details p { padding-right: 9px; }
|
||
.project-note { padding: 24px; align-items: flex-start; gap: 18px; }
|
||
.project-tv { width: 35px; height: 35px; }
|
||
.project-note p { font-size: 14px; }
|
||
.docs-links { grid-template-columns: 1fr; gap: 12px; }
|
||
.project-note .docs-note { font-size: 12px; }
|
||
.site-footer { padding-top: 34px; gap: 15px; }
|
||
.footer-links { gap: 15px; }
|
||
.footer-note { margin-top: 0; }
|
||
}
|
||
@media (max-width: 380px) {
|
||
.wrap { width: calc(100% - 32px); }
|
||
h1, html[lang="zh-CN"] h1 { font-size: clamp(34px, 11.5vw, 43px); }
|
||
.hero-actions .button { gap: 18px; padding-inline: 18px; }
|
||
.site-header { column-gap: 8px; }
|
||
.site-header nav { column-gap: 8px; }
|
||
.preferences { gap: 6px; }
|
||
.steps li { grid-template-columns: 99px 1fr; column-gap: 10px; }
|
||
.steps h3 { font-size: 16px; }
|
||
.project-note { padding: 21px; gap: 12px; }
|
||
.project-tv { width: 28px; height: 28px; }
|
||
}
|
||
/* Small, finite scenes; the whole step owns hover, the button also supports tap/keys. */
|
||
@media (prefers-reduced-motion: no-preference) {
|
||
.step-art g { transform-box: fill-box; transform-origin: center; }
|
||
.steps li:is(:hover, :focus-within) .screen-cursor { animation: choose-screen var(--comic-beat) ease-in-out infinite; }
|
||
.steps li:is(:hover, :focus-within) .chosen-window { animation: window-response var(--comic-beat) ease-in-out infinite; }
|
||
.steps li:is(:hover, :focus-within) .invite-plane { animation: send-invite var(--comic-beat) ease-in-out infinite; }
|
||
.steps li:is(:hover, :focus-within) .invite-note { animation: note-response var(--comic-beat) ease-in-out infinite; }
|
||
.steps li:is(:hover, :focus-within) .sofa-friend { animation: take-a-seat var(--comic-beat) ease-out infinite; }
|
||
.steps li:is(:hover, :focus-within) .sofa-friend + .sofa-friend { animation-delay: .12s; }
|
||
/* Keep finished timelines replayable; every scene ends at its original pose. */
|
||
.steps li:is(:hover, :focus-within) .step-art [class] { animation-fill-mode: both; }
|
||
.project-tv { transition: transform .35s cubic-bezier(.2, .9, .3, 1.4); }
|
||
.project-note:is(:hover, :focus-within) .project-tv { transform: rotate(8deg); }
|
||
details[open] p { animation: answer-appears .2s ease-out; }
|
||
}
|
||
@keyframes choose-screen {
|
||
0%, 8%, 48%, 100% { transform: none; }
|
||
22%, 34% { transform: translate(-62px, -19px); }
|
||
28% { transform: translate(-62px, -19px) scale(.85); }
|
||
}
|
||
@keyframes window-response { 0%, 22%, 46%, 100% { transform: none; } 30% { transform: scale(1.07); } 38% { transform: scale(.99); } }
|
||
@keyframes send-invite {
|
||
0%, 6%, 48%, 100% { transform: none; opacity: 1; }
|
||
12% { transform: translate(-4px, 3px) rotate(7deg); opacity: 1; }
|
||
32% { transform: translate(42px, -36px) rotate(-12deg); opacity: 0; }
|
||
33% { transform: translate(-8px, 8px); opacity: 0; }
|
||
}
|
||
@keyframes note-response { 0%, 10%, 42%, 100% { transform: none; } 20% { transform: translateY(1px) rotate(-4deg); } 32% { transform: rotate(1deg); } }
|
||
@keyframes take-a-seat { 0% { transform: translateY(-8px); } 22% { transform: translateY(2px); } 32%, 100% { transform: none; } }
|
||
@keyframes answer-appears { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
|
||
@media (prefers-reduced-motion: reduce) {
|
||
html { scroll-behavior: auto; }
|
||
*, *::before, *::after { transition: none !important; }
|
||
}
|
||
html[data-reduced-motion] { scroll-behavior: auto; }
|
||
html[data-reduced-motion] *, html[data-reduced-motion] *::before, html[data-reduced-motion] *::after { animation: none !important; transition: none !important; }
|
||
html[data-reduced-motion] :is(.film-play, .project-tv) { transform: none !important; }
|