.wear-live { position:relative; overflow:hidden; -webkit-touch-callout:none; -webkit-user-select:none; user-select:none; touch-action:pan-y pinch-zoom; }
.wear-live > img { display:block; width:100%; height:100%; object-fit:contain; pointer-events:none; }
.wear-live > video { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; opacity:0; pointer-events:none; }
.wear-live.is-playing > video { opacity:1; }
.wear-live.is-playing > img { visibility:hidden; }
.wear-live[data-poster-error] .wear-live-badge { font-size:0; }
.wear-live[data-poster-error] .wear-live-badge::after { content:'封面暂未加载 · 轻点重试'; font-size:10px; }
.wear-live-badge { position:absolute; top:8px; left:8px; border-radius:12px; padding:4px 7px; color:white; background:#16271b99; font-size:10px; font-weight:600; letter-spacing:.6px; pointer-events:none; }
.wear-live.is-playing .wear-live-badge { color:#e3ecaf; }
.wear-live.is-buffering .wear-live-badge { letter-spacing:0; }
.job-picture-button.wear-live::after { content:'按住播放 · 轻点放大'; }
.wear-live-dialog { width:min(860px,calc(100vw - 24px)); max-height:calc(100dvh - 24px); box-sizing:border-box; padding:12px; border:1px solid var(--cafe-line); border-radius:12px; background:var(--cafe-foam,#f6f1e8); color:var(--ink); }
.wear-live-dialog::backdrop { background:#13291bdd; }
.wear-live-dialog header { display:flex; align-items:center; justify-content:space-between; height:40px; }
.wear-live-dialog h3 { margin:0; font-size:16px; }
.wear-live-dialog h3:focus { outline:none; }
.wear-live-dialog header button { background:none; border:0; color:inherit; font-size:26px; width:44px; height:40px; }
.wear-live-large { display:block; width:100%; height:min(72dvh,760px); border:0; border-radius:6px; padding:0; background:#18231f; cursor:pointer; }
.wear-live-dialog footer { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:48px; flex-wrap:wrap; font-size:12px; }
.wear-live-dialog footer small { color:var(--cafe-muted); }
.wear-live-dialog footer button,.wear-live-dialog footer a { border:0; background:none; color:inherit; font-size:12px; padding:8px 0; }
.wear-node-actions #wear-result-motion { white-space:nowrap; }
.wear-node-actions:has(#wear-result-motion:not([hidden])) { gap:5px; }
.wear-node-actions:has(#wear-result-motion:not([hidden])) a { font-size:11px; }
.is-compact .wear-node-actions:has(#wear-result-motion:not([hidden])) a { display:none; }
.is-compact .wear-node-actions:has(#wear-result-motion:not([hidden])) { gap:0; }
.is-compact .wear-node-actions #wear-result-motion { padding:0 4px; font-size:11px; }
.wear-motion-options { width:min(420px,calc(100vw - 24px)); max-width:420px; }
.wear-motion-modes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:20px 0; padding:0; border:0; }
.wear-motion-modes label { position:relative; min-width:0; margin:0; }
.wear-motion-modes input { position:absolute; opacity:0; width:1px; height:1px; }
.wear-motion-modes span { display:grid; place-items:center; min-height:48px; box-sizing:border-box; border:1px solid var(--cafe-line,#b9c6be); border-radius:6px; padding:10px 6px; font-size:14px; letter-spacing:0; }
.wear-motion-modes input:checked + span { background:var(--cafe-forest,#254e3d); color:var(--cafe-on-accent,#fff); border-color:var(--cafe-forest,#254e3d); }
.wear-motion-modes input:disabled + span { background:var(--cafe-latte); color:var(--cafe-muted); border-color:transparent; }
.wear-motion-modes input:focus-visible + span { outline:2px solid var(--cafe-forest,#254e3d); outline-offset:2px; }
.wear-turn-notice { margin:0 0 20px; font-size:14px; line-height:1.6; }
.wear-turn-notice p { margin:0 0 12px; color:var(--cafe-muted); }
.wear-turn-notice label { display:flex; align-items:flex-start; gap:10px; min-height:44px; margin:0; cursor:pointer; font-weight:400; }
.wear-turn-notice input { flex:0 0 auto; width:18px; height:18px; margin:3px 0 0; accent-color:var(--cafe-forest,#254e3d); }
.wear-motion-options footer { display:grid; grid-template-columns:minmax(0,1fr); gap:8px; width:100%; min-height:0; margin:20px 0 0; padding:0; border:0; text-align:center; }
.wear-motion-options footer small { grid-row:2; font-size:14px; line-height:1.5; }
.wear-motion-options footer .button.primary { width:100%; min-height:48px; padding:12px 16px; border:1px solid var(--cafe-forest); border-radius:6px; background:var(--cafe-forest); color:var(--cafe-on-accent); font-family:inherit; font-size:16px; font-weight:600; line-height:1.5; }
.wear-motion-options footer .button:disabled { background:var(--cafe-latte); color:var(--cafe-muted); border-color:var(--cafe-line); }
.wear-motion-progress { min-width:0; margin:12px 0; color:var(--cafe-coffee,#24352b); letter-spacing:0; }
.wear-motion-caption { margin:0 0 8px; font:500 13px/1.6 system-ui,sans-serif; overflow-wrap:anywhere; }
.wear-motion-progress progress,.wear-live-export progress { display:block; width:100%; height:6px; accent-color:var(--cafe-forest,#245b42); }
.wear-motion-steps { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:4px; margin:10px 0; padding:0; list-style:none; font:400 12px/1.5 system-ui,sans-serif; text-align:center; color:var(--cafe-muted,#59665e); }
.wear-motion-steps li { border-top:2px solid var(--cafe-line,#c7cfc9); padding-top:6px; min-width:0; }
.wear-motion-steps .is-done { border-color:var(--cafe-forest,#245b42); }
.wear-motion-steps .is-current { border-color:var(--cafe-forest,#245b42); color:var(--cafe-forest,#245b42); font-weight:700; }
.wear-motion-progress.is-halted .is-current { border-color:var(--cafe-muted,#59665e); }
.wear-live-export { display:flex; flex-wrap:wrap; align-items:center; gap:10px 16px; padding:12px 0 4px; border-top:1px solid var(--cafe-line); font:400 13px/1.6 system-ui,sans-serif; }
.wear-live-export button,.wear-live-export a { min-height:44px; padding:8px 0; border:0; background:transparent; color:var(--cafe-forest,#245b42); font:600 13px/1.6 system-ui,sans-serif; }
.wear-live-export small { flex-basis:100%; color:var(--cafe-muted,#59665e); overflow-wrap:anywhere; }
.wear-live-export [hidden],.wear-motion-progress [hidden],.wear-motion-progress[hidden] { display:none; }
@media(max-width:739px){#wear-motion-progress{display:none}.wear-live-large{height:min(58dvh,760px)}.wear-mobile:has(.wear-motion-progress:not([hidden])) .wear-mobile-stage{height:clamp(180px,calc(100svh - 585px),460px)}}
