:root{color-scheme:light;font-family:"Microsoft YaHei",system-ui,sans-serif;color:#20392d;background:#f3f7f5}
*{box-sizing:border-box}body{margin:0}main{max-width:1120px;margin:auto;padding:30px 24px 22px}header{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:22px}.brand{font-weight:700;letter-spacing:.06em;margin:0 0 12px}.brand span{display:inline-block;font-size:11px;letter-spacing:0;font-weight:500;color:#3d6b53;border:1px solid #c4d6cb;border-radius:20px;padding:3px 9px;margin-left:9px;vertical-align:middle}h1{font-size:clamp(21px,3.2vw,32px);letter-spacing:-.04em;line-height:1.35;margin:0}.lead{font-size:14px;line-height:1.8;color:#60776b;margin:0;white-space:nowrap}.stage{position:relative;aspect-ratio:16/9;overflow:hidden;background:#f0f6f9;border-radius:14px;border:1px solid #d9e5df;isolation:isolate}.shot{position:absolute;inset:0;transform-origin:0 0}.shot>video,.plane,.plane video{position:absolute;inset:0;width:100%;height:100%;display:block}.shot>video{object-fit:fill}.plane{visibility:hidden;transform-origin:0 0;background:#fff}.plane video{object-fit:fill;background:#fff url('baseline.jpg') center/100% 100% no-repeat}.stage[data-phase="flatten"] .plane,.stage[data-phase="idle"] .plane,.stage[data-phase="playing"] .plane,.stage[data-phase="paused"] .plane,.stage[data-phase="error"] .plane{visibility:visible}.enter{position:absolute;bottom:20px;right:20px;min-height:44px;background:#fffdf1;border:1px solid #d1ddce;box-shadow:0 4px 20px #1e462216;border-radius:24px;padding:10px 20px;color:#244e37;font:inherit;font-size:14px;cursor:pointer;z-index:2}.enter span{margin-left:12px}.stage[data-phase="playing"] .enter,.stage[data-phase="paused"] .enter,.stage[data-phase="error"] .enter{display:none}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:17px}.scenarios{display:flex;flex-wrap:wrap;gap:9px}.toolbar button{min-height:46px;border:1px solid #c8d8cf;background:#fff;color:#294936;font:inherit;font-size:14px;padding:10px 18px;border-radius:9px;cursor:pointer}.toolbar button[aria-pressed="true"]{background:#225b3e;color:#fff;border-color:#225b3e}.toolbar .replay{background:transparent;border-color:transparent;color:#57725f;padding-inline:10px;white-space:nowrap}.toolbar button:hover,.enter:hover{filter:brightness(.96)}button:focus-visible,video:focus-visible{outline:3px solid #599d73;outline-offset:4px}.caption{display:flex;align-items:center;justify-content:space-between;gap:16px;color:#75897c;font-size:12px;min-height:44px}.caption p{margin:12px 0}#status{color:#4b6c58}.stage[data-phase="flatten"] .enter{opacity:0;pointer-events:none}@media(max-width:700px){main{padding:22px 14px}header{display:block}.lead{margin-top:12px;white-space:normal}.lead br{display:none}.stage{border-radius:9px}.toolbar{flex-wrap:wrap;gap:6px}.scenarios{flex:1 1 100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.scenarios button{padding-inline:9px;font-size:14px}.toolbar .replay{margin-left:auto}.caption{align-items:start;gap:8px;flex-direction:column;min-height:55px}.caption p{margin:0}.enter{bottom:10px;right:10px;padding:8px 14px;min-height:44px}.caption p:last-child{font-size:11px}}
@media(min-width:701px){main{padding-top:22px;padding-bottom:12px}.stage{width:min(100%,calc((100svh - 246px)*16/9));margin-inline:auto}.toolbar{width:min(100%,calc((100svh - 246px)*16/9));margin-inline:auto}.caption{width:min(100%,calc((100svh - 246px)*16/9));margin-inline:auto}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}

/* 官网内嵌只保留演示内容，独立访问仍显示原页面。 */
html.embedded,html.embedded body{background:transparent}html.embedded main{max-width:none;padding:0 0 8px}html.embedded header{display:none}html.embedded .stage,html.embedded .toolbar,html.embedded .caption{width:100%}html.embedded .caption{min-height:44px}
