/* Solutions demo videos — v2 polish (PREVIEW ONLY, 2026-11-15). 僅預覽，上線需用戶另行批准。
   Replaces v1 (2026-11-14). Frame = quiet bezel + 1px hairline + soft shadow; native controls are replaced by
   a small play/pause + sound pair under the frame so nothing covers the in-video captions or fine print. */
.sv{max-width:960px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:16px;align-items:start}
.sv>.sv-frame{grid-column:1/-1}
/* bezel */
.sv-frame{position:relative;aspect-ratio:16/9;box-sizing:content-box;padding:6px;border-radius:20px;
  background:linear-gradient(180deg,#16181b 0%,#111215 100%);border:1px solid var(--se-bd,#2a2c31);
  box-shadow:0 1px 0 rgba(255,255,255,.04) inset,0 28px 64px -28px rgba(0,0,0,.75),0 18px 56px -34px rgba(182,255,46,.22);
  isolation:isolate}
.sv-v{display:block;width:100%;height:100%;object-fit:contain;background:#F7F6F2;border-radius:14px;outline:none}
.sv-v[data-vl]{position:relative}
html[lang="en"] .sv-v[data-vl="zh"],html:not([lang="en"]) .sv-v[data-vl="en"]{display:none}
/* hairline inner edge so the light video never bleeds into the dark bezel */
.sv-frame::after{content:"";position:absolute;inset:6px;border-radius:14px;box-shadow:inset 0 0 0 1px rgba(11,12,14,.08);pointer-events:none;z-index:2}
/* progress hairline (decorative) */
.sv-prog{position:absolute;left:6px;right:6px;bottom:6px;height:2px;border-radius:0 0 14px 14px;overflow:hidden;pointer-events:none;z-index:3}
.sv-prog i{display:block;height:100%;width:100%;background:#B6FF2E;opacity:.9;transform-origin:0 50%;transform:scaleX(0)}
/* centred play (only when paused by reduced-motion, by the user, or when autoplay is refused) */
.sv-big{position:absolute;left:50%;top:50%;z-index:4;width:64px;height:64px;margin:-32px 0 0 -32px;border-radius:50%;border:1px solid rgba(255,255,255,.18);
  background:rgba(11,12,14,.72);color:#B6FF2E;display:grid;place-items:center;cursor:pointer;opacity:0;visibility:hidden;
  transition:opacity .2s ease,visibility .2s ease;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.sv-big svg{width:24px;height:24px;margin-left:3px;fill:currentColor}
.sv.is-paused .sv-big{opacity:1;visibility:visible}
.sv-big:hover{background:rgba(11,12,14,.86)}
/* small control pair under the frame */
.sv-ctl{grid-column:2;grid-row:2;display:flex;gap:8px;margin-top:14px}
.sv-btn{width:36px;height:36px;border-radius:50%;border:1px solid var(--se-bd,#2a2c31);background:transparent;color:#C9CDD3;display:grid;place-items:center;cursor:pointer;padding:0;transition:border-color .15s,color .15s}
.sv-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sv-btn:hover{color:#fff;border-color:#4a4e55}
.sv-pp .on,.sv-pp .off{display:none}
.sv:not(.is-playing) .sv-pp .on,.sv.is-playing .sv-pp .off{display:block}
.sv-snd .off{display:block}.sv-snd .on2{display:none}
.sv.is-sound .sv-snd .off{display:none}.sv.is-sound .sv-snd .on2{display:block}
.sv-btn:focus-visible,.sv-big:focus-visible{outline:2px solid #B6FF2E;outline-offset:3px}
.sv .se-line{grid-column:1;grid-row:2;margin-top:20px;max-width:none}
/* light theme: white bezel, neutral shadow; lime stays decorative only */
html[data-theme="light"] .sv-frame{background:#FFFFFF;border-color:#DDD9D0;box-shadow:0 1px 2px rgba(20,22,26,.04),0 22px 48px -26px rgba(20,22,26,.22)}
html[data-theme="light"] .sv-frame::after{box-shadow:inset 0 0 0 1px rgba(20,22,26,.06)}
html[data-theme="light"] .sv-prog i{background:#0F5C2E;opacity:.75}
html[data-theme="light"] .sv-btn{border-color:#C9C4B8;color:#3D424A;background:#FFFFFF}
html[data-theme="light"] .sv-btn:hover{border-color:#8F8A7F;color:#14161A}
html[data-theme="light"] .sv-btn:focus-visible,html[data-theme="light"] .sv-big:focus-visible{outline-color:#0F5C2E}
@media (max-width:640px){
  .e-calls-sec.sv-sec{padding:40px 0 16px}
  .sv{column-gap:12px}
  .sv-frame{padding:4px;border-radius:14px}
  .sv-v,.sv-frame::after{border-radius:10px}.sv-frame::after{inset:4px}
  .sv-prog{left:4px;right:4px;bottom:4px;border-radius:0 0 10px 10px}
  .sv-big{width:56px;height:56px;margin:-28px 0 0 -28px}
  .sv-btn{width:40px;height:40px}
  .sv-ctl{margin-top:12px}
  .sv .se-line{margin-top:18px}
}
@media (prefers-reduced-motion:reduce){.sv-big,.sv-btn{transition:none}.sv-prog{display:none}}
