/* Local-preview interactions. All icons are sourced from the existing Iconfont sprite. */
.feature-result-link{display:inline-flex;align-items:center;gap:7px;color:var(--blue);font-size:12px;white-space:nowrap}.feature-result-link .icon{width:14px;height:14px;transition:transform .25s}.feature-result-link:hover .icon{transform:translateY(3px)}.feature-bottom{gap:13px}.feature-switch-count{margin-left:auto;white-space:nowrap}
.result-filters{display:flex;gap:6px;margin:-3px 0 24px}.result-filters button{display:flex;align-items:center;gap:7px;padding:9px 15px;border:1px solid transparent;border-radius:9px;color:#8b96a7;font-size:12px;transition:background .2s,border-color .2s,color .2s}.result-filters .icon{width:16px;height:16px}.result-filters button:hover{color:var(--blue);background:#ffffff8c}.result-filters button[aria-pressed=true]{color:var(--blue);background:#fff;border-color:#dfe7f6;box-shadow:0 3px 8px #193c7405}
[data-result-card]{border:1px solid #e4eaf3;border-radius:16px;padding:12px;background:#fff;scroll-margin-top:115px;transition:border-color .3s,box-shadow .3s}[data-result-card].is-highlighted{border-color:#a7bdfb;box-shadow:0 6px 20px #2858ef0b}[data-result-card]:focus-visible{outline:3px solid #7895ff;outline-offset:5px}.result-layout{align-items:stretch}.result-layout .video-example{height:100%}.result-layout .example-poster{height:315px}.result-layout .thumb-grid{height:151px}.secondary-examples{gap:18px}.audio-example{padding-bottom:14px}.audio-player{box-shadow:none}.resource-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:17px;padding-top:12px;border-top:1px solid #edf0f6;opacity:0;transform:translateY(4px);transition:opacity .22s,transform .22s}.resource-actions button{display:inline-flex;align-items:center;gap:6px;padding:5px 0;color:#74839d;font-size:11px}.resource-actions button+button{margin-left:auto}.resource-actions .icon{width:14px;height:14px}.resource-actions button:hover{color:var(--blue)}[data-result-card]:hover .resource-actions,[data-result-card]:focus-within .resource-actions,[data-result-card].is-highlighted .resource-actions{opacity:1;transform:none}.audio-playback-track{position:absolute;left:16px;right:16px;bottom:6px;height:2px;border-radius:2px;background:#dfe7fa;overflow:hidden;pointer-events:none}.audio-playback-track>[data-audio-progress]{display:block;width:100%;height:100%;background:var(--blue);transform:scaleX(0);transform-origin:left}.hero-audio>.audio-playback-track{left:13px;right:13px;bottom:5px}

.result-layout>*,.secondary-examples>*{min-width:0}.audio-player .audio-lines{min-width:0;overflow:hidden}

/* Stable image stage prevents portrait/landscape changes from moving the controls. */
.lightbox{width:min(1000px,92vw);max-width:92vw;background:#fff;overflow:hidden}.lightbox-stage{width:100%;height:min(66vh,650px);background:#f2f5f9;border-radius:18px 18px 0 0;overflow:hidden;touch-action:pan-y pinch-zoom;display:grid;place-items:center}.lightbox-stage>img{width:100%;height:100%;object-fit:contain;max-width:100%;max-height:100%;user-select:none;-webkit-user-drag:none}.lightbox-gallery-nav{display:flex;align-items:center;justify-content:space-between;padding:10px 20px;border-bottom:1px solid var(--line);gap:20px}.lightbox-gallery-nav button{display:grid;place-items:center;width:34px;height:30px;border:1px solid #e3e9f3;border-radius:8px;color:#687c9b;background:#fafcff;transition:background .2s,color .2s}.lightbox-gallery-nav button:hover{color:var(--blue);background:#edf3ff}.lightbox-gallery-nav .icon{width:17px;height:17px}[data-gallery-prev] .icon{transform:rotate(180deg)}[data-gallery-count]{font-size:12px;letter-spacing:2px;color:#6c7e98}.lightbox-caption{min-height:51px}.lightbox .dialog-close{background:#fffffff2}

/* Three user-controlled stages, without automatic playback or simulated API calls. */
.steps-section{padding-block:48px 50px}.steps-layout,html[lang=en] .steps-layout{grid-template-columns:.9fr 1.1fr;gap:70px;align-items:center}.steps-copy{min-width:0}.steps-section h2{font-size:34px;white-space:normal}.steps-intro{font-size:12px;line-height:1.8;color:#ffffff9c;margin-top:10px}.steps-list{grid-template-columns:1fr;gap:7px;margin-top:24px}.steps-list li{display:block}.steps-list li:hover{transform:none}.steps-list li+li:before{display:none}.step-button{display:flex;align-items:center;gap:17px;width:100%;padding:14px 17px;border:1px solid transparent;border-radius:13px;text-align:left;color:#fff;transition:background .25s,border-color .25s}.step-button:hover{background:#ffffff0d}.step-button[aria-selected=true]{background:#ffffff16;border-color:#ffffff32}.step-button:focus-visible{outline-color:#fff;outline-offset:3px}.steps-list .step-number{font-size:24px;line-height:1;margin:0;opacity:.48;letter-spacing:-.04em;width:31px;flex:none}.step-button[aria-selected=true] .step-number{opacity:1}.step-content{flex:1;min-width:0}.step-content strong{display:block;font-size:15px;line-height:1.6;font-weight:600}.step-content small{display:block;font-size:11px;line-height:1.7;margin-top:4px;color:#ffffffa6}.step-button>.icon{width:17px;height:17px;opacity:.25;transition:opacity .25s,transform .25s}.step-button[aria-selected=true]>.icon{opacity:1}.step-button:hover>.icon{transform:translateX(3px)}
.step-demo-window{min-width:0;border:1px solid #ffffff9e;border-radius:17px;background:#fff;color:var(--ink);box-shadow:0 15px 35px #123ba922;overflow:hidden}.step-demo-toolbar{display:flex;align-items:center;gap:12px;padding:15px 19px;background:#f7f9fd;color:#8b98ad;font-size:10px;border-bottom:1px solid #e8edf7}.demo-window-dots{display:flex;gap:4px;margin-right:3px}.demo-window-dots i{width:5px;height:5px;background:#cbd5e4;border-radius:50%}[data-step-counter]{margin-left:auto;letter-spacing:1px;white-space:nowrap}.step-demo-progress{height:2px;background:#edf2fc}.step-demo-progress>span{display:block;height:100%;width:33.333%;background:#7f9ef8;transition:width .35s cubic-bezier(.2,.7,.3,1)}.step-demo-body{padding:27px 30px;min-height:330px;display:grid;align-items:center}.step-demo-body>section{grid-area:1 / 1;outline-offset:7px;border-radius:7px;min-width:0}.step-demo-body>section:focus-visible{outline:2px solid #7895ff}.step-demo-kicker{font-size:10px;color:#8d9db7;letter-spacing:.04em;margin-bottom:12px}.step-demo-body h3{font-size:23px;letter-spacing:-.025em;line-height:1.5;font-weight:650;margin:0 0 20px}.step-demo-input{display:flex;align-items:center;gap:8px;border:1px solid #dce5f3;border-radius:10px;background:#fbfcff;padding:8px 10px}.step-demo-input>.icon{width:18px;height:18px;color:var(--blue);flex:none}.step-demo-input input{border:0;outline:0;background:none;min-width:0;width:100%;font-size:11px;color:#607898;padding:5px 0}.step-demo-input input::placeholder{color:#a7b2c3}.step-demo-input button{white-space:nowrap;color:var(--blue);font-size:10px;border-radius:6px;background:#edf3ff;padding:7px 9px}.step-demo-note{font-size:11px;line-height:1.9;color:#8d9bb1;margin:13px 0 23px;min-height:21px}.step-demo-body .button{font-size:11px;gap:13px;min-height:37px;padding:0 16px;border-radius:8px}.step-demo-body .button .icon{width:14px;height:14px}.step-demo-cover{display:block;width:100%;height:116px;border-radius:9px;overflow:hidden;position:relative;padding:0;background:#eaf0f7}.step-demo-cover img{width:100%;height:100%;object-fit:cover;object-position:50% 52%;transition:transform .4s}.step-demo-cover:hover img{transform:scale(1.025)}.step-demo-cover>span{position:absolute;bottom:0;left:0;right:0;padding:15px 11px 8px;background:linear-gradient(transparent,#102e4c83);color:#fff;text-align:left;font-size:9px}.step-demo-body [data-step-panel="2"] h3{margin-bottom:13px}.step-demo-title{font-size:11px;line-height:1.7;color:#7c8ea9;margin:9px 0 15px}.step-demo-resource-icon{width:42px;height:42px;display:grid;place-items:center;background:#edf3ff;color:var(--blue);border-radius:12px;margin-bottom:14px}.step-demo-resource-icon .icon{width:22px;height:22px}.step-demo-body [data-step-panel="3"] h3{margin-bottom:0}.step-resource-actions{display:flex;align-items:center;gap:17px;flex-wrap:wrap}.step-copy-link{color:#7890b4;font-size:11px;padding:7px 0}.step-copy-link:hover{color:var(--blue)}.step-demo-tool-link{display:inline-block;font-size:10px;color:#91a1bb;margin-top:18px}.step-demo-tool-link:hover{color:var(--blue)}

@media(max-width:1150px){.steps-layout,html[lang=en] .steps-layout{gap:40px}.step-demo-body{padding:25px}.result-layout .example-poster{height:300px}.result-layout .thumb-grid{height:139px}}
@media(max-width:900px){.feature-switch-count{display:none}.feature-result-link{font-size:11px;gap:5px}.steps-layout,html[lang=en] .steps-layout{gap:28px;grid-template-columns:.9fr 1.1fr}.steps-section h2,html[lang=en] .steps-section h2{font-size:28px}.step-button{padding:12px 11px;gap:11px}.step-content strong{font-size:13px}.step-content small{font-size:10px}.steps-list .step-number{font-size:22px;width:25px}.step-demo-body{padding:22px;min-height:342px}.step-demo-body h3{font-size:21px}.result-layout .example-poster{height:280px}.result-layout .thumb-grid{height:122px}.resource-actions{gap:5px}.resource-actions button{font-size:10px}.resource-actions button+button{margin-left:0}.audio-example{padding:9px}.result-layout h3{font-size:15px}.result-layout p{font-size:11px}.step-resource-actions{gap:10px}}
@media(max-width:650px){.feature-result-link{font-size:11px}.result-filters{gap:3px;margin-top:0;margin-bottom:18px}.result-filters button{font-size:11px;padding:8px 12px}.result-layout .example-poster{height:auto;aspect-ratio:1.5}.result-layout .thumb-grid{height:143px}.result-layout{gap:18px}.resource-actions{opacity:1;transform:none;margin-top:13px;padding-top:10px;gap:10px}.resource-actions button+button{margin-left:auto}.resource-actions button{font-size:10px}.result-layout h3{font-size:16px}.result-layout p{font-size:12px}.audio-example{padding:11px}.steps-section{padding-block:34px}.steps-layout,html[lang=en] .steps-layout{grid-template-columns:1fr;gap:22px}.steps-intro{font-size:11px}.steps-list{margin-top:20px;gap:5px}.step-button{padding:12px 13px;gap:14px;border-radius:11px}.step-content strong{font-size:14px}.step-content small{font-size:10px}.steps-list .step-number{font-size:22px;width:28px}.step-button>.icon{width:16px;height:16px}.step-demo-window{border-radius:14px}.step-demo-toolbar{padding:13px 17px}.step-demo-body{padding:23px 21px;min-height:330px}.step-demo-body h3{font-size:22px}.step-demo-body .button{font-size:10px}.step-demo-cover{height:125px}.step-demo-note{font-size:11px;margin-bottom:20px}.lightbox{width:94vw;max-width:94vw}.lightbox-stage{height:58vh}.lightbox-gallery-nav{padding:9px 14px}.lightbox-caption{padding:13px 15px}.feature-bottom{gap:15px}.audio-playback-track{left:12px;right:12px}}
@media(hover:none){.resource-actions{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.feature-result-link:hover .icon,.step-button:hover>.icon,.step-demo-cover:hover img{transform:none}.resource-actions{transform:none}}
