.tp-opening{box-sizing:border-box;display:grid;grid-template:"stage inspector" minmax(0,1fr) "transport inspector" auto / minmax(0,1fr) 0px;transition:grid-template-columns .42s cubic-bezier(.22,1,.36,1);width:min(1120px,calc(100vw - 28px));max-width:none;margin:38px 0 58px 50%;transform:translate(-50%);border:1px solid #e2e5ed;background:#ececee;color:#282728;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:13px;letter-spacing:-.01em;-webkit-font-smoothing:antialiased}.tp-opening *{box-sizing:border-box}.tp-opening--inspecting{grid-template-columns:minmax(0,1fr) 280px}.tp-opening--standalone{width:100%;height:100dvh;margin:0;transform:none;border:0;overflow:hidden}.tp-opening__stage{grid-area:stage;position:relative;height:clamp(320px,50vw,560px);min-width:0;min-height:0;overflow:hidden;background:#ececee;touch-action:none}.tp-opening--standalone .tp-opening__stage{height:100%}.tp-opening__stage canvas{display:block;width:100%;height:100%;cursor:default;touch-action:none}.tp-opening__stage--view canvas{cursor:grab}.tp-opening__stage--view canvas:active{cursor:grabbing}.tp-opening__error{position:absolute;inset:0;display:grid;place-items:center;padding:20px;font-size:14px}.tp-opening__transport{grid-area:transport;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px;padding:14px 12px max(14px,env(safe-area-inset-bottom))}.tp-opening__inspector button{min-height:44px;border:1px solid #dfe3ec;border-radius:8px;background:#fff;color:#353c4d;font:500 13px/1.4 system-ui,sans-serif;cursor:pointer}.tp-opening__inspector button:disabled{opacity:.45;cursor:not-allowed}.tp-opening__inspector button[aria-pressed=true]{background:#eef1ff;color:#3652b2;border-color:#c8d1fb}.tp-opening__gesture-hint{flex-basis:100%;text-align:center;font-size:11px;line-height:1.5;color:#6e7586;margin-top:4px}.tp-opening :is(button,input,summary):focus-visible{outline:2px solid #6482dc;outline-offset:3px}.tp-opening__stage:focus-visible{outline:2px solid #6482dc;outline-offset:-2px}.tp-opening__inspector{grid-area:inspector;min-width:0;min-height:0;overflow:hidden;visibility:hidden;opacity:0;transform:translate(10px);transition:opacity .24s ease,transform .42s cubic-bezier(.22,1,.36,1),visibility 0s .42s}.tp-opening--inspecting .tp-opening__inspector{visibility:visible;opacity:1;transform:none;transition-delay:0s}.tp-opening__inspector-content{width:280px;height:100%;overflow-y:auto;border-left:1px solid #e2e5ed;padding:20px 16px;overscroll-behavior:contain}.tp-opening__inspector-heading{font-size:15px;font-weight:600;margin-bottom:16px}.tp-opening__steps{display:grid;gap:4px}.tp-opening__steps button{text-align:left;padding:10px 12px;white-space:normal}.tp-opening__adjust{margin-top:20px;border-top:1px solid #e2e5ed}.tp-opening__adjust-heading{display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:600}.tp-opening button.tp-opening__reset{border:0;padding:0 8px;background:transparent;color:#536bbe;font-size:12px}.tp-opening__effects{display:grid;gap:16px;padding:4px 0 8px}.tp-opening__effects label{min-width:0;font-size:12px;color:#535d73}.tp-opening__effects label>span{display:flex;justify-content:space-between;gap:8px}.tp-opening__effects output{font:500 12px/1.4 -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-variant-numeric:tabular-nums;background:#f0f2f7;padding:3px 7px;border-radius:5px;min-width:49px;text-align:center}.tp-opening__effects label>span{align-items:center}.tp-opening__effects small{display:flex;justify-content:space-between;color:#767e8b;font-size:11px;margin-top:-5px}.tp-opening__effect-note{font:400 11px/1.5 -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#767e8b;margin:14px 0 0}.tp-opening__effects input{display:block;width:100%;min-height:44px;margin:0;accent-color:#6482dc;touch-action:pan-y}@media (hover: hover){.tp-opening__inspector button:not(:disabled):hover{filter:brightness(.96)}}@media (max-width: 700px){.tp-opening{margin:24px 0 44px 50%}.tp-opening--standalone{margin:0}.tp-opening{grid-template:"stage" minmax(0,1fr) "transport" auto "inspector" 0fr / minmax(0,1fr);transition:grid-template-rows .42s cubic-bezier(.22,1,.36,1)}.tp-opening--inspecting{grid-template-rows:minmax(0,1fr) auto 1fr}.tp-opening__stage{height:clamp(250px,52svh,440px)}.tp-opening__transport{gap:5px;padding:10px 8px max(10px,env(safe-area-inset-bottom))}.tp-opening__gesture-hint{font-size:10px}.tp-opening__inspector{transform:translateY(10px)}.tp-opening__inspector-content{width:100%;max-height:42dvh;border-left:0;border-top:1px solid #e2e5ed;padding:12px 14px max(14px,env(safe-area-inset-bottom))}.tp-opening__inspector-heading{margin-bottom:10px}.tp-opening__steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.tp-opening__steps button{font-size:12px}}@media (prefers-reduced-motion: reduce){.tp-opening,.tp-opening__inspector{transition:none}}@media (max-height: 500px) and (min-width: 701px){.tp-opening__transport{padding-block:6px}.tp-opening__gesture-hint{display:none}}.tp-opening .tp-opening__primary{min-width:76px}.tp-opening__effects label.tp-opening__switch{display:flex;align-items:center;gap:10px;min-height:36px;color:#3a3d44;font-size:12px;cursor:pointer}.tp-opening__switch input{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:relative;flex:none;width:32px;height:20px;min-height:0;margin:0;border-radius:10px;background:#00000024;cursor:pointer;transition:background-color .15s ease}.tp-opening__switch input:after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0003;transition:transform .18s cubic-bezier(.3,.7,.2,1)}.tp-opening__switch input:checked{background:#1d1d1f}.tp-opening__switch input:checked:after{transform:translate(12px)}@media (prefers-reduced-motion: reduce){.tp-opening__switch input,.tp-opening__switch input:after{transition:none}}.duo-capture .tp-opening__transport{display:none}.duo-capture .tp-opening__stage canvas{cursor:default}html,body{margin:0;min-height:100%;overflow:hidden;background:#ececee}.iphone-duo-lab{width:100%;height:100dvh}
