:root{color-scheme:light;--ink: #1c2a3a;--paper: #eef4fa;--panel: #ffffff;--accent: #e25548;--accent-soft: #fff1ee;--mute: #5a6a7c;--line: #d5dee9;--ok: #1f8f6a;--warn: #b45309;--font-body: Noto Sans SC, PingFang SC, Microsoft YaHei, sans-serif}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;min-height:100dvh;color:#1c2a3a;font-family:Noto Sans SC,PingFang SC,Microsoft YaHei,sans-serif;font-size:17px;line-height:1.55;background:radial-gradient(820px 380px at 92% -10%,rgba(226,85,72,.1),transparent 58%),radial-gradient(640px 340px at -10% 20%,rgba(77,142,201,.1),transparent 55%),#eef4fa}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid rgba(226,85,72,.55);outline-offset:3px}a{color:inherit;text-decoration:none}.shell{width:min(1120px,100% - 40px);margin-inline:auto}.mast{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:76px;padding:10px 0;border-bottom:1px solid #d5dee9}.brand{display:flex;align-items:center;gap:12px;font-weight:800;font-size:1.35rem;letter-spacing:.02em;white-space:nowrap}.monogram{display:block;width:44px;height:44px;border-radius:14px;object-fit:contain;flex-shrink:0}.mast-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex:1;min-width:0}.linkish{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border-radius:10px;font-weight:700;white-space:nowrap}.linkish:hover{background:#dce8f5b3}.user-chip{display:inline-flex;align-items:center;min-height:40px;padding:0 12px;border-radius:999px;background:#dce8f5d9;color:#5a6a7c;font-weight:700;white-space:nowrap}.login-page{min-height:100dvh;display:grid;place-items:center;padding:24px 0 48px}.login-card{width:min(440px,100%);padding:28px 24px;background:#fff;border:1px solid #d5dee9;border-radius:22px}.login-brand{display:flex;align-items:center;gap:12px}.login-brand h1{margin:0;font-size:1.8rem;font-weight:800}.login-hint{margin:14px 0 22px;color:#5a6a7c;font-size:1.05rem;line-height:1.55}.login-field{display:grid;gap:8px;margin-bottom:14px}.login-field span{font-weight:800;font-size:1.05rem}.login-field input{width:100%;min-height:48px;padding:0 14px;border:1px solid #d5dee9;border-radius:14px;background:#f7fafc;font-size:1.05rem}.login-password{display:flex;gap:8px;align-items:center}.login-password input{flex:1;min-width:0}.login-submit{width:100%;margin-top:8px}.login-card .notice{margin:0 0 14px}.keybox{display:flex;align-items:center;gap:10px;min-width:min(420px,56vw);min-height:48px;padding:6px 8px 6px 14px;border:1px solid #d5dee9;border-radius:14px;background:#fff}.keybox span{flex:none;font-size:.95rem;font-weight:700;color:#5a6a7c}.keybox input{flex:1;min-width:0;border:0;background:transparent;color:#1c2a3a;font-size:1rem}.keybox input::placeholder{color:#93a0b0}.ghost{flex:none;min-height:40px;padding:0 12px;border:1px solid #d5dee9;border-radius:10px;background:#f5f8fc;color:#1c2a3a;font-size:.95rem;font-weight:700}.ghost:hover{background:#dce8f5}.banner{margin-top:18px;padding:14px 16px;border-radius:14px;background:#fff4e8;color:#b45309;font-size:1rem;line-height:1.55;display:flex;align-items:center;justify-content:space-between;gap:12px}.banner[data-tone=ok]{background:#e8f7f1;color:#1f8f6a}.banner[data-tone=busy]{background:#eef4ff;color:#3557a0}.intro{padding:28px 0 20px}.intro h1{margin:0;font-size:clamp(2rem,4.5vw,2.8rem);line-height:1.15;font-weight:800;letter-spacing:.01em}.intro p{margin:12px 0 0;max-width:36em;color:#5a6a7c;font-size:1.08rem;line-height:1.65}.steps{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 0}.step{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;border-radius:999px;background:#fff;border:1px solid #d5dee9;font-size:.98rem;font-weight:700;color:#1c2a3a}.step b{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#e25548;color:#fff;font-size:.85rem}.workspace{display:grid;grid-template-columns:minmax(0,2.6fr) minmax(260px,1fr);gap:16px;align-items:start}.studio,.faces{background:#fff;border:1px solid #d5dee9;border-radius:22px;overflow:hidden}.views{display:grid;grid-template-columns:1fr auto 1fr;background:#dce8f5}.view{position:relative;display:grid;place-items:center;min-width:0;height:clamp(280px,32vw,420px);overflow:hidden;isolation:isolate;background:radial-gradient(ellipse at 48% 48%,#f8fbff,#e4edf7 62%,#dce6f1)}.view.output-view{background:radial-gradient(ellipse at 48% 48%,#fff8f6,#f4e6e2 62%,#eaded9)}.view video{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;width:100%;height:100%;object-fit:contain;background:#121418}.input-view video{transform:scaleX(-1)}.view-top{position:absolute;inset:14px 14px auto;z-index:3;display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:1.05rem;font-weight:800}.view-top small{font-size:.9rem;font-weight:700;color:#5a6a7c;background:#ffffffeb;border:1px solid #d5dee9;border-radius:999px;padding:6px 12px;white-space:nowrap}.view-empty{z-index:1;display:grid;justify-items:center;text-align:center;gap:8px;padding:16px;color:#1c2a3a}.view-empty span{font-size:1.15rem;font-weight:800}.view-empty small{color:#5a6a7c;font-size:.98rem}.bridge{width:58px;display:grid;place-items:center;background:linear-gradient(180deg,#eef4fa,#e5edf6);border-inline:1px solid #d3dde8}.face-slot{position:relative;width:46px;height:58px}.face-slot.has-face .face-outline{border-style:solid;border-color:#e25548;box-shadow:0 0 0 4px #e2554824}.face-slot.live .face-outline{animation:breathe 1.8s ease-in-out infinite}.face-slot img{position:absolute;top:3px;right:3px;bottom:3px;left:3px;width:calc(100% - 6px);height:calc(100% - 6px);object-fit:cover;border-radius:50% 50% 46% 46%}.face-outline{position:absolute;top:0;right:0;bottom:0;left:0;border:2px dashed #aeb9c8;border-radius:50% 50% 46% 46%;background:#fff9}@keyframes breathe{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.05);opacity:.72}}@media (prefers-reduced-motion: reduce){.face-slot.live .face-outline{animation:none}}.transport{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px}.transport-controls{display:flex;flex-wrap:wrap;gap:10px}.button{min-height:48px;padding:0 18px;border-radius:14px;border:1px solid #d5dee9;font-size:1.05rem;font-weight:800;white-space:nowrap}.button.subdued{background:#f3f7fb;color:#1c2a3a}.button.subdued:hover:enabled{background:#dce8f5}.button.primary{background:#e25548;border-color:#e25548;color:#fff;min-width:140px}.button.primary:hover:enabled{filter:brightness(.97)}.button.danger{background:#fff1ee;border-color:#f0b4ae;color:#b42318}.button.danger:hover:enabled{background:#ffe4e1}.clock{font-size:1.05rem;font-weight:700;color:#5a6a7c;white-space:nowrap;font-variant-numeric:tabular-nums}.notice{margin:0 16px 16px;padding:12px 14px;border-radius:10px;background:#f3f7fb;color:#3d4450;font-size:1rem;line-height:1.55}.notice[data-tone=warn]{background:#fff4e8;color:#b45309}.notice[data-tone=ok]{background:#e8f7f1;color:#1f8f6a}.faces{padding:18px}.faces-top h2{margin:0 0 8px;font-size:1.35rem;font-weight:800}.faces-top p{margin:0 0 16px;color:#5a6a7c;font-size:1rem;line-height:1.55}.face-list{display:grid;gap:10px}.face-card{display:grid;grid-template-columns:72px minmax(0,1fr) 18px;gap:12px;align-items:center;width:100%;text-align:left;padding:8px;border:2px solid #d5dee9;border-radius:14px;background:#f7fafc;color:#1c2a3a}.face-card:hover,.face-card[aria-pressed=true]{border-color:#e255488c;background:#fff1ee}.face-card strong{display:block;font-size:1.05rem}.face-card[aria-pressed=true] .radio{border:5px solid #e25548;background:#fff}.thumb{width:72px;height:72px;border-radius:12px;overflow:hidden;background:#dce8f5;display:grid;place-items:center}.thumb img{width:100%;height:100%;object-fit:cover;display:block}.radio{width:16px;height:16px;border:2px solid #9aa3b2;border-radius:50%;justify-self:center}.upload{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:12px;min-height:52px;border:2px dashed #aeb9c8;border-radius:14px;background:#f7fafc;color:#1c2a3a;font-size:1.05rem;font-weight:800}.upload:hover{border-color:#e25548;background:#fff1ee}.upload b{font-size:1.3rem;font-weight:500}.faces-empty{padding:22px 14px;border:2px dashed #d5dee9;border-radius:14px;text-align:center;color:#5a6a7c;font-size:1rem;line-height:1.55}@media (max-width: 920px){.shell{width:calc(100% - 24px)}.workspace{grid-template-columns:1fr}.bridge{display:none}.views{grid-template-columns:1fr}.view{height:clamp(220px,58vw,340px)}.keybox{min-width:0;flex:1}}@media (max-width: 640px){.shell{width:calc(100% - 16px)}.mast{height:auto;flex-direction:column;align-items:stretch}.mast-actions{flex-direction:column;align-items:stretch}.keybox{width:100%}.intro{padding-top:18px}.button.primary{width:100%}}
