/* LinkHunter Snap — screenshot editor, screen recorder and share pages. Brand: #FF0051 → #BC0050 on white. */
.snp { --sp: #FF0051; --sp2: #BC0050; --ink: #1F2323; --ink2: #484F56; --mut: #8A9096; --line: #ECEDEE; --soft: #F5F6F7;
  --spring: cubic-bezier(.2, .9, .25, 1); --pop: cubic-bezier(.3, 1.6, .5, 1); }
.snp kbd, .snp-share-body kbd { display: inline-block; padding: 1px 6px; border-radius: 6px; border: 1px solid var(--line, #ECEDEE); border-bottom-width: 2px; background: #fff; font: 600 11px "Inter", system-ui, sans-serif; color: var(--ink2, #484F56); }

/* hero + mode switch */
.snp-hero { padding-bottom: clamp(48px, 7vw, 88px); }
.snp-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 14px; border-radius: 14px; background: #FFF0F4; color: #8F003F; font-weight: 600; font-size: 14px; }
.snp-note svg { width: 17px; height: 17px; }
.snp-modes { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin: 26px auto 0; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 30px -18px rgba(40, 20, 30, .35); }
.snp-modes button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 22px; border: 0; border-radius: 999px; background: none; font: 700 14.5px var(--font); color: var(--ink2); cursor: pointer; transition: color .3s var(--spring); }
.snp-modes button svg { width: 17px; height: 17px; }
.snp-modes button[aria-selected="true"] { color: #fff; }
.snp-modes button:disabled { opacity: .45; cursor: not-allowed; }
.snp-modes-ind { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: linear-gradient(100deg, var(--sp), #E8004E 45%, var(--sp2)); box-shadow: 0 8px 20px -8px rgba(255, 0, 81, .7); transition: transform .45s var(--spring); }
.snp[data-mode="record"] .snp-modes-ind { transform: translateX(100%); }

/* start panels */
.snp-start { margin: 22px auto 0; max-width: 860px; animation: snp-rise .55s var(--spring) both; }
.snp-drop { position: relative; isolation: isolate; padding: 22px; border-radius: 28px; background: #fff; border: 1.5px dashed #FFC2D2; box-shadow: 0 30px 70px -40px rgba(60, 10, 30, .4); transition: border-color .3s, transform .4s var(--spring), box-shadow .3s; outline: none; }
.snp-drop.is-over, .snp-drop:focus-visible { border-color: var(--sp); border-style: solid; transform: scale(1.012); box-shadow: 0 0 0 6px rgba(255, 0, 81, .1), 0 30px 70px -40px rgba(60, 10, 30, .5); }
.snp-drop-glow { position: absolute; inset: -2px; z-index: -1; border-radius: inherit; background: radial-gradient(400px 160px at 50% 0, rgba(255, 0, 81, .1), transparent 70%); pointer-events: none; }
.snp-actions3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.snp-big { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 24px 16px 20px; border-radius: 20px; border: 1px solid var(--line); background: var(--soft); text-align: center; font: inherit; color: var(--ink); cursor: pointer;
  transition: transform .35s var(--spring), background .25s, border-color .25s, box-shadow .35s; }
.snp-big:hover { transform: translateY(-4px); background: #fff; border-color: #FFC2D2; box-shadow: 0 24px 44px -26px rgba(255, 0, 81, .45); }
.snp-big:active { transform: translateY(-1px) scale(.99); }
.snp-big b { font-size: 16.5px; letter-spacing: -.01em; } .snp-big small { color: var(--mut); font-size: 13px; }
.snp-big kbd { position: absolute; top: 12px; right: 12px; }
.snp-big-ic { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 6px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #FF4D7E, var(--sp2)); box-shadow: 0 14px 26px -12px rgba(255, 0, 81, .7); transition: transform .45s var(--pop); }
.snp-big-ic.t2 { background: linear-gradient(135deg, #FDBA74, #F43F5E); box-shadow: 0 14px 26px -12px rgba(244, 63, 94, .6); }
.snp-big-ic.t3 { background: linear-gradient(135deg, #C084FC, #6D28D9); box-shadow: 0 14px 26px -12px rgba(109, 40, 217, .55); }
.snp-big-ic svg { width: 26px; height: 26px; }
.snp-big:hover .snp-big-ic { transform: translateY(-2px) rotate(-6deg) scale(1.06); }
.snp-drop-hint { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 16px; color: var(--ink2); font-size: 13.5px; }
.snp-drop-hint svg { width: 16px; height: 16px; color: #059669; }
.snp-rec-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; text-align: left; }
.snp-opt { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--soft); cursor: pointer; transition: border-color .25s, background .25s; }
.snp-opt:hover { border-color: #FFC2D2; background: #fff; }
.snp-opt input { position: absolute; opacity: 0; pointer-events: none; }
.snp-opt > span:nth-of-type(2) { flex: 1; } .snp-opt b { display: block; font-size: 14.5px; } .snp-opt small { color: var(--mut); font-size: 12.5px; }
.snp-opt-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; color: var(--sp); background: #FFF0F4; flex: none; }
.snp-opt-ic.t2 { color: #EA580C; background: #FFF1E8; } .snp-opt-ic.t3 { color: #7C3AED; background: #F3EEFF; } .snp-opt-ic.t4 { color: #0D9488; background: #E7F8F5; }
.snp-opt-ic svg { width: 19px; height: 19px; }
.snp-switch { position: relative; flex: none; width: 40px; height: 24px; border-radius: 99px; background: #DADDE1; transition: background .3s var(--spring); }
.snp-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .35s var(--pop); }
input:checked + .snp-switch, input:checked ~ .snp-switch { background: var(--sp); }
input:checked + .snp-switch::after, input:checked ~ .snp-switch::after { transform: translateX(16px); }
input:focus-visible ~ .snp-switch { box-shadow: 0 0 0 3px rgba(255, 0, 81, .3); }
.snp-rec-go { margin-top: 18px; min-width: 260px; }
.snp-recdot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .35); }
.snp-recdot.is-live { background: #FF0051; animation: snp-pulse 1.4s ease-in-out infinite; box-shadow: 0 0 0 0 rgba(255, 0, 81, .5); }

/* workspace */
.snp-work { padding: 26px 0 56px; background: var(--soft); animation: snp-rise .5s var(--spring) both; }
.snp-shell { width: min(1360px, calc(100vw - 32px)); margin: 0 auto; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -50px rgba(40, 20, 30, .45); overflow: hidden; }
.snp-bar { position: sticky; top: 84px; z-index: 6; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 14px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.snp-tools, .snp-colors, .snp-sizes, .snp-hist { display: flex; align-items: center; gap: 3px; }
.snp-sep { width: 1px; height: 26px; margin: 0 4px; background: var(--line); }
.snp-tool { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 11px; background: transparent; color: var(--ink2); cursor: pointer; transition: background .2s, color .2s, transform .3s var(--pop); }
.snp-tool svg { width: 19px; height: 19px; }
.snp-tool:hover:not(:disabled) { background: var(--soft); color: var(--ink); }
.snp-tool:active:not(:disabled) { transform: scale(.92); }
.snp-tool.is-on { color: #fff; background: linear-gradient(135deg, #FF3370, var(--sp2)); box-shadow: 0 8px 16px -8px rgba(255, 0, 81, .8); }
.snp-tool:disabled { opacity: .35; cursor: default; }
.snp-tip { position: absolute; top: calc(100% + 8px); left: 50%; z-index: 9; display: flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 9px; background: var(--ink); color: #fff; font: 600 12px var(--font); white-space: nowrap;
  opacity: 0; transform: translate(-50%, -4px); pointer-events: none; transition: opacity .18s, transform .25s var(--spring); }
.snp-tip kbd { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .2); color: #fff; padding: 0 5px; }
.snp-tool:hover .snp-tip, .snp-tool:focus-visible .snp-tip { opacity: 1; transform: translate(-50%, 0); transition-delay: .35s; }
.snp-color { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; background: var(--c); box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); cursor: pointer; transition: transform .3s var(--pop), box-shadow .2s; }
.snp-color:hover { transform: scale(1.15); }
.snp-color.is-on { box-shadow: 0 0 0 2px var(--c), 0 0 0 4px rgba(0, 0, 0, .08); transform: scale(1.1); }
.snp-color[data-color="#FFFFFF"] { box-shadow: 0 0 0 1px #CFD3D8; }
.snp-size { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; }
.snp-size i { width: var(--d); height: var(--d); border-radius: 50%; background: var(--ink2); transition: background .2s; }
.snp-size:hover { background: var(--soft); } .snp-size.is-on { background: #FFF0F4; } .snp-size.is-on i { background: var(--sp); }
.snp-body { display: grid; grid-template-columns: minmax(0, 1fr) 280px; min-height: 520px; }
.snp-stage { position: relative; display: grid; place-items: center; padding: 34px; overflow: auto; background: radial-gradient(circle at 1px 1px, #E1E3E6 1px, transparent 0) 0 0 / 18px 18px, #FAFAFB; }
.snp-frame { position: relative; display: inline-flex; flex-direction: column; max-width: 100%; transition: padding .35s var(--spring), background .35s, border-radius .35s, box-shadow .35s; }
.snp-frame canvas { display: block; max-width: 100%; touch-action: none; border-radius: var(--r, 0); box-shadow: 0 14px 34px -20px rgba(40, 20, 30, .45); transition: border-radius .3s, box-shadow .3s; animation: snp-pop .5s var(--spring) both; }
.snp-frame.is-bz { padding: var(--pad, 48px); background: var(--g); border-radius: 18px; }
.snp-frame.is-bz canvas { box-shadow: 0 calc(var(--sh) * .3px) calc(var(--sh) * .9px) calc(var(--sh) * -.2px) rgba(10, 10, 30, calc(var(--sh) / 160)); }
.snp-chrome { display: none; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #fff; border-radius: var(--r, 0) var(--r, 0) 0 0; border-bottom: 1px solid #ECEDEE; }
.snp-chrome i { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; } .snp-chrome i:nth-child(2) { background: #FEBC2E; } .snp-chrome i:nth-child(3) { background: #28C840; }
.snp-chrome span { flex: 1; max-width: 50%; height: 16px; margin: 0 auto; border-radius: 99px; background: #F1F2F4; }
.snp-frame.has-chrome .snp-chrome { display: flex; }
.snp-frame.has-chrome canvas { border-top-left-radius: 0; border-top-right-radius: 0; }
.snp-frame.has-chrome.is-window .snp-chrome span { background: transparent; }
.snp-frame[data-tool="crop"] canvas { cursor: crosshair; } .snp-frame[data-tool="select"] canvas { cursor: default; } .snp-frame[data-tool="text"] canvas { cursor: text; }
.snp-frame canvas { cursor: crosshair; }
.snp-text-in { position: absolute; z-index: 4; min-width: 60px; padding: 2px 4px; border: 1.5px dashed var(--sp); border-radius: 6px; background: rgba(255, 255, 255, .7); outline: none; resize: none; overflow: hidden; font-weight: 800; line-height: 1.2; }
.snp-cropbar { position: absolute; left: 50%; bottom: 14px; z-index: 5; display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 14px; background: rgba(31, 35, 35, .92); color: #fff; font: 600 13px var(--font); transform: translateX(-50%); animation: snp-rise .35s var(--spring) both; }
.snp-cropbar .btn { height: 32px; }
.snp-side { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-left: 1px solid var(--line); background: #fff; }
.snp-card { padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.snp-row-sw { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.snp-row-sw > span { flex: 1; } .snp-row-sw b { display: block; } .snp-row-sw small { color: var(--mut); font-size: 12px; }
.snp-row-sw input { position: absolute; opacity: 0; pointer-events: none; }
.snp-bz { display: grid; gap: 12px; margin-top: 14px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s var(--spring), opacity .3s; }
.snp-bz.is-open { max-height: 420px; opacity: 1; }
.snp-bgs { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.snp-bg { aspect-ratio: 1; border-radius: 10px; border: 2px solid #fff; background: var(--g); box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); cursor: pointer; transition: transform .3s var(--pop), box-shadow .2s; }
.snp-bg:hover { transform: scale(1.1); } .snp-bg.is-on { box-shadow: 0 0 0 2px var(--sp); }
.snp-range { display: grid; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink2); }
.snp-range span { display: flex; justify-content: space-between; } .snp-range output { color: var(--mut); font-variant-numeric: tabular-nums; }
.snp-range input { width: 100%; accent-color: var(--sp); }
.snp-seg { display: grid; grid-template-columns: repeat(3, 1fr); padding: 3px; border-radius: 12px; background: var(--soft); }
.snp-seg button { height: 32px; border: 0; border-radius: 9px; background: transparent; font: 600 12.5px var(--font); color: var(--ink2); cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.snp-seg button.is-on { background: #fff; color: var(--sp); box-shadow: 0 4px 10px -6px rgba(40, 20, 30, .4); }
.snp-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink2); }
.snp-link { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; color: var(--sp); font: 600 12.5px var(--font); cursor: pointer; }
.snp-link svg { width: 14px; height: 14px; }
.snp-mine h3 { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 13.5px; } .snp-mine h3 svg { width: 15px; height: 15px; color: var(--sp); }
.snp-mine ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; max-height: 220px; overflow: auto; }
.snp-mine li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; background: var(--soft); font-size: 12.5px; animation: snp-rise .35s var(--spring) both; }
.snp-mine li a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-weight: 600; text-decoration: none; }
.snp-mine li button { border: 0; background: none; color: var(--mut); cursor: pointer; padding: 2px; } .snp-mine li button:hover { color: var(--sp); } .snp-mine li svg { width: 15px; height: 15px; }
.snp-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 12px 14px; border-top: 1px solid var(--line); background: #fff; }
.snp-foot-gap { flex: 1; }
.snp-foot .btn kbd { margin-left: 4px; }
.snp-foot .btn.primary kbd { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .3); color: #fff; }

/* recorder */
.snp-recwork .snp-shell { padding: clamp(24px, 4vw, 44px); }
.snp-live { text-align: center; animation: snp-rise .45s var(--spring) both; }
.snp-live-pill { display: inline-flex; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6); }
.snp-live-pill b { font: 800 22px/1 var(--font); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.snp-live-state { font-size: 13px; color: rgba(255, 255, 255, .7); min-width: 64px; text-align: left; }
.snp-pill-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; min-width: 40px; justify-content: center; padding: 0 12px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font: 700 13.5px var(--font); cursor: pointer; transition: background .2s, transform .3s var(--pop); }
.snp-pill-btn:hover { background: rgba(255, 255, 255, .22); } .snp-pill-btn:active { transform: scale(.94); }
.snp-pill-btn.stop { background: var(--sp); padding: 0 16px; } .snp-pill-btn.stop:hover { background: #E6004A; }
.snp-pill-btn svg { width: 16px; height: 16px; } .snp-pill-btn.stop svg { width: 13px; height: 13px; fill: currentColor; }
.snp-live-hint { max-width: 560px; margin: 16px auto 0; color: var(--ink2); font-size: 14.5px; }
.snp-live.is-paused .snp-recdot { animation: none; background: #F59E0B; }
.snp-wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 54px; margin-top: 22px; }
.snp-wave i { width: 5px; height: calc(10px + var(--lvl, 0) * 40px); border-radius: 9px; background: linear-gradient(180deg, #FF4D7E, var(--sp2)); transition: height .12s; opacity: .85; }
.snp-live.is-paused .snp-wave i { height: 6px !important; opacity: .35; }
.snp-result { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: center; animation: snp-rise .5s var(--spring) both; }
.snp-result video { width: 100%; max-height: 62vh; border-radius: 18px; background: #0F1012; box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .6); }
.snp-result-side { display: grid; gap: 10px; }
.snp-result-side h2 { margin: 0; font-size: 24px; letter-spacing: -.02em; }
.snp-result-meta { margin: 0 0 6px; color: var(--ink2); }
.snp-small { margin: 4px 0 0; font-size: 12.5px; color: var(--mut); }

/* countdown */
.snp-count { position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; justify-items: center; gap: 10px; background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: snp-fade .25s both; }
.snp-count b { display: grid; place-items: center; width: 150px; height: 150px; border-radius: 50%; color: #fff; font: 800 76px/1 var(--display, var(--font)); background: linear-gradient(135deg, #FF4D7E, var(--sp2)); box-shadow: 0 30px 60px -24px rgba(255, 0, 81, .8); animation: snp-tick 1s var(--spring) infinite; }
.snp-count span { font-weight: 700; color: var(--ink2); }

/* share sheet */
.snp-sheet { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; background: rgba(31, 35, 35, .38); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: snp-fade .25s both; }
.snp-sheet-card { position: relative; width: min(480px, 100%); padding: 30px 28px 26px; border-radius: 26px; background: #fff; text-align: center; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .5); animation: snp-pop .45s var(--spring) both; }
.snp-sheet-card h2 { margin: 14px 0 6px; font-size: 22px; letter-spacing: -.02em; }
.snp-sheet-card p { margin: 0; color: var(--ink2); }
.snp-x { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 10px; background: var(--soft); color: var(--ink2); cursor: pointer; }
.snp-x svg { width: 16px; height: 16px; }
.snp-ring { position: relative; width: 84px; height: 84px; margin: 0 auto; }
.snp-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.snp-ring circle { fill: none; stroke: #FFE0E8; stroke-width: 6; }
.snp-ring circle.p { stroke: var(--sp); stroke-linecap: round; stroke-dasharray: 176; stroke-dashoffset: 176; transition: stroke-dashoffset .3s; }
.snp-ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 800 17px var(--font); font-variant-numeric: tabular-nums; }
.snp-check { display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #34D399, #059669); box-shadow: 0 20px 40px -18px rgba(5, 150, 105, .8); animation: snp-pop .5s var(--pop) both; }
.snp-check svg { width: 34px; height: 34px; stroke-width: 3; }
.snp-linkbox { display: flex; gap: 8px; margin: 18px 0 8px; padding: 6px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); }
.snp-linkbox input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 10px; font: 600 14px var(--font); color: var(--ink); outline: none; }
.snp-sheet-acts { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }

/* toasts */
.snp-toasts { position: fixed; top: 92px; left: 50%; z-index: 300; display: grid; gap: 8px; justify-items: center; transform: translateX(-50%); pointer-events: none; }
.snp-toast { display: flex; align-items: center; gap: 9px; padding: 11px 16px 11px 12px; border-radius: 14px; background: var(--ink, #1F2323); color: #fff; font: 600 14px "Inter", system-ui, sans-serif; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
  opacity: 0; transform: translateY(-10px) scale(.96); transition: opacity .25s, transform .45s cubic-bezier(.2, .9, .25, 1); }
.snp-toast.in { opacity: 1; transform: none; }
.snp-toast::before { content: ""; width: 20px; height: 20px; border-radius: 50%; flex: none; background: #10B981 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.snp-toast.err::before { background: #EF4444 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E") center / 13px no-repeat; }
.snp-toast.info::before { background: #FF0051 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 11v6M12 7h.01'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* sections */
.snp-feats .why-card h3 { font-size: 18px; }
.snp-keys { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 980px; margin: 0 auto; }
.snp-keys div { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 14px; }
.snp-keys kbd { min-width: 44px; text-align: center; font-size: 12px; }

@keyframes snp-rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes snp-pop { from { opacity: 0; transform: scale(.94); } }
@keyframes snp-fade { from { opacity: 0; } }
@keyframes snp-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 0, 81, .55); } 70% { box-shadow: 0 0 0 10px rgba(255, 0, 81, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 0, 81, 0); } }
@keyframes snp-tick { 0% { transform: scale(.6); opacity: 0; } 25% { transform: scale(1.05); opacity: 1; } 80% { transform: scale(1); opacity: 1; } 100% { transform: scale(.9); opacity: .2; } }

@media (max-width: 1080px) { .snp-body { grid-template-columns: 1fr; } .snp-side { border-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } .snp-keys { grid-template-columns: repeat(2, minmax(0, 1fr)); } .snp-result { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .snp-actions3, .snp-rec-opts { grid-template-columns: 1fr; } .snp-bar { top: 64px; } .snp-stage { padding: 16px; } .snp-keys { grid-template-columns: 1fr; } .snp-foot .btn kbd { display: none; } }
@media (prefers-reduced-motion: reduce) { .snp *, .snp-share-body * { animation: none !important; transition: none !important; } }

/* ------------------------------------------------------------------ share pages (standalone, no site CSS) */
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-wght.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
.snp-share-body { margin: 0; min-height: 100vh; font: 15px/1.5 "Inter", system-ui, sans-serif; color: #1F2323; background: radial-gradient(900px 500px at 50% -10%, rgba(255, 0, 81, .08), transparent 70%), #F5F6F7; }
.snp-sh-top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px clamp(14px, 3vw, 28px); background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid #ECEDEE; }
.snp-sh-brand { display: flex; align-items: center; gap: 9px; color: #1F2323; text-decoration: none; font-weight: 700; } .snp-sh-brand b { color: #FF0051; }
.snp-sh-acts { display: flex; gap: 8px; }
.snp-sh-btn { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid #ECEDEE; background: #fff; color: #1F2323; font: 600 13.5px "Inter", sans-serif; text-decoration: none; cursor: pointer; transition: border-color .2s, color .2s, transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.snp-sh-btn:hover { border-color: #FF0051; color: #FF0051; } .snp-sh-btn:active { transform: scale(.96); }
.snp-sh-btn.danger:hover { border-color: #EF4444; color: #B91C1C; }
.snp-sh-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.snp-sh-main { display: grid; justify-items: center; gap: 14px; padding: clamp(20px, 4vw, 44px) 16px 60px; }
.snp-sh-media { margin: 0; max-width: min(1400px, 100%); animation: snp-pop .55s cubic-bezier(.2, .9, .25, 1) both; }
.snp-sh-media img, .snp-sh-media video { display: block; max-width: 100%; max-height: 80vh; height: auto; margin: 0 auto; border-radius: 16px; background: #fff; box-shadow: 0 40px 80px -40px rgba(40, 20, 30, .5), 0 0 0 1px rgba(0, 0, 0, .05); }
.snp-sh-media.is-video video { background: #0F1012; width: min(1200px, 100%); }
.snp-sh-meta { margin: 0; color: #8A9096; font-size: 13px; text-align: center; }
.snp-sh-cta { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 16px; border-radius: 18px; background: #fff; border: 1px solid #ECEDEE; color: #1F2323; text-decoration: none; box-shadow: 0 16px 30px -24px rgba(40, 20, 30, .5); transition: transform .35s cubic-bezier(.2, .9, .25, 1), border-color .2s; }
.snp-sh-cta:hover { transform: translateY(-3px); border-color: #FFC2D2; }
.snp-sh-cta b { display: block; font-size: 14px; } .snp-sh-cta small { color: #8A9096; font-size: 12.5px; } .snp-sh-cta em { font-style: normal; font-weight: 700; color: #FF0051; font-size: 13.5px; white-space: nowrap; }
.snp-sh-cta-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #FF4D7E, #BC0050); }
.snp-sh-cta-ic svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.snp-gone { display: grid; justify-items: center; gap: 10px; max-width: 520px; margin: 0 auto; padding: 14vh 20px; text-align: center; }
.snp-gone h1 { margin: 6px 0 0; font-size: 28px; letter-spacing: -.02em; } .snp-gone p { margin: 0 0 8px; color: #484F56; }
.snp-gone-ic { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 24px; background: #FFF0F4; color: #FF0051; }
.snp-gone-ic svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* recorder settings + delay */
.snp-rec-set { display: grid; gap: 8px; margin-top: 12px; padding: 12px; border-radius: 18px; background: var(--soft); text-align: left; }
.snp-setrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.snp-setrow > span { font-weight: 700; font-size: 14px; }
.snp-setrow .snp-seg, .snp-delay .snp-seg { display: inline-grid; grid-auto-flow: column; grid-template-columns: none; gap: 2px; background: #fff; border: 1px solid var(--line); }
.snp-setrow .snp-seg button, .snp-delay .snp-seg button { padding: 0 12px; height: 32px; }
.snp-delay { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; font-weight: 600; font-size: 13.5px; color: var(--ink2); }
.snp-delay > span { display: inline-flex; align-items: center; gap: 6px; } .snp-delay svg { width: 16px; height: 16px; color: var(--sp); }
.snp-delay .snp-seg { background: var(--soft); }

/* live recording panel (floating, compact, distraction-free) */
.snp-rpanel { max-width: 780px; margin: 0 auto; padding: 20px 22px 16px; border-radius: 26px; background: #141619; color: #fff; text-align: left;
  box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06); animation: snp-pop .5s var(--spring) both; }
.snp-rp-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.snp-rp-state { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; }
.snp-rp-state .snp-recdot { width: 11px; height: 11px; }
.snp-rp-time { font: 700 28px/1 var(--font); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.snp-rp-badge { justify-self: end; padding: 5px 11px; border-radius: 99px; background: rgba(255, 255, 255, .1); font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.snp-rp-mid { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.snp-rp-btns { display: flex; gap: 10px; }
.snp-rp-btn { display: grid; place-items: center; width: 54px; height: 54px; border: 0; border-radius: 16px; background: #2A2E35; color: #fff; cursor: pointer; transition: background .2s, transform .3s var(--pop); }
.snp-rp-btn:hover:not(:disabled) { background: #363B44; } .snp-rp-btn:active:not(:disabled) { transform: scale(.92); }
.snp-rp-btn:disabled { opacity: .35; cursor: default; }
.snp-rp-btn.is-off { background: #3B1F27; color: #FF6B91; }
.snp-rp-btn svg { width: 22px; height: 22px; }
.snp-rp-mid .snp-wave { flex: 1; margin: 0; height: 46px; justify-content: center; }
.snp-rp-mid .snp-wave i { width: 4px; background: linear-gradient(180deg, #FF6B91, #FF0051); opacity: .9; }
.snp-rp-stop { display: grid; place-items: center; width: 60px; height: 60px; border: 0; border-radius: 18px; background: #D4364F; color: #fff; cursor: pointer; box-shadow: 0 12px 26px -12px rgba(212, 54, 79, .9); transition: background .2s, transform .3s var(--pop); }
.snp-rp-stop:hover { background: #E2445D; } .snp-rp-stop:active { transform: scale(.93); }
.snp-rp-stop svg { width: 22px; height: 22px; }
.snp-rp-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 13.5px; color: rgba(255, 255, 255, .6); }
.snp-live.is-paused .snp-rp-state .snp-recdot { animation: none; background: #F59E0B; }
@media (max-width: 640px) { .snp-rp-top { grid-template-columns: 1fr auto; } .snp-rp-badge { display: none; } .snp-rp-mid .snp-wave { display: none; } .snp-rp-mid { justify-content: space-between; } .snp-rp-btn { width: 46px; height: 46px; } }

/* emoji palette + custom colour */
.snp-emojis { position: absolute; z-index: 6; display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; padding: 8px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -24px rgba(40, 20, 30, .5); animation: snp-pop .3s var(--spring) both; }
.snp-emojis button { width: 30px; height: 30px; border: 0; border-radius: 8px; background: none; font-size: 19px; cursor: pointer; transition: background .15s, transform .25s var(--pop); }
.snp-emojis button:hover { background: var(--soft); transform: scale(1.18); }
.snp-color-pick { position: relative; overflow: hidden; background: conic-gradient(#FF0051, #FACC15, #22C55E, #2563EB, #8B5CF6, #FF0051); }
.snp-color-pick.is-on { background: var(--c); }
.snp-color-pick input { position: absolute; inset: -6px; width: 40px; height: 40px; opacity: 0; cursor: pointer; }

/* [hidden] must always win over the display rules above */
.snp [hidden], .snp-share-body [hidden] { display: none !important; }

/* ============================================================ v2 — CleanShot-style page, launcher, overlay */
html.snp-lock, html.snp-lock body { overflow: hidden; }
.snp-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 80px); background: radial-gradient(900px 420px at 50% -8%, rgba(255, 0, 81, .09), transparent 70%), linear-gradient(#fff, #FAFAFB); }
.snp-hero-grid { display: grid; justify-items: center; text-align: center; gap: clamp(36px, 5vw, 60px); }
.snp-hero-copy { max-width: 860px; animation: snp-rise .6s var(--spring) both; }
.snp-hero h1 { font-size: clamp(40px, 6vw, 74px); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; margin-top: 20px; text-wrap: balance; }
.snp-hero .lead { margin: 22px auto 0; max-width: 62ch; font-size: clamp(16px, 1.45vw, 19px); line-height: 1.6; color: var(--ink2); }
.snp-ticks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--ink2); font-size: 14.5px; font-weight: 600; }
.snp-ticks li { display: inline-flex; align-items: center; gap: 6px; }
.snp-ticks svg { width: 16px; height: 16px; padding: 2px; border-radius: 50%; color: #fff; background: #10B981; stroke-width: 3; }
.snp-hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.snp-hero-cta .btn { gap: 9px; }
.snp-hero-cta .btn kbd { margin-left: 4px; background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .3); color: #fff; }
.snp-hero-cta .btn svg { width: 18px; height: 18px; }
.snp-recdot.red { background: #FF0051; box-shadow: 0 0 0 3px rgba(255, 0, 81, .18); }
.snp-fine { margin-top: 14px; font-size: 13px; color: var(--mut); }

/* launcher card over dotted rings */
.snp-launch-wrap { position: relative; display: grid; place-items: center; width: 100%; padding: clamp(10px, 4vw, 56px) 0; animation: snp-rise .7s .08s var(--spring) both; }
.snp-rings { position: absolute; left: 50%; top: 50%; width: min(860px, 150vw); height: auto; transform: translate(-50%, -50%); pointer-events: none; z-index: 0; }
.snp-rings circle { fill: none; stroke: #E4C3CE; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: .1 11; transform-origin: 400px 400px; animation: snp-spin calc(70s + var(--i) * 25s) linear infinite; opacity: calc(1 - var(--i) * .2); }
.snp-rings circle:nth-child(even) { animation-direction: reverse; }
@keyframes snp-spin { to { transform: rotate(360deg); } }
.snp-float { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 34px -18px rgba(40, 20, 30, .4); font: 700 13px var(--font); color: var(--ink); animation: snp-bob 6s ease-in-out infinite; }
.snp-float svg { width: 15px; height: 15px; color: var(--sp); }
.snp-float.f1 { left: calc(50% - 400px); top: 22%; }
.snp-float.f2 { right: calc(50% - 400px); top: 34%; animation-delay: -2s; background: #17181C; color: #fff; border-color: #17181C; font-variant-numeric: tabular-nums; }
.snp-float.f3 { left: calc(50% - 360px); bottom: 16%; animation-delay: -4s; } .snp-float.f3 svg { color: #10B981; }
@keyframes snp-bob { 50% { transform: translateY(-9px); } }
.snp-launch { position: relative; z-index: 1; width: min(452px, 100%); padding: 16px; border-radius: 26px; background: rgba(255, 255, 255, .96); border: 1px solid var(--line); text-align: left;
  box-shadow: 0 0 0 7px rgba(255, 255, 255, .7), 0 50px 90px -40px rgba(60, 10, 30, .38), 0 10px 24px -12px rgba(40, 20, 30, .14); transition: transform .4s var(--spring), box-shadow .3s; }
.snp-launch.is-over { transform: scale(1.02); box-shadow: 0 0 0 7px rgba(255, 0, 81, .16), 0 50px 90px -40px rgba(255, 0, 81, .45); }
.snp-l-head { display: flex; align-items: center; gap: 11px; padding: 2px 4px 14px; }
.snp-l-logo { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #FF4D7E, var(--sp2)); box-shadow: 0 10px 20px -10px rgba(255, 0, 81, .8); }
.snp-l-logo svg { width: 20px; height: 20px; }
.snp-l-logo.xl { width: 72px; height: 72px; border-radius: 22px; margin: 0 auto 20px; } .snp-l-logo.xl svg { width: 36px; height: 36px; }
.snp-l-name { flex: 1; line-height: 1.2; } .snp-l-name b { display: block; font-size: 15.5px; letter-spacing: -.01em; } .snp-l-name small { color: var(--mut); font-size: 12.5px; }
.snp-l-back { display: none; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 10px; background: var(--soft); color: var(--ink2); cursor: pointer; transition: background .2s, transform .3s var(--pop); }
.snp-l-back:hover { background: #FFE8EF; color: var(--sp); transform: translateX(-2px); } .snp-l-back svg { width: 17px; height: 17px; }
.snp-launch[data-face="record"] .snp-l-back { display: grid; }
.snp-face { animation: snp-face .42s var(--spring) both; }
@keyframes snp-face { from { opacity: 0; transform: translateX(14px); } }
.snp-l-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.snp-l-tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; aspect-ratio: 1 / 1.02; padding: 8px 4px; border-radius: 18px; border: 1px solid var(--line); background: var(--soft); font: 700 13px var(--font); color: var(--ink); cursor: pointer;
  transition: transform .35s var(--pop), background .25s, border-color .25s, box-shadow .3s; }
.snp-l-tile:hover:not(:disabled) { transform: translateY(-4px); background: #fff; border-color: #FFC2D2; box-shadow: 0 18px 30px -18px rgba(255, 0, 81, .5); }
.snp-l-tile:active:not(:disabled) { transform: translateY(-1px) scale(.97); }
.snp-l-tile:disabled { opacity: .45; cursor: not-allowed; }
.snp-l-tile .ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: #fff; transition: transform .35s var(--pop); }
.snp-l-tile:hover .ic { transform: rotate(-7deg) scale(1.07); }
.snp-l-tile .ic svg { width: 21px; height: 21px; }
.snp-l-tile .ic.rec { background: #fff; border: 1.5px solid #FFD0DC; } .snp-l-tile .ic.rec .snp-recdot { width: 16px; height: 16px; }
.snp-l-tile .ic.shot { background: linear-gradient(135deg, #FF4D7E, #BC0050); box-shadow: 0 10px 18px -10px rgba(255, 0, 81, .8); }
.snp-l-tile .ic.gif { background: linear-gradient(135deg, #C084FC, #6D28D9); box-shadow: 0 10px 18px -10px rgba(109, 40, 217, .7); }
.snp-l-tile .ic.ann { background: linear-gradient(135deg, #FDBA74, #F43F5E); box-shadow: 0 10px 18px -10px rgba(244, 63, 94, .7); }
.snp-l-row { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 8px 8px 8px 12px; border-radius: 14px; background: var(--soft); font-size: 13px; color: var(--ink2); font-weight: 600; }
.snp-l-row > span { display: inline-flex; align-items: center; gap: 6px; } .snp-l-row > span svg { width: 15px; height: 15px; }
.snp-seg.sm { padding: 3px; } .snp-seg.sm button { height: 28px; padding: 0 9px; font-size: 12.5px; }
.snp-l-paste { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: 700 12.5px var(--font); color: var(--ink); cursor: pointer; transition: border-color .2s, color .2s; }
.snp-l-paste:hover { border-color: #FFC2D2; color: var(--sp); } .snp-l-paste svg { width: 15px; height: 15px; } .snp-l-paste kbd { padding: 0 4px; font-size: 10.5px; }

/* library */
.snp-lib { margin-top: 14px; }
.snp-lib-head { display: flex; align-items: baseline; gap: 8px; padding: 0 4px 8px; } .snp-lib-head b { font-size: 13.5px; } .snp-lib-head small { color: var(--mut); font-size: 12px; } .snp-lib-head .snp-link { margin-left: auto; font-size: 12.5px; }
.snp-lib-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.snp-lib-list.is-all { max-height: 320px; overflow: auto; padding-right: 2px; }
.snp-li { position: relative; display: flex; align-items: center; border-radius: 14px; border: 1px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .25s, transform .3s var(--spring); animation: snp-rise .4s var(--spring) both; }
.snp-li:hover { border-color: #FFD0DC; box-shadow: 0 12px 24px -18px rgba(255, 0, 81, .5); }
.snp-li.is-new { animation: snp-linew .9s var(--spring) both; }
@keyframes snp-linew { 0% { opacity: 0; transform: translateY(-8px) scale(.97); } 40% { box-shadow: 0 0 0 4px rgba(255, 0, 81, .15); } }
.snp-li-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 11px; padding: 7px; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.snp-li-th { position: relative; flex: none; width: 66px; height: 44px; border-radius: 9px; overflow: hidden; background: repeating-conic-gradient(#F1F2F4 0 25%, #fff 0 50%) 0 0 / 10px 10px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.snp-li-th img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--spring); }
.snp-li:hover .snp-li-th img { transform: scale(1.06); }
.snp-li-th .k { position: absolute; left: 4px; bottom: 4px; display: grid; place-items: center; min-width: 18px; height: 16px; padding: 0 4px; border-radius: 5px; background: rgba(15, 16, 18, .78); color: #fff; font: 800 9px var(--font); }
.snp-li-th .k svg { width: 9px; height: 9px; fill: #fff; }
.snp-li-t { min-width: 0; line-height: 1.25; } .snp-li-t b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .snp-li-t small { color: var(--mut); font-size: 11.5px; }
.snp-li-acts { display: flex; gap: 2px; padding-right: 7px; opacity: .0; transition: opacity .2s; }
.snp-li:hover .snp-li-acts, .snp-li:focus-within .snp-li-acts { opacity: 1; }
.snp-li-acts button { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 9px; background: none; color: var(--ink2); cursor: pointer; transition: background .2s, color .2s; }
.snp-li-acts button:hover { background: #FFF0F4; color: var(--sp); } .snp-li-acts svg { width: 15px; height: 15px; }
.snp-li-pill { position: absolute; top: -7px; right: 10px; display: inline-flex; align-items: center; gap: 3px; padding: 1px 7px; border-radius: 99px; background: #E7F8F1; color: #047857; font: 700 10.5px var(--font); }
.snp-li-pill svg { width: 10px; height: 10px; }
.snp-lib-empty { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; border: 1.5px dashed #E6E8EB; color: var(--ink2); }
.snp-lib-empty > span { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: #FFF0F4; color: var(--sp); } .snp-lib-empty svg { width: 19px; height: 19px; }
.snp-lib-empty p { margin: 0; line-height: 1.3; } .snp-lib-empty b { display: block; font-size: 13.5px; color: var(--ink); } .snp-lib-empty small { font-size: 12px; color: var(--mut); }
@media (hover: none) { .snp-li-acts { opacity: 1; } }

/* record face */
.snp-face-rec { display: grid; gap: 10px; }
.snp-fmt { display: grid !important; grid-template-columns: 1fr 1fr; } .snp-fmt button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; }
.snp-fmt button svg { width: 16px; height: 16px; }
.snp-launch .snp-rec-opts { gap: 8px; } .snp-launch .snp-opt { padding: 10px; gap: 9px; border-radius: 14px; } .snp-launch .snp-opt-ic { width: 34px; height: 34px; border-radius: 11px; }
.snp-launch .snp-opt b { font-size: 13.5px; } .snp-launch .snp-opt small { font-size: 11.5px; } .snp-launch .snp-switch { width: 34px; height: 20px; } .snp-launch .snp-switch::after { width: 14px; height: 14px; }
.snp-launch input:checked + .snp-switch::after, .snp-launch input:checked ~ .snp-switch::after { transform: translateX(14px); }
.snp-launch .snp-rec-set { display: grid; gap: 6px; margin: 0; }
.snp-launch .snp-setrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 2px 0 6px; font-size: 13px; font-weight: 600; color: var(--ink2); }
.snp-gif-note { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 12px; border-radius: 12px; background: #F3EEFF; color: #5B21B6; font-size: 13px; font-weight: 600; } .snp-gif-note svg { width: 16px; height: 16px; flex: none; }
.snp-launch .snp-rec-go { width: 100%; min-width: 0; margin-top: 4px; gap: 10px; }
.snp-launch .snp-drop-hint { margin-top: 2px; font-size: 12.5px; }

/* capture overlay */
.snp-ov { position: fixed; inset: 0; z-index: 200; background: #0B0C0F radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .06) 1px, transparent 0) 0 0 / 22px 22px; animation: snp-fade .18s ease both; outline: 0; user-select: none; -webkit-user-select: none; }
.snp-ov canvas { position: absolute; inset: 0; display: block; cursor: crosshair; touch-action: none; }
.snp-ov-hint { position: absolute; left: 50%; top: 20px; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 9px 10px 9px 14px; border-radius: 14px; background: rgba(23, 24, 28, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #E9EAEC; font: 600 13.5px var(--font); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6); transform: translateX(-50%); animation: snp-hint .5s .1s var(--spring) both; white-space: nowrap; }
@keyframes snp-hint { from { opacity: 0; transform: translate(-50%, -10px); } }
.snp-ov-hint svg { width: 16px; height: 16px; color: #FF5C8A; } .snp-ov-hint b { color: #fff; } .snp-ov-hint i.d { width: 3px; height: 3px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.snp-ov-hint button { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 10px; border: 0; border-radius: 9px; background: rgba(255, 255, 255, .1); color: #fff; font: 700 13px var(--font); cursor: pointer; transition: background .2s; }
.snp-ov-hint button:hover { background: var(--sp); }
.snp-ov kbd { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .18); color: #fff; padding: 0 5px; }
.snp-ov-size { position: absolute; left: 0; top: 0; z-index: 3; padding: 4px 9px; border-radius: 7px; background: rgba(17, 18, 21, .88); color: #fff; font: 700 12px var(--font); font-variant-numeric: tabular-nums; pointer-events: none; }
.snp-ov-v, .snp-ov-h { position: absolute; left: 0; top: 0; z-index: 4; display: flex; gap: 2px; padding: 5px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 20px 44px -16px rgba(0, 0, 0, .55); animation: snp-ovin .26s var(--pop) both; }
.snp-ov-v { flex-direction: column; }
@keyframes snp-ovin { from { opacity: 0; scale: .9; } }
.snp-ov-b { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: #33383E; cursor: pointer; transition: background .15s, color .15s, transform .25s var(--pop); }
.snp-ov-b svg { width: 18px; height: 18px; }
.snp-ov-b:hover { background: #F2F3F5; color: #111; } .snp-ov-b:active { transform: scale(.9); }
.snp-ov-b.is-on { color: #fff; background: linear-gradient(135deg, #FF3370, var(--sp2)); box-shadow: 0 6px 14px -6px rgba(255, 0, 81, .8); }
.snp-ov-b.x:hover { background: #FFEEF2; color: #E11D48; }
.snp-ov-b[data-tip]::after { content: attr(data-tip); position: absolute; z-index: 5; padding: 5px 8px; border-radius: 8px; background: #17181C; color: #fff; font: 600 12px var(--font); white-space: pre; opacity: 0; pointer-events: none; transition: opacity .15s, transform .2s var(--spring); }
.snp-ov-h .snp-ov-b[data-tip]::after { bottom: calc(100% + 8px); left: 50%; transform: translate(-50%, 4px); }
.snp-ov-v .snp-ov-b[data-tip]::after { right: calc(100% + 10px); top: 50%; transform: translate(4px, -50%); }
.snp-ov-b:hover::after { opacity: 1; transition-delay: .3s; }
.snp-ov-h .snp-ov-b:hover::after { transform: translate(-50%, 0); } .snp-ov-v .snp-ov-b:hover::after { transform: translate(0, -50%); }
.snp-ov-sep { width: 1px; margin: 6px 3px; background: #E7E8EA; }
.snp-ov-sw { width: 18px; height: 18px; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(0, 0, 0, .15); }
.snp-ov-colors { position: absolute; right: 40px; bottom: calc(100% + 8px); display: flex; gap: 6px; padding: 8px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 16px 34px -14px rgba(0, 0, 0, .5); animation: snp-ovin .22s var(--pop) both; }
.snp-ov-colors button { width: 22px; height: 22px; border: 2px solid #fff; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px rgba(0, 0, 0, .14); cursor: pointer; transition: transform .25s var(--pop); }
.snp-ov-colors button:hover { transform: scale(1.18); }
.snp-ov-text { position: absolute; z-index: 5; min-width: 120px; margin: 0; padding: 0 2px; border: 1.5px dashed rgba(255, 255, 255, .8); border-radius: 4px; background: rgba(0, 0, 0, .15); font-family: Inter, system-ui, sans-serif; font-weight: 800; line-height: 1.2; resize: none; overflow: hidden; outline: 0; }
.snp-sheet { z-index: 260; } .snp-toasts { z-index: 300; } .snp-count { z-index: 280; }

/* GIF result */
.snp-result-media { position: relative; min-width: 0; }
.snp-result-media video, .snp-result-media img { display: block; width: 100%; border-radius: 16px; background: #0F1012; }
.snp-gifprog { display: grid; justify-items: center; gap: 8px; padding: 56px 20px; border-radius: 16px; background: linear-gradient(135deg, #F7F3FF, #FFF0F4); text-align: center; }
.snp-gifprog small { color: var(--mut); font-size: 13px; }
.snp-gifprog .snp-ring { margin-bottom: 6px; }

/* ---------------- sections (CleanShot-style rhythm) */
.snp-sec { padding: clamp(72px, 10vw, 128px) 0; }
.snp-sh { max-width: 720px; margin: 0 auto clamp(34px, 5vw, 56px); text-align: center; }
.snp-sh h2, .snp-row-t h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -.04em; font-weight: 800; text-wrap: balance; margin: 14px 0 0; }
.snp-sh p { margin: 16px auto 0; max-width: 58ch; color: var(--ink2); font-size: clamp(15.5px, 1.3vw, 18px); line-height: 1.6; }
.snp-kick { display: inline-flex; align-items: center; gap: 7px; color: var(--sp); font: 700 13.5px var(--font); letter-spacing: .01em; }
.snp-kick svg { width: 16px; height: 16px; }
.snp-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; padding: 0; border: 0; background: none; color: var(--sp); font: 700 15px var(--font); cursor: pointer; }
.snp-more svg { width: 17px; height: 17px; transition: transform .3s var(--spring); } .snp-more:hover svg { transform: translateX(4px); }
.snp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.snp-c { padding: 12px 12px 22px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(0, 0, 0, .02); transition: transform .45s var(--spring), box-shadow .4s, border-color .3s; }
.wf-alt .snp-c { border-color: transparent; }
.snp-c:hover { transform: translateY(-6px); border-color: #FFD0DC; box-shadow: 0 34px 60px -40px rgba(255, 0, 81, .45); }
.snp-c h3 { margin: 18px 12px 0; font-size: 18px; letter-spacing: -.02em; } .snp-c p { margin: 6px 12px 0; color: var(--ink2); font-size: 14.5px; line-height: 1.55; }
.snp-c-vis { position: relative; display: grid; place-items: center; height: 190px; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, #FFF3F6, #F6F1FF); }
.snp-c:hover .snp-c-vis > * { transform: translateY(-3px); }
.snp-c-vis > * { transition: transform .5s var(--spring); }
.v-cam .scr { position: relative; display: grid; gap: 9px; width: 70%; padding: 18px; border-radius: 12px; background: #fff; box-shadow: 0 18px 34px -22px rgba(40, 20, 30, .5); }
.v-cam .scr i { height: 9px; border-radius: 5px; background: #E7E9EC; } .v-cam .scr i:first-child { width: 55%; background: #1F2323; } .v-cam .scr i:last-child { width: 75%; }
.v-cam .bub { position: absolute; right: 16%; bottom: 14%; width: 74px; height: 74px; border-radius: 50%; padding: 4px; background: #fff; box-shadow: 0 16px 30px -12px rgba(40, 20, 30, .5); }
.v-cam .bub span { display: block; width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #FFD8C2 0 17%, transparent 18%), radial-gradient(ellipse at 50% 92%, #6D28D9 0 34%, transparent 35%), linear-gradient(135deg, #FDBA74, #F43F5E); }
.v-wave { display: flex !important; align-items: center; justify-content: center; gap: 4px; }
.v-wave > i { width: 5px; height: calc(14px + 60px * var(--h, .5)); border-radius: 3px; background: linear-gradient(#FF4D7E, #8B5CF6); animation: snp-eq 1.1s ease-in-out infinite; animation-delay: calc(var(--i) * -.09s); }
@keyframes snp-eq { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.v-wave .lbl { position: absolute; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; background: #fff; font: 700 12px var(--font); box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .3); } .v-wave .lbl svg { width: 13px; height: 13px; color: var(--sp); }
.v-fmt { gap: 0; } .v-fmt .f { position: absolute; display: grid; place-items: center; width: 86px; height: 104px; border-radius: 14px; color: #fff; font: 800 20px var(--font); box-shadow: 0 20px 34px -16px rgba(40, 20, 30, .55); }
.v-fmt .mp4 { left: calc(50% - 92px); top: 30px; background: linear-gradient(135deg, #38BDF8, #6366F1); transform: rotate(-8deg); } .v-fmt .gif { left: calc(50% + 4px); top: 44px; background: linear-gradient(135deg, #C084FC, #6D28D9); transform: rotate(7deg); }
.snp-c:hover .v-fmt .mp4 { transform: rotate(-12deg) translateY(-4px); } .snp-c:hover .v-fmt .gif { transform: rotate(11deg) translateY(-4px); }
.v-fmt .strip { position: absolute; bottom: 14px; display: flex; gap: 4px; } .v-fmt .strip i { width: 22px; height: 14px; border-radius: 3px; background: rgba(109, 40, 217, .22); }
.v-q { align-content: center; justify-items: center; gap: 2px; } .v-q b { font-size: 58px; line-height: 1; letter-spacing: -.05em; background: linear-gradient(135deg, #FF4D7E, #6D28D9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.v-q span { font: 800 18px var(--font); color: var(--ink); } .v-q small { margin-top: 8px; color: var(--mut); font-size: 12px; font-weight: 600; }
.v-pill .pill { display: inline-flex; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; border-radius: 16px; background: #17181C; color: #fff; box-shadow: 0 20px 36px -16px rgba(0, 0, 0, .6); }
.v-pill .pill b { font: 800 16px var(--font); font-variant-numeric: tabular-nums; } .v-pill .pill svg { width: 18px; height: 18px; color: #C9CCD1; }
.v-pill .stop { width: 30px; height: 30px; border-radius: 10px; background: #FF0051 linear-gradient(#fff, #fff) center / 10px 10px no-repeat; }
.v-count .n { position: relative; z-index: 1; font: 800 74px var(--font); color: var(--ink); animation: snp-tick 1s ease-in-out infinite; }
.v-count .ring { position: absolute; width: 120px; height: 120px; border-radius: 50%; border: 5px solid #FFD0DC; border-top-color: var(--sp); animation: snp-spin 1s linear infinite; }
.v-link { align-content: center; gap: 12px; } .v-link .url { display: inline-flex; align-items: center; gap: 8px; padding: 11px 14px; border-radius: 12px; background: #fff; font: 700 13.5px var(--font); color: var(--ink); box-shadow: 0 14px 28px -16px rgba(40, 20, 30, .45); }
.v-link .url svg { width: 15px; height: 15px; color: var(--sp); }
.v-link .ok { justify-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; background: #10B981; color: #fff; font: 700 12.5px var(--font); animation: snp-bob 3s ease-in-out infinite; } .v-link .ok svg { width: 14px; height: 14px; stroke-width: 3; }
.v-key { grid-auto-flow: column; gap: 12px; } .v-key .k { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; color: #fff; background: linear-gradient(135deg, #FDBA74, #F43F5E); box-shadow: 0 16px 28px -14px rgba(244, 63, 94, .7); }
.v-key .k svg { width: 30px; height: 30px; } .v-key .t { display: grid; padding: 10px 14px; border-radius: 12px; background: #fff; box-shadow: 0 14px 28px -18px rgba(40, 20, 30, .45); } .v-key .t b { font-size: 14px; } .v-key .t small { color: var(--mut); font-size: 12px; }
.v-exp { align-content: center; justify-items: center; gap: 10px; } .v-exp .cal { display: grid; justify-items: center; width: 92px; padding: 20px 0 12px; border-radius: 18px; background: #fff; border-top: 16px solid var(--sp); box-shadow: 0 18px 30px -16px rgba(40, 20, 30, .45); }
.v-exp .cal b { font-size: 34px; line-height: 1; letter-spacing: -.04em; } .v-exp .cal small { color: var(--mut); font-weight: 700; font-size: 12px; } .v-exp .t { font: 700 13px var(--font); color: var(--ink2); }
.v-play { align-content: center; justify-items: center; gap: 18px; } .v-play .pl { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: #fff; color: var(--sp); box-shadow: 0 18px 30px -14px rgba(255, 0, 81, .55); }
.v-play .pl svg { width: 26px; height: 26px; fill: currentColor; margin-left: 4px; } .v-play .bar { width: 64%; height: 6px; border-radius: 3px; background: rgba(255, 0, 81, .15); overflow: hidden; } .v-play .bar i { display: block; width: 40%; height: 100%; background: var(--sp); animation: snp-prog 3.2s ease-in-out infinite; }
@keyframes snp-prog { from { width: 8%; } to { width: 92%; } }
.v-clean .m, .v-noindex .m { display: inline-flex; align-items: center; gap: 8px; max-width: 80%; padding: 12px 16px; border-radius: 14px; background: #fff; font: 700 13.5px var(--font); color: var(--ink); box-shadow: 0 14px 28px -16px rgba(40, 20, 30, .45); }
.v-clean .m svg { width: 18px; height: 18px; color: #10B981; flex: none; } .v-noindex .m svg { width: 18px; height: 18px; color: #6D28D9; flex: none; }

/* tools showcase */
.snp-tools-show { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 28px; align-items: center; }
.snp-tabs { display: grid; gap: 4px; }
.snp-tab { display: flex; align-items: center; gap: 13px; padding: 11px 12px; border: 1px solid transparent; border-radius: 16px; background: none; font: inherit; text-align: left; color: var(--ink); cursor: pointer; transition: background .25s, border-color .25s, box-shadow .3s, transform .3s var(--spring); }
.snp-tab:hover { background: rgba(255, 255, 255, .7); }
.snp-tab.is-on { background: #fff; border-color: var(--line); box-shadow: 0 16px 34px -22px rgba(40, 20, 30, .4); transform: translateX(4px); }
.snp-tab .ic { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 12px; background: #fff; color: var(--ink2); box-shadow: inset 0 0 0 1px var(--line); transition: background .25s, color .25s; }
.snp-tab.is-on .ic { color: #fff; background: linear-gradient(135deg, #FF4D7E, var(--sp2)); box-shadow: 0 8px 16px -8px rgba(255, 0, 81, .7); }
.snp-tab .ic svg { width: 18px; height: 18px; } .snp-tab b { display: block; font-size: 15px; letter-spacing: -.01em; } .snp-tab small { color: var(--mut); font-size: 13px; line-height: 1.35; }
.snp-demo { position: relative; display: grid; place-items: center; padding: clamp(14px, 3vw, 34px); border-radius: 28px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: background .5s; }
.snp-demo-win { width: 100%; border-radius: 14px; box-shadow: 0 30px 60px -36px rgba(40, 20, 30, .5), 0 0 0 1px rgba(0, 0, 0, .05); transition: transform .6s var(--spring), box-shadow .5s, border-radius .5s; }
.snp-mock { display: block; width: 100%; height: auto; border-radius: 14px; }
.snp-mock .o { opacity: 0; transition: opacity .45s ease; }
.snp-demo[data-tooldemo="markup"] .o-markup, .snp-demo[data-tooldemo="redact"] .o-redact, .snp-demo[data-tooldemo="crop"] .o-crop, .snp-demo[data-tooldemo="spot"] .o-spot, .snp-demo[data-tooldemo="steps"] .o-steps, .snp-demo[data-tooldemo="hl"] .o-hl { opacity: 1; }
.snp-demo[data-tooldemo="markup"] .o-markup path, .snp-demo[data-tooldemo="markup"] .o-markup rect { stroke-dasharray: 600; animation: snp-draw .9s var(--spring) both; }
@keyframes snp-draw { from { stroke-dashoffset: 600; } to { stroke-dashoffset: 0; } }
.snp-demo[data-tooldemo="steps"] .o-steps circle { animation: snp-ovin .4s var(--pop) both; }
.snp-demo[data-tooldemo="bg"] { background: linear-gradient(135deg, #FF4D7E, #BC0050); }
.snp-demo[data-tooldemo="bg"] .snp-demo-win { transform: scale(.86); box-shadow: 0 40px 70px -30px rgba(60, 0, 20, .7); }

/* feature rows */
.snp-rows { display: grid; gap: clamp(56px, 8vw, 104px); }
.snp-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.snp-row.rev .snp-row-t { order: 2; }
.snp-row-t ul { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.snp-row-t li { display: flex; align-items: center; gap: 10px; color: var(--ink2); font-size: 16px; font-weight: 600; }
.snp-row-t li svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; color: var(--sp); background: #FFE8EF; stroke-width: 3; flex: none; }
.snp-row-v { position: relative; display: grid; place-items: center; min-height: 340px; border-radius: 28px; overflow: hidden; }
.v-bg { background: linear-gradient(135deg, #38BDF8, #6366F1); }
.v-bg .win { width: 72%; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 40px 70px -30px rgba(20, 20, 60, .65); transition: transform .6s var(--spring); }
.snp-row:hover .v-bg .win { transform: translateY(-6px) rotate(-1deg); }
.v-bg .bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #F6F7F8; } .v-bg .bar i { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; } .v-bg .bar i:nth-child(2) { background: #FEBC2E; } .v-bg .bar i:nth-child(3) { background: #28C840; }
.v-bg .bar em { width: 46%; height: 14px; margin: 0 auto; border-radius: 7px; background: #ECEDEF; }
.v-bg .body { display: grid; gap: 12px; padding: 26px; } .v-bg .body i { height: 12px; border-radius: 6px; background: #E7E9EC; } .v-bg .body i:first-child { width: 50%; height: 18px; background: #1F2323; } .v-bg .body i:last-child { width: 70%; }
.v-pin { background: linear-gradient(135deg, #FFF3F6, #F3EEFF); }
.v-pin .desk { display: grid; gap: 12px; width: 70%; padding: 24px; border-radius: 16px; background: #fff; box-shadow: 0 30px 60px -36px rgba(40, 20, 30, .5); } .v-pin .desk i { height: 12px; border-radius: 6px; background: #E7E9EC; } .v-pin .desk i:first-child { width: 40%; }
.v-pin .pinned { position: absolute; right: 12%; top: 16%; display: grid; place-items: start end; width: 150px; height: 104px; padding: 8px; border-radius: 12px; background: linear-gradient(135deg, #FF4D7E, #BC0050); box-shadow: 0 30px 50px -20px rgba(255, 0, 81, .6), 0 0 0 4px #fff; transform: rotate(4deg); animation: snp-bob 5s ease-in-out infinite; }
.v-pin .pinned svg { width: 22px; height: 22px; padding: 4px; border-radius: 8px; background: #fff; color: var(--sp); }
.v-hist { align-content: center; gap: 10px; background: linear-gradient(135deg, #F6F1FF, #FFF3F6); }
.v-hist .it { display: flex; align-items: center; gap: 12px; width: min(360px, 82%); padding: 10px; border-radius: 16px; background: #fff; box-shadow: 0 16px 30px -22px rgba(40, 20, 30, .5); transition: transform .5s var(--spring); }
.v-hist .it:nth-child(2) { transform: translateX(22px); } .v-hist .it:nth-child(3) { transform: translateX(-12px); }
.snp-row:hover .v-hist .it { transform: none; }
.v-hist .th { width: 72px; height: 46px; border-radius: 10px; flex: none; background: linear-gradient(135deg, #FF4D7E, #BC0050); } .v-hist .th.b { background: linear-gradient(135deg, #C084FC, #6D28D9); } .v-hist .th.c { background: linear-gradient(135deg, #38BDF8, #6366F1); }
.v-hist b { display: block; font-size: 14px; } .v-hist small { color: var(--mut); font-size: 12px; }

/* everyday grid + final CTA */
.snp-grid6 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.snp-g { padding: 24px; border-radius: 22px; background: var(--soft); border: 1px solid transparent; transition: background .3s, border-color .3s, transform .4s var(--spring); }
.snp-g:hover { background: #fff; border-color: var(--line); transform: translateY(-4px); }
.snp-g .ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #fff; color: var(--sp); box-shadow: 0 8px 18px -12px rgba(255, 0, 81, .6); } .snp-g .ic svg { width: 21px; height: 21px; }
.snp-g h3 { margin: 16px 0 0; font-size: 17px; letter-spacing: -.02em; } .snp-g p { margin: 6px 0 0; color: var(--ink2); font-size: 14.5px; line-height: 1.55; }
.snp-final { padding: clamp(72px, 10vw, 120px) 0; background: radial-gradient(700px 320px at 50% 100%, rgba(255, 0, 81, .1), transparent 70%), #fff; }
.snp-final-in { text-align: center; }
.snp-final h2 { font-size: clamp(34px, 5vw, 60px); line-height: 1.04; letter-spacing: -.045em; font-weight: 800; text-wrap: balance; max-width: 760px; margin: 0 auto; }
.snp-final p { margin: 16px 0 0; color: var(--ink2); font-size: 17px; }

@media (max-width: 1080px) {
  .snp-float { display: none; }
  .snp-cards, .snp-grid6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .snp-tools-show { grid-template-columns: 1fr; } .snp-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .snp-tab.is-on { transform: none; }
  .snp-row, .snp-row.rev { grid-template-columns: 1fr; } .snp-row.rev .snp-row-t { order: 0; }
}
@media (max-width: 640px) {
  .snp-cards, .snp-grid6, .snp-tabs { grid-template-columns: 1fr; }
  .snp-tab small { display: none; }
  .snp-l-tiles { gap: 7px; } .snp-l-tile { font-size: 12px; border-radius: 15px; } .snp-l-tile .ic { width: 38px; height: 38px; border-radius: 12px; }
  .snp-l-row { flex-wrap: wrap; } .snp-l-paste { margin-left: 0; }
  .snp-launch .snp-rec-opts { grid-template-columns: 1fr; }
  .snp-launch .snp-setrow { flex-wrap: wrap; }
  .snp-ov-hint { top: 12px; font-size: 12px; } .snp-ov-hint > span:last-child, .snp-ov-hint i.d:nth-of-type(2) { display: none; }
  .snp-row-v { min-height: 260px; }
  .snp-hero-cta .btn kbd { display: none; }
}
.snp-demo { display: block; }
.snp-seg.sm { display: inline-flex; flex-wrap: nowrap; white-space: nowrap; }
.snp-l-row .snp-seg { flex: none; }
.snp-hero-grid { grid-template-columns: minmax(0, 1fr); }
.snp-hero-grid > * { min-width: 0; max-width: 100%; }
.snp-hero h1 { overflow-wrap: anywhere; }
@media (max-width: 640px) { .snp-hero h1 { font-size: clamp(34px, 9.5vw, 44px); } .snp-launch-wrap { padding: 0; } .snp-rings { width: 170vw; } }

/* ============================================================ phones, tablets, touch & installed-app mode */
.snp button, .snp a, .snp label, .snp-ov button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.snp-l-install { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; border: 0; border-radius: 10px; background: #FFF0F4; color: var(--sp); font: 700 12.5px var(--font); cursor: pointer; white-space: nowrap; animation: snp-ovin .3s var(--pop) both; }
.snp-l-install svg { width: 15px; height: 15px; }
.snp-mob-note, .snp-mob-tip { display: none; align-items: flex-start; gap: 8px; margin: 0; padding: 10px 12px; border-radius: 12px; font-size: 13px; font-weight: 600; line-height: 1.45; }
.snp-mob-note svg, .snp-mob-tip svg { width: 16px; height: 16px; flex: none; margin-top: 1px; }
.snp-mob-note { background: #FFF7E6; color: #92400E; }
.snp-mob-tip { margin-top: 12px; background: #F3EEFF; color: #5B21B6; }
.snp.no-record .snp-mob-note { display: flex; }
.snp.no-record .snp-face-rec .snp-fmt, .snp.no-record .snp-face-rec .snp-rec-opts, .snp.no-record .snp-face-rec .snp-rec-set, .snp.no-record .snp-face-rec [data-act="record"] { opacity: .42; pointer-events: none; }
.snp.no-capture .snp-mob-tip { display: flex; }
.snp.no-capture .snp-l-row > span, .snp.no-capture .snp-l-row [data-delay] { display: none; }
.snp.no-capture .snp-l-row { justify-content: center; } .snp.no-capture .snp-l-paste { margin: 0; }
.snp.is-touch .snp-hero-cta kbd, .snp.is-touch .snp-l-paste kbd, .snp.is-touch .snp-foot kbd, .snp.is-touch .snp-ov-hint kbd { display: none; }
.snp.is-touch section:has(.snp-keys) { display: none; }
.snp-ov-text { -webkit-user-select: text; user-select: text; }
.snp-ov { padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); overscroll-behavior: contain; }

@media (max-width: 719.98px) {
  /* overlay: fixed app-style bars */
  .snp-ov-v { transform: none !important; left: auto; right: 10px; top: calc(10px + env(safe-area-inset-top)); flex-direction: row; animation: snp-fade .2s both; }
  .snp-ov-h { transform: none !important; left: 10px; right: 10px; top: auto; bottom: calc(10px + env(safe-area-inset-bottom)); overflow-x: auto; scrollbar-width: none; animation: snp-fade .2s both; }
  .snp-ov-h::-webkit-scrollbar { display: none; }
  .snp-ov-b { flex: none; width: 42px; height: 42px; }
  .snp-ov-b[data-tip]::after { display: none; }
  .snp-ov-sep { flex: none; }
  .snp-ov-size { transform: none !important; left: 12px; top: calc(20px + env(safe-area-inset-top)); }
  .snp-ov-colors { position: fixed; left: 10px; right: 10px; bottom: calc(68px + env(safe-area-inset-bottom)); justify-content: space-between; animation: snp-fade .2s both; }
  .snp-ov-colors button { width: 30px; height: 30px; }
  .snp-ov-hint { left: 10px; right: 10px; transform: none; justify-content: center; flex-wrap: wrap; white-space: normal; animation: snp-fade .3s both; }

  /* editor: one scrolling tool row, big touch targets */
  .snp-work { padding: 12px 0 32px; }
  .snp-shell { width: calc(100vw - 16px); border-radius: 18px; }
  .snp-bar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 4px; padding: 8px 10px; top: 62px; }
  .snp-bar::-webkit-scrollbar { display: none; }
  .snp-tools, .snp-colors, .snp-sizes, .snp-hist, .snp-sep { flex: none; }
  .snp-tool { width: 42px; height: 42px; }
  .snp-tip { display: none; }
  .snp-color { width: 28px; height: 28px; }
  .snp-stage { padding: 12px; min-height: 0; }
  .snp-body { min-height: 0; }
  .snp-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; }
  .snp-foot-gap { display: none; }
  .snp-foot .btn { width: 100%; justify-content: center; }
  .snp-foot [data-act="share"] { grid-column: 1 / -1; order: -1; }
  .snp-result { gap: 16px; padding: 12px; }
  .snp-launch { padding: 14px; border-radius: 22px; }
  .snp-sheet-card { width: calc(100vw - 24px); }
  .snp-toasts { left: 12px; right: 12px; top: calc(70px + env(safe-area-inset-top)); transform: none; }
}
@media (max-width: 380px) {
  .snp-l-tile b { font-size: 11px; }
  .snp-l-head .snp-l-name small { display: none; }
}
/* tablets in landscape */
@media (min-width: 720px) and (max-width: 1080px) { .snp-shell { width: calc(100vw - 32px); } }

/* installed app: just the tool */
.snp.is-app .site-nav, .snp.is-app .site-foot, .snp.is-app .snp-hero-copy, .snp.is-app .snp-rings, .snp.is-app .snp-float,
.snp.is-app main > section:not(.snp-hero):not(.snp-work), .snp.is-app .snp-final { display: none !important; }
.snp.is-app .snp-hero { min-height: 100vh; min-height: 100dvh; padding: calc(18px + env(safe-area-inset-top)) 0 calc(18px + env(safe-area-inset-bottom)); display: grid; align-items: center; }
.snp.is-app .snp-launch-wrap { padding: 0; }
.snp.is-app .snp-bar { top: 0; }

/* keep the site chat out of the way of the tool */
html.snp-lock #lhc, html.snp-app #lhc { display: none !important; }
@media (max-width: 719.98px) {
  html.snp-page #lhc .lhc-nudge { display: none !important; }
  html.snp-page.snp-editing #lhc { display: none !important; }
  .snp-l-head:has(.snp-l-install:not([hidden])) .snp-l-name small { display: none; }
}
.snp.is-app .snp-hero { align-items: start; }

/* ============================================================ v3 — recorder page (Loom-style features, same Snap look) */
.snp.is-recpage .snp-hero { background: radial-gradient(700px 360px at 20% -5%, rgba(139, 92, 246, .12), transparent 70%), radial-gradient(800px 420px at 85% 0, rgba(255, 0, 81, .1), transparent 70%), linear-gradient(#fff, #FAFAFB); }
.snp.is-recpage .snp-rings circle { stroke: #D9C8F3; }
.snp.is-recpage .snp-float.f1 { font-size: 14px; } .snp-float b { font-weight: 800; }
.snp.is-recpage .snp-float.f3 svg { color: #8B5CF6; }
.snp-hero-cta .btn .snp-recdot { width: 11px; height: 11px; }

/* record face: modes, camera preview, mic meter */
.snp-rmodes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.snp-rmodes button { display: grid; justify-items: center; gap: 6px; padding: 12px 6px 10px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--soft); font: 700 12.5px var(--font); color: var(--ink2); cursor: pointer; transition: border-color .25s, background .25s, color .25s, transform .3s var(--pop); }
.snp-rmodes button:hover { transform: translateY(-2px); background: #fff; }
.snp-rmodes button.is-on { border-color: var(--sp); background: #fff; color: var(--ink); box-shadow: 0 0 0 4px rgba(255, 0, 81, .1); }
.snp-rmodes .mi { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: #fff; color: var(--ink2); box-shadow: inset 0 0 0 1px var(--line); }
.snp-rmodes .is-on .mi { color: #fff; background: linear-gradient(135deg, #FF4D7E, var(--sp2)); box-shadow: 0 8px 16px -8px rgba(255, 0, 81, .7); }
.snp-rmodes .mi svg { width: 19px; height: 19px; }
.snp-rmodes .mi .dot { position: absolute; right: -4px; bottom: -4px; width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid #fff; background: radial-gradient(circle at 50% 38%, #FFD8C2 0 22%, transparent 24%), linear-gradient(135deg, #FDBA74, #F43F5E); }
.snp.no-record .snp-face-rec .snp-fmt, .snp.no-record .snp-face-rec .snp-rec-opts, .snp.no-record .snp-face-rec .snp-rec-set, .snp.no-record .snp-face-rec [data-act="record"] { opacity: 1; pointer-events: auto; }
.snp.no-record .snp-rmodes [data-v^="screen"] { opacity: .45; }
.snp-launch[data-rm="screen"] [data-needs-cam], .snp-launch[data-rm="cam"] [data-needs-screen], .snp-launch[data-rm="cam"] [data-needs-bubble] { display: none !important; }
.snp-campre { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; border-radius: 16px; background: var(--soft); }
.snp-campre-v { position: relative; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, #2A2B33, #17181C); box-shadow: 0 0 0 3px #fff, 0 10px 22px -12px rgba(0, 0, 0, .5); transition: border-radius .35s var(--spring); }
.snp-campre-v.is-rounded { border-radius: 26%; }
.snp-campre-v video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); opacity: 0; transition: opacity .3s; }
.snp-campre-v.is-on video { opacity: 1; }
.snp-campre-on { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 3px; border: 0; background: none; color: #fff; font: 700 11px var(--font); cursor: pointer; }
.snp-campre-on svg { width: 20px; height: 20px; }
.snp-campre-v.is-on .snp-campre-on { opacity: 0; } .snp-campre-v.is-on:hover .snp-campre-on { opacity: 1; background: rgba(0, 0, 0, .35); }
.snp-campre-v.is-on .snp-campre-on span::after { content: " · off"; }
.snp-campre-r { display: grid; gap: 8px; min-width: 0; }
.snp-campre-r .snp-setrow { padding: 0; }
.snp-meter { display: flex; align-items: center; gap: 8px; color: var(--ink2); } .snp-meter svg { width: 15px; height: 15px; flex: none; }
.snp-meter > span { flex: 1; height: 7px; border-radius: 4px; background: #E4E6E9; overflow: hidden; }
.snp-meter [data-meter] { display: block; width: 0; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #10B981, #FACC15 70%, #FF0051); transition: width .08s linear; }
.snp-campre-hint { color: var(--mut); font-size: 11.5px; line-height: 1.35; }
.snp-opt-cap { margin: 0; }

/* result: title, trim, transcript */
.snp-rtitle { display: grid; gap: 5px; margin: 4px 0 6px; font-size: 12.5px; font-weight: 700; color: var(--ink2); }
.snp-rtitle input, .snp-v-in { width: 100%; height: 42px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font: 600 14.5px var(--font, Inter, system-ui, sans-serif); color: var(--ink, #1F2323); outline: 0; transition: border-color .2s, box-shadow .2s; box-sizing: border-box; }
.snp-rtitle input:focus, .snp-v-in:focus { border-color: var(--sp, #FF0051); box-shadow: 0 0 0 4px rgba(255, 0, 81, .12); }
textarea.snp-v-in { height: auto; padding: 10px 12px; resize: vertical; line-height: 1.45; }
.snp-trim { margin-top: 12px; padding: 12px; border-radius: 14px; background: var(--soft); }
.snp-trim-track { position: relative; height: 34px; border-radius: 10px; background: repeating-linear-gradient(90deg, #E3E5E8 0 6px, #ECEEF0 6px 12px); }
.snp-trim-track .sel { position: absolute; top: 0; bottom: 0; left: 0; right: 0; border: 2.5px solid var(--sp); border-radius: 10px; background: rgba(255, 0, 81, .1); pointer-events: none; }
.snp-trim-track input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; background: none; -webkit-appearance: none; appearance: none; pointer-events: none; }
.snp-trim-track input::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 40px; border-radius: 6px; background: var(--sp); box-shadow: 0 4px 10px -4px rgba(255, 0, 81, .8), inset 0 0 0 3px #fff; pointer-events: auto; cursor: ew-resize; }
.snp-trim-track input::-moz-range-thumb { width: 14px; height: 40px; border: 0; border-radius: 6px; background: var(--sp); pointer-events: auto; cursor: ew-resize; }
.snp-trim-track input::-moz-range-track { background: none; }
.snp-trim-row { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; color: var(--ink2); }
.snp-trim-row > span { display: inline-flex; align-items: center; gap: 6px; margin-right: auto; } .snp-trim-row > span svg { width: 15px; height: 15px; color: var(--sp); }
.snp-trim-row b { font-variant-numeric: tabular-nums; color: var(--ink); }
.snp-rcap { margin-top: 4px; padding: 10px 12px; border-radius: 14px; background: #F3EEFF; }
.snp-rcap p { display: flex; align-items: center; justify-content: space-between; margin: 0 0 6px; } .snp-rcap b { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #5B21B6; } .snp-rcap svg { width: 15px; height: 15px; }
.snp-rcap ol { max-height: 150px; overflow: auto; margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.snp-rcap li { display: flex; gap: 8px; font-size: 13px; line-height: 1.4; color: var(--ink2); }
.snp-rcap li button, .snp-v-tr button { flex: none; border: 0; padding: 1px 6px; border-radius: 6px; background: #fff; color: #6D28D9; font: 700 11.5px var(--font, Inter, sans-serif); font-variant-numeric: tabular-nums; cursor: pointer; }

/* recorder page sections (light, same system) */
.snp-r-how { padding: clamp(64px, 9vw, 112px) 0; background: radial-gradient(800px 300px at 50% 0, rgba(139, 92, 246, .08), transparent 70%), #fff; }
.snp-r-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.snp-r-steps::before { content: ""; position: absolute; top: 46px; left: 16%; right: 16%; height: 2px; background: linear-gradient(90deg, #FF4D7E, #8B5CF6, #0EA5E9); opacity: .35; }
.snp-r-steps li { position: relative; padding: 26px 24px; border-radius: 24px; background: #fff; border: 1px solid var(--line); text-align: center; transition: transform .45s var(--spring), box-shadow .4s; }
.snp-r-steps li:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -40px rgba(109, 40, 217, .45); }
.snp-r-steps .n { position: absolute; top: 14px; left: 16px; font: 800 13px var(--font); color: var(--mut); }
.snp-r-steps .ic { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto; border-radius: 20px; color: #fff; background: linear-gradient(135deg, #FF4D7E, var(--sp2)); box-shadow: 0 16px 30px -14px rgba(255, 0, 81, .7); }
.snp-r-steps li:nth-child(2) .ic { background: linear-gradient(135deg, #C084FC, #6D28D9); box-shadow: 0 16px 30px -14px rgba(109, 40, 217, .7); }
.snp-r-steps li:nth-child(3) .ic { background: linear-gradient(135deg, #38BDF8, #6366F1); box-shadow: 0 16px 30px -14px rgba(99, 102, 241, .7); }
.snp-r-steps .ic svg { width: 27px; height: 27px; }
.snp-r-steps h3 { margin: 16px 0 0; font-size: 19px; letter-spacing: -.02em; } .snp-r-steps p { margin: 8px 0 0; color: var(--ink2); font-size: 14.5px; line-height: 1.55; }
.snp-r-steps .chip { display: inline-block; margin-top: 14px; padding: 6px 12px; border-radius: 99px; background: var(--soft); font: 700 12.5px var(--font); color: var(--ink); }
.v-mode .scr { position: relative; display: grid; gap: 9px; width: 70%; padding: 18px; border-radius: 12px; background: #fff; box-shadow: 0 18px 34px -22px rgba(40, 20, 30, .5); }
.v-mode .scr i { height: 9px; border-radius: 5px; background: #E7E9EC; } .v-mode .scr i:first-child { width: 55%; background: #1F2323; } .v-mode .scr i:last-child { width: 75%; }
.v-mode .bub { position: absolute; left: 15%; bottom: 14%; width: 70px; height: 70px; border-radius: 50%; padding: 4px; background: #fff; box-shadow: 0 16px 30px -12px rgba(40, 20, 30, .5); }
.v-mode .bub span, .v-mode .face span { display: block; width: 100%; height: 100%; border-radius: inherit; background: radial-gradient(circle at 50% 38%, #FFD8C2 0 17%, transparent 18%), radial-gradient(ellipse at 50% 92%, #6D28D9 0 34%, transparent 35%), linear-gradient(135deg, #FDBA74, #F43F5E); }
.v-mode .cur { position: absolute; right: 26%; bottom: 30%; width: 0; height: 0; border-left: 9px solid transparent; border-right: 9px solid transparent; border-bottom: 22px solid #1F2323; transform: rotate(-28deg); filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .25)); animation: snp-bob 4s ease-in-out infinite; }
.v-mode .face { width: 116px; height: 116px; border-radius: 50%; padding: 5px; background: #fff; box-shadow: 0 0 0 6px rgba(255, 0, 81, .12), 0 20px 36px -16px rgba(40, 20, 30, .55); animation: snp-bob 5s ease-in-out infinite; }
.v-mode .lbl { position: absolute; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; background: #fff; font: 700 12px var(--font); box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .3); } .v-mode .lbl svg { width: 13px; height: 13px; color: var(--sp); }
.snp-r-page { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.snp-r-mock { display: grid; gap: 12px; padding: 16px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -50px rgba(40, 20, 30, .45); }
.snp-r-mock .rm-pl { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, #1E1B4B, #0F172A 60%, #3B0764); }
.snp-r-mock .rm-gl { position: absolute; inset: 0; background: radial-gradient(400px 200px at 30% 30%, rgba(255, 0, 81, .35), transparent 70%), radial-gradient(300px 200px at 80% 70%, rgba(14, 165, 233, .3), transparent 70%); }
.snp-r-mock .rm-pb { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--sp); transform: translate(-50%, -50%); box-shadow: 0 0 0 10px rgba(255, 255, 255, .15); }
.snp-r-mock .rm-pb svg { width: 26px; height: 26px; fill: currentColor; margin-left: 4px; }
.snp-r-mock .rm-cb { position: absolute; left: 14px; bottom: 34px; width: 62px; height: 62px; border-radius: 50%; border: 3px solid #fff; background: radial-gradient(circle at 50% 38%, #FFD8C2 0 17%, transparent 18%), radial-gradient(ellipse at 50% 92%, #6D28D9 0 34%, transparent 35%), linear-gradient(135deg, #FDBA74, #F43F5E); }
.snp-r-mock .rm-fl { position: absolute; bottom: 30px; font-size: 24px; animation: snp-float 3.2s ease-in infinite; opacity: 0; }
.snp-r-mock .f1 { right: 22%; } .snp-r-mock .f2 { right: 14%; animation-delay: 1s; } .snp-r-mock .f3 { right: 30%; animation-delay: 2s; }
@keyframes snp-float { 0% { opacity: 0; transform: translateY(10px) scale(.7); } 15% { opacity: 1; } 100% { opacity: 0; transform: translateY(-110px) scale(1.15) rotate(12deg); } }
.snp-r-mock .rm-pg { position: absolute; left: 14px; right: 14px; bottom: 12px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .25); } .snp-r-mock .rm-pg i { display: block; width: 42%; height: 100%; border-radius: 3px; background: #FF0051; }
.snp-r-mock .rm-cc { position: absolute; left: 50%; bottom: 26px; padding: 4px 10px; border-radius: 6px; background: rgba(0, 0, 0, .65); color: #fff; font: 600 12.5px var(--font); transform: translateX(-50%); white-space: nowrap; }
.snp-r-mock .rx { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } .snp-r-mock .rx span { padding: 5px 10px; border-radius: 99px; background: var(--soft); font: 700 13px var(--font); }
.snp-r-mock .rx em { margin-left: auto; padding: 5px 10px; border-radius: 99px; background: #1F2323; color: #fff; font: 700 12px var(--font); font-style: normal; }
.snp-r-mock .ttl { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; } .snp-r-mock .ttl b { font-size: 17px; letter-spacing: -.02em; } .snp-r-mock .ttl small { color: var(--mut); font-size: 12.5px; }
.snp-r-mock .ttl .cta { margin-left: auto; padding: 8px 14px; border-radius: 12px; color: #fff; background: linear-gradient(100deg, var(--sp), var(--sp2)); font: 700 13px var(--font); }
.snp-r-mock .cm { display: grid; gap: 8px; } .snp-r-mock .cm p { display: flex; gap: 10px; margin: 0; padding: 10px; border-radius: 12px; background: var(--soft); font-size: 13px; color: var(--ink2); line-height: 1.4; }
.snp-r-mock .cm b { color: var(--ink); } .snp-r-mock .cm em { margin-left: 6px; padding: 0 6px; border-radius: 5px; background: #fff; color: #6D28D9; font: 700 11px var(--font); font-style: normal; }
.av { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; color: #fff; font: 800 13px var(--font, Inter, sans-serif); background: hsl(var(--h, 330) 70% 55%); }
.snp-r-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.snp-r-tiles li { position: relative; padding: 18px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 40px -34px rgba(40, 20, 30, .5); overflow: hidden; }
.snp-r-tiles b { display: block; font-size: 32px; line-height: 1; letter-spacing: -.04em; } .snp-r-tiles span { color: var(--mut); font-size: 13px; font-weight: 600; }
.snp-r-tiles i { position: absolute; left: 0; bottom: 0; height: 4px; width: var(--p); background: linear-gradient(90deg, #FF4D7E, #8B5CF6); }
.snp-r-ins .snp-row-t p { margin: 16px 0 0; color: var(--ink2); font-size: 17px; line-height: 1.6; }
.snp-r-uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.snp-r-use { padding: 24px; border-radius: 22px; background: #fff; border: 1px solid transparent; transition: transform .4s var(--spring), border-color .3s, box-shadow .4s; }
.snp-r-use:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--c) 30%, transparent); box-shadow: 0 30px 50px -38px var(--c); }
.snp-r-use .ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); } .snp-r-use .ic svg { width: 22px; height: 22px; }
.snp-r-use h3 { margin: 16px 0 0; font-size: 17px; } .snp-r-use p { margin: 6px 0 0; color: var(--ink2); font-size: 14.5px; line-height: 1.55; }
.snp-l-logo.rec { background: #fff; box-shadow: 0 0 0 8px rgba(255, 0, 81, .08), 0 18px 36px -18px rgba(255, 0, 81, .6); }
.snp-l-logo.rec .snp-recdot { width: 26px; height: 26px; background: #FF0051; animation: snp-pulse 1.6s ease-in-out infinite; }
@media (max-width: 1080px) { .snp-r-page { grid-template-columns: 1fr; } .snp-r-uses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .snp-r-steps, .snp-r-uses { grid-template-columns: 1fr; } .snp-r-steps::before { display: none; } .snp-r-mock .rm-cc { display: none; } .snp-campre { grid-template-columns: 80px minmax(0, 1fr); } .snp-campre-v { width: 80px; height: 80px; } }

/* ============================================================ video page /s/{code} (Loom-style) */
.snp-v { --sp: #FF0051; --sp2: #BC0050; --ink: #1F2323; --ink2: #484F56; --mut: #8A9096; --line: #ECEDEE; --soft: #F5F6F7; --font: "Inter", system-ui, sans-serif; --spring: cubic-bezier(.2, .9, .25, 1); --pop: cubic-bezier(.3, 1.6, .5, 1); }
.snp-v-main { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; width: min(1400px, 100%); margin: 0 auto; padding: clamp(16px, 3vw, 28px) clamp(12px, 3vw, 28px) 40px; box-sizing: border-box; }
.snp-v-left { min-width: 0; }
.snp-v-player { position: relative; margin: 0; border-radius: 20px; overflow: hidden; background: #0F1012; box-shadow: 0 40px 80px -50px rgba(40, 20, 30, .6); }
.snp-v-player video { display: block; width: 100%; max-height: 74vh; background: #0F1012; }
.snp-v-player img { display: block; width: 100%; height: auto; background: #fff; }
.snp-v-player:not(.is-video) { background: repeating-conic-gradient(#EEF0F2 0 25%, #fff 0 50%) 0 0 / 18px 18px; }
.snp-v-burst { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.snp-v-burst span { position: absolute; bottom: 60px; font-size: 34px; animation: snp-burst 1.6s cubic-bezier(.2, .8, .3, 1) forwards; }
@keyframes snp-burst { 0% { opacity: 0; transform: translateY(20px) scale(.5); } 15% { opacity: 1; transform: translateY(0) scale(1.15); } 100% { opacity: 0; transform: translateY(-220px) scale(1) rotate(var(--r)); } }
.snp-v-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.snp-v-reacts { display: flex; flex-wrap: wrap; gap: 6px; }
.snp-v-reacts button { display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 99px; background: #fff; font: 700 13px var(--font); color: var(--ink2); cursor: pointer; transition: transform .3s var(--pop), border-color .2s, box-shadow .2s; touch-action: manipulation; }
.snp-v-reacts button:hover { transform: translateY(-2px); border-color: #FFD0DC; box-shadow: 0 10px 20px -14px rgba(255, 0, 81, .6); }
.snp-v-reacts button .e { font-size: 18px; line-height: 1; } .snp-v-reacts b:empty { display: none; }
.snp-v-reacts button.is-pop { animation: snp-rpop .45s var(--pop); }
@keyframes snp-rpop { 40% { transform: scale(1.25); } }
.snp-v-speed { display: inline-flex; margin-left: auto; padding: 3px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.snp-v-speed button { height: 32px; padding: 0 10px; border: 0; border-radius: 9px; background: none; font: 700 12.5px var(--font); color: var(--ink2); cursor: pointer; }
.snp-v-speed button.is-on { background: var(--ink); color: #fff; }
.snp-v-head { margin-top: 18px; }
.snp-v-head h1 { margin: 0; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -.03em; }
.snp-v-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 8px 0 0; color: var(--mut); font-size: 13.5px; }
.snp-v-meta span { display: inline-flex; align-items: center; gap: 5px; } .snp-v-meta svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; } .snp-v-meta b { color: var(--ink); }
.snp-v-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 12px 20px; border-radius: 14px; color: #fff; background: linear-gradient(100deg, var(--sp), #E8004E 45%, var(--sp2)); font: 700 15px var(--font); text-decoration: none; box-shadow: 0 16px 30px -14px rgba(255, 0, 81, .7); transition: transform .3s var(--spring), box-shadow .3s; }
.snp-v-cta:hover { transform: translateY(-2px); } .snp-v-cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.snp-v-share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.snp-v-chip { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 13px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: 600 13.5px var(--font); color: var(--ink); cursor: pointer; transition: border-color .2s; }
.snp-v-chip:hover { border-color: #FFC2D2; } .snp-v-chip svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; color: var(--sp); } .snp-v-chip b { font-variant-numeric: tabular-nums; }
.snp-v-embed { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 10px; }
.snp-v-embed textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font: 12.5px/1.45 ui-monospace, Menlo, monospace; color: var(--ink2); resize: none; box-sizing: border-box; }
.snp-v-side { position: sticky; top: 76px; align-self: start; display: grid; gap: 12px; max-height: calc(100vh - 96px); padding: 12px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -48px rgba(40, 20, 30, .5); box-sizing: border-box; overflow: hidden; grid-template-rows: auto minmax(0, 1fr); }
.snp-v-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--soft); overflow-x: auto; scrollbar-width: none; }
.snp-v-tabs button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 10px; border: 0; border-radius: 10px; background: none; font: 700 12.5px var(--font); color: var(--ink2); cursor: pointer; white-space: nowrap; }
.snp-v-tabs button.is-on { background: #fff; color: var(--ink); box-shadow: 0 4px 12px -6px rgba(0, 0, 0, .2); }
.snp-v-tabs svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; } .snp-v-tabs b { padding: 0 6px; border-radius: 99px; background: var(--sp); color: #fff; font-size: 11px; } .snp-v-tabs b:empty { display: none; }
.snp-v-pane { display: grid; gap: 10px; align-content: start; min-height: 0; overflow: auto; }
.snp-v-comments { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.snp-v-comments li { display: flex; gap: 10px; animation: snp-rise .35s var(--spring) both; }
.snp-v-comments .hd { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; } .snp-v-comments .hd small { color: var(--mut); }
.snp-v-comments .tm { border: 0; padding: 1px 7px; border-radius: 6px; background: #F3EEFF; color: #6D28D9; font: 700 11.5px var(--font); cursor: pointer; }
.snp-v-comments .rm { margin-left: auto; border: 0; background: none; color: var(--mut); font-size: 18px; line-height: 1; cursor: pointer; } .snp-v-comments .rm:hover { color: #DC2626; }
.snp-v-comments .bd { margin: 3px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink2); white-space: pre-wrap; overflow-wrap: anywhere; }
.snp-v-comments li > div { min-width: 0; flex: 1; }
.snp-v-empty, .snp-v-note { margin: 0; color: var(--mut); font-size: 13px; }
.snp-v-form { display: grid; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.snp-v-form-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.snp-v-at { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink2); cursor: pointer; } .snp-v-at b { font-variant-numeric: tabular-nums; }
.snp-v-post { height: 40px; padding: 0 18px; border: 0; border-radius: 12px; color: #fff; background: linear-gradient(100deg, var(--sp, #FF0051), var(--sp2, #BC0050)); font: 700 14px var(--font, Inter, sans-serif); cursor: pointer; transition: transform .25s var(--pop), opacity .2s; }
.snp-v-post:active { transform: scale(.96); } .snp-v-post:disabled { opacity: .6; }
.snp-v-tr { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.snp-v-tr li { display: flex; gap: 8px; padding: 6px 8px; border-radius: 10px; font-size: 14px; line-height: 1.5; color: var(--ink2); transition: background .2s; }
.snp-v-tr li.is-now { background: #F3EEFF; color: var(--ink); } .snp-v-tr button { background: #F3EEFF; }
.snp-v-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; padding: 0; list-style: none; }
.snp-v-stats li { position: relative; padding: 14px; border-radius: 14px; background: var(--soft); overflow: hidden; }
.snp-v-stats b { display: block; font-size: 24px; letter-spacing: -.03em; } .snp-v-stats span { color: var(--mut); font-size: 12.5px; font-weight: 600; }
.snp-v-stats small i { position: absolute; left: 0; bottom: 0; height: 4px; width: var(--p); background: linear-gradient(90deg, #FF4D7E, #8B5CF6); }
.snp-v-set { display: grid; gap: 10px; }
.snp-v-l { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; font-size: 12.5px; font-weight: 700; color: var(--ink2); } .snp-v-l legend { padding: 0; margin-bottom: 6px; }
.snp-v-sw { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--soft); cursor: pointer; }
.snp-v-sw span { flex: 1; } .snp-v-sw b { display: block; font-size: 13.5px; } .snp-v-sw small { color: var(--mut); font-size: 12px; }
.snp-v-sw input { position: absolute; opacity: 0; pointer-events: none; }
.snp-v-sw i { position: relative; width: 38px; height: 22px; flex: none; border-radius: 99px; background: #DADDE1; transition: background .3s; }
.snp-v-sw i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, .2); transition: transform .35s var(--pop); }
.snp-v-sw input:checked + i { background: var(--sp); } .snp-v-sw input:checked + i::after { transform: translateX(16px); }
.snp-v-check { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.snp-v-made { width: min(640px, calc(100% - 24px)); margin: 0 auto 40px; box-sizing: border-box; }
@media (max-width: 1000px) { .snp-v-main { grid-template-columns: 1fr; } .snp-v-side { position: static; max-height: none; } .snp-v-pane { overflow: visible; } }
@media (max-width: 560px) { .snp-v-speed { margin-left: 0; } .snp-v-reacts button { height: 38px; padding: 0 10px; } .snp-v-embed { grid-template-columns: 1fr; } .snp-sh-btn span { display: none; } }

/* password page + embed */
.snp-lockpage { display: grid; place-items: center; padding: 20px; box-sizing: border-box; }
.snp-lock { display: grid; justify-items: center; gap: 10px; width: min(400px, 100%); padding: 34px 26px; border-radius: 26px; background: #fff; border: 1px solid #ECEDEE; box-shadow: 0 40px 80px -50px rgba(40, 20, 30, .5); text-align: center; }
.snp-lock-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; color: #fff; background: linear-gradient(135deg, #FF4D7E, #BC0050); box-shadow: 0 16px 30px -14px rgba(255, 0, 81, .7); }
.snp-lock-ic svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; }
.snp-lock h1 { margin: 6px 0 0; font-size: 22px; letter-spacing: -.02em; } .snp-lock p { margin: 0; color: #484F56; font-size: 14.5px; }
.snp-lock form { display: grid; gap: 8px; width: 100%; margin-top: 8px; }
.snp-lock-err { color: #DC2626 !important; font-weight: 600; } .snp-lock-home { margin-top: 8px; color: #8A9096; font-size: 13px; text-decoration: none; }
.snp-embed { margin: 0; height: 100vh; background: #0F1012; display: grid; place-items: center; overflow: hidden; font: 14px "Inter", system-ui, sans-serif; }
.snp-embed video, .snp-embed img { width: 100%; height: 100vh; object-fit: contain; display: block; }
.snp-embed-brand { position: fixed; top: 10px; right: 10px; padding: 6px 10px; border-radius: 9px; background: rgba(15, 16, 18, .72); color: #fff; font-weight: 700; font-size: 12px; text-decoration: none; opacity: .85; }
.snp-embed-msg { color: #E9EAEC; padding: 20px; text-align: center; }

/* ============================================================ recorder: animated bento ("So much more than a screen recorder") */
.snp-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "trim trim cap" "gif pause cap" "q still still"; gap: 18px; }
.b-trim { grid-area: trim; } .b-cap { grid-area: cap; } .b-gif { grid-area: gif; } .b-pause { grid-area: pause; } .b-q { grid-area: q; } .b-still { grid-area: still; }
.snp-bento:not(.is-play) *, .snp-bento:not(.is-play) *::before, .snp-bento:not(.is-play) *::after { animation-play-state: paused !important; }
.snp-b { position: relative; display: flex; flex-direction: column; border-radius: 26px; background: #fff; border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: transform .55s var(--spring), box-shadow .5s, border-color .3s; }
.snp-b::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(500px 220px at 50% 0, rgba(255, 0, 81, .09), transparent 70%); opacity: 0; transition: opacity .4s; }
.snp-b:hover { transform: translateY(-6px); border-color: #FFD0DC; box-shadow: 0 40px 70px -46px rgba(255, 0, 81, .5); }
.snp-b:hover::after { opacity: 1; }
.snp-b-vis { position: relative; flex: 1; min-height: 210px; margin: 12px 12px 0; padding: 18px; border-radius: 18px; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(circle at 1px 1px, rgba(31, 35, 35, .06) 1px, transparent 0) 0 0 / 16px 16px, linear-gradient(135deg, #FFF3F6, #F6F1FF); }
.snp-b-t { padding: 18px 22px 22px; }
.snp-b-t .ic { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: #fff; background: linear-gradient(135deg, #FF4D7E, var(--sp2)); box-shadow: 0 8px 16px -8px rgba(255, 0, 81, .7); vertical-align: middle; transition: transform .4s var(--pop); }
.snp-b:hover .snp-b-t .ic { transform: rotate(-8deg) scale(1.08); }
.snp-b-t .ic svg { width: 17px; height: 17px; }
.snp-b-t h3 { display: inline; margin-left: 10px; font-size: 18px; letter-spacing: -.02em; vertical-align: middle; }
.snp-b-t p { margin: 10px 0 0; color: var(--ink2); font-size: 14.5px; line-height: 1.55; }

/* trim */
.b-trim .snp-b-vis { min-height: 240px; place-items: stretch; align-content: center; gap: 14px; padding: 22px 26px; }
.tr-player { position: relative; height: 112px; border-radius: 14px; background: radial-gradient(260px 120px at 30% 30%, rgba(255, 0, 81, .35), transparent 70%), radial-gradient(240px 140px at 80% 80%, rgba(14, 165, 233, .3), transparent 70%), linear-gradient(135deg, #1E1B4B, #0F172A); box-shadow: 0 20px 40px -26px rgba(15, 23, 42, .8); }
.tr-cam { position: absolute; left: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; border: 2.5px solid #fff; background: radial-gradient(circle at 50% 38%, #FFD8C2 0 17%, transparent 18%), radial-gradient(ellipse at 50% 92%, #6D28D9 0 34%, transparent 35%), linear-gradient(135deg, #FDBA74, #F43F5E); }
.tr-time { position: absolute; right: 12px; top: 12px; padding: 4px 9px; border-radius: 8px; background: rgba(255, 255, 255, .95); font: 800 12px var(--font); color: var(--ink); font-variant-numeric: tabular-nums; animation: tr-pop 6s var(--spring) infinite; }
.tr-track { position: relative; height: 46px; }
.tr-strip { display: flex; gap: 3px; height: 100%; } .tr-strip i { flex: 1; border-radius: 7px; background: linear-gradient(160deg, var(--c), color-mix(in srgb, var(--c) 55%, #1F2323)); opacity: .9; }
.tr-dim { position: absolute; top: 0; bottom: 0; background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: grayscale(1); backdrop-filter: grayscale(1); }
.tr-dim.l { left: 0; border-radius: 7px 0 0 7px; animation: tr-dl 6s var(--spring) infinite; } .tr-dim.r { right: 0; border-radius: 0 7px 7px 0; animation: tr-dr 6s var(--spring) infinite; }
.tr-sel { position: absolute; top: -4px; bottom: -4px; border: 3px solid var(--sp); border-radius: 10px; box-shadow: 0 0 0 4px rgba(255, 0, 81, .14); animation: tr-sel 6s var(--spring) infinite; }
.tr-sel .h { position: absolute; top: 50%; width: 9px; height: 28px; border-radius: 5px; background: var(--sp); box-shadow: inset 0 0 0 2.5px #fff; transform: translateY(-50%); } .tr-sel .h.l { left: -7px; } .tr-sel .h.r { right: -7px; }
.tr-ph { position: absolute; top: -9px; bottom: -9px; width: 2.5px; border-radius: 2px; background: var(--ink); animation: tr-ph 6s linear infinite; }
.tr-ph::before { content: ""; position: absolute; top: -4px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); transform: translateX(-50%); }
.tr-cut { position: absolute; left: 50%; top: 18px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: #fff; font: 700 12.5px var(--font); color: var(--ink); box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .35); transform: translateX(-50%); animation: tr-pop 6s var(--spring) infinite; }
.tr-cut svg { width: 14px; height: 14px; color: var(--sp); }
@keyframes tr-dl { 0%, 8% { width: 0; } 30%, 82% { width: 18%; } 96%, 100% { width: 0; } }
@keyframes tr-dr { 0%, 8% { width: 0; } 30%, 82% { width: 24%; } 96%, 100% { width: 0; } }
@keyframes tr-sel { 0%, 8% { left: 0; right: 0; } 30%, 82% { left: 18%; right: 24%; } 96%, 100% { left: 0; right: 0; } }
@keyframes tr-ph { 0%, 30% { left: 18%; opacity: 0; } 33% { opacity: 1; } 78% { left: 75%; opacity: 1; } 82%, 100% { left: 75%; opacity: 0; } }
@keyframes tr-pop { 0%, 28% { opacity: 0; scale: .8; } 34%, 80% { opacity: 1; scale: 1; } 88%, 100% { opacity: 0; scale: .9; } }

/* captions */
.b-cap .snp-b-vis { place-items: stretch; align-content: start; gap: 12px; }
.cp-frame { position: relative; height: 170px; border-radius: 14px; overflow: hidden; background: radial-gradient(200px 120px at 50% 30%, rgba(139, 92, 246, .4), transparent 70%), linear-gradient(160deg, #1E1B4B, #0F172A); }
.cp-face { position: absolute; left: 50%; top: 20px; width: 64px; height: 64px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .9); transform: translateX(-50%); background: radial-gradient(circle at 50% 38%, #FFD8C2 0 17%, transparent 18%), radial-gradient(ellipse at 50% 92%, #6D28D9 0 34%, transparent 35%), linear-gradient(135deg, #FDBA74, #F43F5E); animation: cp-talk 1.2s ease-in-out infinite; }
@keyframes cp-talk { 50% { transform: translateX(-50%) scale(1.04); } }
.cp-wave { position: absolute; left: 50%; top: 92px; display: flex; gap: 3px; align-items: center; height: 18px; transform: translateX(-50%); }
.cp-wave i { width: 3px; height: 18px; border-radius: 2px; background: #C4B5FD; animation: snp-eq .9s ease-in-out infinite; animation-delay: calc(var(--i) * -.11s); }
.cp-line { position: absolute; left: 10px; right: 10px; bottom: 12px; margin: 0; padding: 6px 8px; border-radius: 8px; background: rgba(0, 0, 0, .62); color: #fff; font: 700 13px var(--font); text-align: center; white-space: nowrap; overflow: hidden; }
.cp-line span { display: inline-block; margin: 0 2px; opacity: 0; animation: cp-word 6s ease infinite; animation-delay: calc(var(--i) * .32s); }
@keyframes cp-word { 0% { opacity: 0; transform: translateY(5px); filter: blur(3px); } 5%, 70% { opacity: 1; transform: none; filter: none; } 80%, 100% { opacity: 0; } }
.cp-list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.cp-list li { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .7); font-size: 13px; color: var(--ink2); animation: cp-hi 8s ease infinite; animation-delay: calc(var(--i) * 2s - 8s); }
.cp-list em { padding: 1px 6px; border-radius: 6px; background: #fff; color: #6D28D9; font: 700 11px var(--font); font-style: normal; font-variant-numeric: tabular-nums; }
@keyframes cp-hi { 0%, 22% { background: #fff; color: var(--ink); box-shadow: 0 8px 18px -12px rgba(109, 40, 217, .5); transform: translateX(4px); } 26%, 100% { background: rgba(255, 255, 255, .7); color: var(--ink2); box-shadow: none; transform: none; } }

/* gif */
.gf-frames { display: flex; gap: 8px; }
.gf-frames span { position: relative; width: 52px; height: 40px; border-radius: 9px; background: linear-gradient(135deg, #38BDF8, #6366F1); box-shadow: 0 10px 20px -12px rgba(99, 102, 241, .7); animation: gf-in 5s var(--spring) infinite; }
.gf-frames span i { position: absolute; top: 50%; left: calc(14% + var(--i) * 20%); width: 12px; height: 12px; border-radius: 50%; background: #fff; transform: translateY(-50%); }
@keyframes gf-in { 0%, 18% { transform: none; opacity: 1; } 40%, 82% { transform: translateX(calc((1.5 - var(--i)) * 60px)) scale(.5); opacity: 0; } 100% { transform: none; opacity: 1; } }
.gf-out { position: absolute; left: 50%; top: 50%; display: grid; justify-items: center; gap: 2px; padding: 14px 22px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, #C084FC, #6D28D9); box-shadow: 0 20px 36px -16px rgba(109, 40, 217, .8); transform: translate(-50%, -50%); animation: gf-out 5s var(--pop) infinite; }
.gf-out b { font: 800 24px var(--font); letter-spacing: -.02em; } .gf-out svg { width: 18px; height: 18px; animation: snp-spin 1.4s linear infinite; }
@keyframes gf-out { 0%, 34% { opacity: 0; scale: .5; } 44%, 80% { opacity: 1; scale: 1; } 90%, 100% { opacity: 0; scale: .8; } }

/* pause */
.b-pause .snp-b-vis { gap: 12px; align-content: center; }
.ps-pill { display: inline-flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 16px; background: #17181C; color: #fff; box-shadow: 0 20px 36px -16px rgba(0, 0, 0, .6); }
.ps-dot { width: 11px; height: 11px; border-radius: 50%; animation: ps-dot 4s steps(1) infinite; }
@keyframes ps-dot { 0% { background: #FF0051; box-shadow: 0 0 0 4px rgba(255, 0, 81, .25); } 50% { background: #F59E0B; box-shadow: 0 0 0 4px rgba(245, 158, 11, .25); } }
.ps-time { position: relative; display: inline-block; width: 58px; height: 20px; } .ps-time b { position: absolute; inset: 0; font: 800 14px var(--font); font-variant-numeric: tabular-nums; }
.ps-time .a { animation: ps-a 4s ease infinite; } .ps-time .b { color: #FCD34D; animation: ps-b 4s ease infinite; }
@keyframes ps-a { 0%, 45% { opacity: 1; transform: none; } 50%, 95% { opacity: 0; transform: translateY(-6px); } 100% { opacity: 1; } }
@keyframes ps-b { 0%, 45% { opacity: 0; transform: translateY(6px); } 50%, 95% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.ps-wave { display: flex; gap: 2px; align-items: center; height: 20px; animation: ps-w 4s ease infinite; }
.ps-wave i { width: 3px; height: 20px; border-radius: 2px; background: #FF5C8A; animation: snp-eq .8s ease-in-out infinite; animation-delay: calc(var(--i) * -.07s); }
@keyframes ps-w { 0%, 45% { opacity: 1; filter: none; } 50%, 95% { opacity: .25; filter: grayscale(1); } }
.ps-btn { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .1); }
.ps-btn svg { position: absolute; width: 16px; height: 16px; } .ps-btn .p1 { animation: ps-a 4s ease infinite; } .ps-btn .p2 { animation: ps-b 4s ease infinite; }
.ps-tip { padding: 5px 11px; border-radius: 99px; background: #fff; font: 700 12px var(--font); color: var(--ink2); box-shadow: 0 8px 18px -12px rgba(0, 0, 0, .3); }

/* quality */
.b-q .snp-b-vis { grid-auto-flow: column; gap: 18px; }
.q-ring { position: relative; width: 132px; height: 132px; }
.q-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); } .q-ring circle { fill: none; stroke: #EDE7F8; stroke-width: 10; }
.q-ring circle.p { stroke: url(#none); stroke: #8B5CF6; stroke-linecap: round; stroke-dasharray: 327; animation: q-p 6s var(--spring) infinite; }
@keyframes q-p { 0%, 28% { stroke-dashoffset: 230; stroke: #38BDF8; } 33%, 61% { stroke-dashoffset: 130; stroke: #8B5CF6; } 66%, 95% { stroke-dashoffset: 18; stroke: #FF0051; } 100% { stroke-dashoffset: 230; stroke: #38BDF8; } }
.q-res { position: absolute; inset: 0; display: grid; place-items: center; }
.q-res b { grid-area: 1 / 1; font: 800 26px var(--font); letter-spacing: -.04em; opacity: 0; animation: q-r 6s var(--spring) infinite; }
.q-res b:nth-child(2) { animation-delay: 2s; } .q-res b:nth-child(3) { animation-delay: 4s; background: linear-gradient(135deg, #FF4D7E, #6D28D9); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 32px; }
@keyframes q-r { 0% { opacity: 0; transform: translateY(10px) scale(.9); } 5%, 28% { opacity: 1; transform: none; } 33%, 100% { opacity: 0; transform: translateY(-10px) scale(.95); } }
.q-fps { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 12px; background: #17181C; color: #fff; font: 800 14px var(--font); box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .55); }

/* stills */
.b-still .snp-b-vis { min-height: 230px; }
.st-screen { position: relative; display: grid; gap: 10px; width: min(300px, 70%); padding: 18px; border-radius: 14px; background: #fff; box-shadow: 0 20px 40px -26px rgba(40, 20, 30, .5); overflow: hidden; }
.st-screen i { height: 10px; border-radius: 5px; background: #E7E9EC; } .st-screen i:first-child { width: 50%; background: #1F2323; } .st-screen i:last-child { width: 72%; height: 44px; border-radius: 9px; background: linear-gradient(135deg, #FFE1EA, #EDE7FF); }
.st-flash { position: absolute; inset: 0; background: #fff; opacity: 0; animation: st-flash 5s ease infinite; }
@keyframes st-flash { 0%, 36% { opacity: 0; } 40% { opacity: .95; } 52%, 100% { opacity: 0; } }
.st-cam { position: absolute; left: 50%; bottom: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #FF4D7E, var(--sp2)); box-shadow: 0 12px 24px -10px rgba(255, 0, 81, .7); transform: translateX(-50%); animation: st-press 5s var(--pop) infinite; }
.st-cam svg { width: 20px; height: 20px; }
@keyframes st-press { 0%, 32% { scale: 1; } 37% { scale: .82; } 44%, 100% { scale: 1; } }
.st-shot { position: absolute; left: 50%; top: 50%; display: grid; gap: 6px; width: 120px; padding: 8px 8px 10px; border-radius: 10px; background: #fff; box-shadow: 0 24px 40px -18px rgba(40, 20, 30, .55); opacity: 0; animation: st-fly 5s var(--spring) infinite; }
.st-shot i { height: 8px; border-radius: 4px; background: #E7E9EC; } .st-shot i:first-child { height: 36px; border-radius: 6px; background: linear-gradient(135deg, #FFE1EA, #EDE7FF); }
.st-shot span { font: 700 10.5px var(--font); color: #047857; }
@keyframes st-fly { 0%, 40% { opacity: 0; transform: translate(-50%, -50%) scale(.9); } 48% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 75% { opacity: 1; transform: translate(70%, -95%) rotate(7deg) scale(.82); } 92%, 100% { opacity: 0; transform: translate(80%, -105%) rotate(8deg) scale(.78); } }

@media (max-width: 1080px) { .snp-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "trim trim" "cap gif" "cap pause" "q still"; } }
@media (max-width: 640px) {
  .snp-bento { grid-template-columns: 1fr; grid-template-areas: "trim" "cap" "gif" "pause" "q" "still"; }
  .b-trim .snp-b-vis { padding: 18px; } .tr-cut { display: none; }
}

/* captions card: video frame fills the card */
.b-cap .snp-b-vis { grid-template-rows: minmax(170px, 1fr) auto; align-content: stretch; }
.b-cap .cp-frame { height: auto; min-height: 170px; }

/* ============================================================ recorder: "Keep your videos safe" animated bento */
.snp-safe { grid-template-areas: "pw pw exp" "key search dl" "local local local"; }
.s-pw { grid-area: pw; } .s-exp { grid-area: exp; } .s-key { grid-area: key; } .s-search { grid-area: search; } .s-dl { grid-area: dl; } .s-local { grid-area: local; }
.snp-safe .snp-b-vis { background: radial-gradient(circle at 1px 1px, rgba(31, 35, 35, .06) 1px, transparent 0) 0 0 / 16px 16px, linear-gradient(135deg, #F1F6FF, #F6F1FF 60%, #FFF3F6); }

/* password */
.s-pw .snp-b-vis { min-height: 250px; }
.pw-card { position: relative; display: grid; justify-items: center; gap: 10px; width: min(300px, 80%); padding: 22px 20px; border-radius: 20px; background: #fff; box-shadow: 0 30px 60px -34px rgba(40, 20, 60, .5); animation: pw-card 7s var(--spring) infinite; }
.pw-lock { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, #FF4D7E, var(--sp2)); box-shadow: 0 14px 26px -12px rgba(255, 0, 81, .7); }
.pw-lock svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; overflow: visible; } .pw-lock circle { fill: currentColor; stroke: none; }
.pw-lock .sh { transform-origin: 17px 11px; animation: pw-shackle 7s var(--pop) infinite; }
@keyframes pw-shackle { 0%, 52% { transform: none; } 58%, 92% { transform: translateY(-3px) rotate(28deg); } 100% { transform: none; } }
.pw-h { font-size: 14.5px; }
.pw-field { position: relative; display: flex; align-items: center; gap: 6px; width: 100%; height: 40px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px; box-sizing: border-box; animation: pw-focus 7s ease infinite; }
.pw-field i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); opacity: 0; animation: pw-dot 7s ease infinite; animation-delay: calc(var(--i) * .12s); }
.pw-field em { width: 1.5px; height: 18px; background: var(--sp); animation: snp-blink 1s steps(1) infinite; }
@keyframes snp-blink { 50% { opacity: 0; } }
@keyframes pw-dot { 0%, 8% { opacity: 0; transform: scale(.3); } 12%, 52% { opacity: 1; transform: none; } 60%, 100% { opacity: 0; } }
@keyframes pw-focus { 0%, 4% { border-color: var(--line); box-shadow: none; } 8%, 48% { border-color: var(--sp); box-shadow: 0 0 0 4px rgba(255, 0, 81, .12); } 54%, 100% { border-color: #10B981; box-shadow: 0 0 0 4px rgba(16, 185, 129, .14); } }
.pw-btn { width: 100%; padding: 10px; border-radius: 12px; color: #fff; background: linear-gradient(100deg, var(--sp), var(--sp2)); font: 700 13.5px var(--font); text-align: center; animation: pw-btn 7s var(--pop) infinite; }
@keyframes pw-btn { 0%, 44% { transform: none; } 48% { transform: scale(.94); } 52%, 100% { transform: none; } }
@keyframes pw-card { 0%, 60% { opacity: 1; transform: none; } 66%, 92% { opacity: 0; transform: translateY(-16px) scale(.96); } 100% { opacity: 1; transform: none; } }
.pw-ok { position: absolute; inset: 18px; display: grid; place-items: center; align-content: center; gap: 12px; border-radius: 16px; background: radial-gradient(300px 160px at 30% 30%, rgba(255, 0, 81, .35), transparent 70%), linear-gradient(135deg, #1E1B4B, #0F172A); opacity: 0; animation: pw-ok 7s var(--spring) infinite; }
@keyframes pw-ok { 0%, 62% { opacity: 0; transform: scale(.94); } 68%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.pw-play { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #fff; color: var(--sp); box-shadow: 0 0 0 10px rgba(255, 255, 255, .14); } .pw-play svg { width: 24px; height: 24px; fill: currentColor; margin-left: 3px; }
.pw-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; background: #10B981; color: #fff; font: 700 12.5px var(--font); } .pw-chip svg { width: 14px; height: 14px; stroke-width: 3; }

/* expiry */
.ex-ring { position: relative; width: 140px; height: 140px; }
.ex-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); } .ex-ring circle { fill: none; stroke: #E8E3F5; stroke-width: 10; }
.ex-ring circle.p { stroke: #8B5CF6; stroke-linecap: round; stroke-dasharray: 314; animation: ex-p 6s linear infinite; }
@keyframes ex-p { 0% { stroke-dashoffset: 0; stroke: #8B5CF6; } 70% { stroke-dashoffset: 300; stroke: #FF0051; } 100% { stroke-dashoffset: 314; stroke: #FF0051; } }
.ex-n { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; animation: ex-n 6s ease infinite; } .ex-n b { font: 800 36px/1 var(--font); letter-spacing: -.04em; } .ex-n small { color: var(--mut); font-weight: 700; font-size: 12px; }
@keyframes ex-n { 0%, 68% { opacity: 1; transform: none; } 74%, 94% { opacity: 0; transform: scale(.7); } 100% { opacity: 1; } }
.ex-bin { position: absolute; inset: 0; display: grid; place-items: center; color: var(--sp); opacity: 0; animation: ex-bin 6s var(--pop) infinite; } .ex-bin svg { width: 38px; height: 38px; }
@keyframes ex-bin { 0%, 70% { opacity: 0; transform: scale(.4); } 78%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* delete key */
.s-key .snp-b-vis { gap: 14px; align-content: center; }
.ky-hole { position: relative; display: flex; align-items: center; justify-content: center; width: 190px; height: 70px; }
.ky-slot { position: absolute; right: 22px; width: 46px; height: 62px; border-radius: 14px; background: #1F2323; box-shadow: inset 0 -6px 0 rgba(255, 255, 255, .08), 0 14px 26px -14px rgba(0, 0, 0, .6); }
.ky-slot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 22px; border-radius: 3px; background: #FACC15; transform: translate(-50%, -50%); animation: ky-glow 5s ease infinite; }
@keyframes ky-glow { 0%, 50% { background: #FACC15; box-shadow: none; } 58%, 90% { background: #10B981; box-shadow: 0 0 12px #10B981; } }
.ky-key { position: absolute; left: 10px; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, #FDBA74, #F43F5E); box-shadow: 0 14px 26px -12px rgba(244, 63, 94, .7); animation: ky-go 5s var(--spring) infinite; }
.ky-key svg { width: 26px; height: 26px; }
@keyframes ky-go { 0%, 15% { transform: none; } 45%, 85% { transform: translateX(84px) rotate(90deg) scale(.8); } 100% { transform: none; } }
.ky-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: #fff; font: 700 12.5px var(--font); color: var(--ink); box-shadow: 0 10px 20px -14px rgba(0, 0, 0, .35); animation: tr-pop 5s var(--spring) infinite; } .ky-chip svg { width: 14px; height: 14px; color: var(--sp); }

/* hidden from search */
.s-search .snp-b-vis { gap: 12px; align-content: center; place-items: stretch; padding: 20px; }
.sr-box { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 99px; background: #fff; box-shadow: 0 12px 26px -16px rgba(40, 20, 60, .45); color: var(--mut); } .sr-box svg { width: 17px; height: 17px; flex: none; }
.sr-q { overflow: hidden; white-space: nowrap; font: 600 13.5px var(--font); color: var(--ink); } .sr-q span { display: inline-block; overflow: hidden; vertical-align: bottom; width: 0; animation: sr-type 6s steps(20) infinite; border-right: 1.5px solid var(--sp); }
@keyframes sr-type { 0%, 5% { width: 0; } 35%, 90% { width: 20ch; } 100% { width: 0; } }
.sr-res { display: grid; justify-items: center; gap: 4px; padding: 16px; border-radius: 16px; background: #fff; color: var(--ink); opacity: 0; animation: sr-res 6s var(--spring) infinite; }
.sr-res svg { width: 26px; height: 26px; color: #8B5CF6; } .sr-res b { font-size: 14px; } .sr-res small { color: var(--mut); font-size: 12px; }
@keyframes sr-res { 0%, 38% { opacity: 0; transform: translateY(8px); } 45%, 88% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }

/* downloads toggle */
.s-dl .snp-b-vis { gap: 14px; align-content: center; place-items: stretch; padding: 20px; }
.dl-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: 0 12px 26px -16px rgba(40, 20, 60, .45); }
.dl-lbl { flex: 1; } .dl-lbl b { display: block; font-size: 13.5px; } .dl-lbl small { color: var(--mut); font-size: 11.5px; }
.dl-sw { position: relative; width: 40px; height: 24px; flex: none; border-radius: 99px; animation: dl-sw 5s steps(1) infinite; }
.dl-sw i { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); animation: dl-k 5s var(--pop) infinite; }
@keyframes dl-sw { 0% { background: var(--sp); } 50% { background: #DADDE1; } }
@keyframes dl-k { 0%, 45% { transform: translateX(16px); } 50%, 95% { transform: none; } 100% { transform: translateX(16px); } }
.dl-btn { justify-self: center; display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 12px; border: 1.5px solid var(--sp); color: var(--sp); font: 700 13px var(--font); background: #fff; animation: dl-btn 5s ease infinite; } .dl-btn svg { width: 15px; height: 15px; }
@keyframes dl-btn { 0%, 45% { opacity: 1; filter: none; } 52%, 95% { opacity: .35; filter: grayscale(1); text-decoration: line-through; } 100% { opacity: 1; } }

/* local first (wide) */
.s-local { flex-direction: row; align-items: stretch; }
.s-local .snp-b-vis { flex: 1.3; margin: 12px 0 12px 12px; min-height: 200px; display: flex; align-items: center; justify-content: center; gap: 0; }
.s-local .snp-b-t { flex: 1; align-self: center; padding: 22px 28px; }
.lc-pc { display: grid; justify-items: center; }
.lc-scr { display: grid; place-items: center; width: 130px; height: 84px; border-radius: 10px 10px 4px 4px; background: #1F2323; border: 5px solid #2D3034; box-sizing: border-box; }
.lc-file { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: #fff; background: linear-gradient(135deg, #FF4D7E, var(--sp2)); animation: lc-file 6s var(--spring) infinite; } .lc-file svg { width: 20px; height: 20px; }
@keyframes lc-file { 0%, 55% { transform: none; } 60% { transform: scale(1.12); } 66%, 100% { transform: none; } }
.lc-base { width: 160px; height: 9px; margin-top: 2px; border-radius: 0 0 8px 8px; background: #C9CDD2; }
.lc-path { position: relative; width: clamp(60px, 14vw, 150px); height: 2px; margin: 0 10px; background: repeating-linear-gradient(90deg, #C4B5FD 0 6px, transparent 6px 12px); }
.lc-path i { position: absolute; top: 50%; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--sp); box-shadow: 0 0 10px rgba(255, 0, 81, .6); transform: translate(-50%, -50%); opacity: 0; animation: lc-go 6s ease-in-out infinite; }
@keyframes lc-go { 0%, 58% { left: 0; opacity: 0; } 62% { opacity: 1; } 84% { left: 100%; opacity: 1; } 88%, 100% { left: 100%; opacity: 0; } }
.lc-cloud { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: #fff; color: #C4B5FD; box-shadow: 0 14px 26px -16px rgba(40, 20, 60, .45); animation: lc-cloud 6s ease infinite; } .lc-cloud svg { width: 30px; height: 30px; }
@keyframes lc-cloud { 0%, 80% { color: #C4B5FD; } 86%, 96% { color: #10B981; transform: scale(1.06); } 100% { color: #C4B5FD; } }
.lc-share { position: absolute; left: 50%; bottom: 18px; padding: 7px 14px; border-radius: 10px; color: #fff; background: linear-gradient(100deg, var(--sp), var(--sp2)); font: 700 12.5px var(--font); transform: translateX(-50%); box-shadow: 0 12px 24px -12px rgba(255, 0, 81, .7); animation: lc-share 6s var(--pop) infinite; }
@keyframes lc-share { 0%, 48% { opacity: .5; transform: translateX(-50%); } 54% { opacity: 1; transform: translateX(-50%) scale(.92); } 58%, 90% { opacity: 1; transform: translateX(-50%); } 100% { opacity: .5; } }

@media (max-width: 1080px) { .snp-safe { grid-template-areas: "pw pw" "exp key" "search dl" "local local"; } }
@media (max-width: 640px) { .snp-safe { grid-template-areas: "pw" "exp" "key" "search" "dl" "local"; } .s-local { flex-direction: column; } .s-local .snp-b-vis { margin: 12px 12px 0; } }

/* faster first paint: below-the-fold sections render when you scroll near them */
.snp main > section:not(.snp-hero):not(.snp-work) { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* recording dock: bottom of the page, extension-style On/Off switch */
.snp-dock { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 95; display: flex; align-items: center; gap: 10px; padding: 7px 7px 7px 16px; border-radius: 999px; background: rgba(16, 17, 20, .94); color: #fff; font-size: 14px; box-shadow: 0 18px 50px rgba(10, 10, 20, .38), 0 0 0 1px rgba(255, 255, 255, .08) inset; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: snp-dock-in .35s cubic-bezier(.2, .9, .3, 1.2); max-width: calc(100vw - 24px); }
.snp-dock[hidden] { display: none; }
.snp-dock .snp-recdot { width: 10px; height: 10px; flex: none; }
.snp-dock.is-paused .snp-recdot { animation: none; background: #F59E0B; }
.snp-dock .tm { font-variant-numeric: tabular-nums; color: #C7CAD1; min-width: 42px; }
.snp-dock-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; cursor: pointer; }
.snp-dock-btn:hover { background: rgba(255, 255, 255, .18); }
.snp-dock-btn svg { width: 18px; height: 18px; }
.snp-dock-sw { display: flex; align-items: center; gap: 9px; border: 0; border-radius: 999px; padding: 4px 4px 4px 14px; background: #22C55E; color: #052e14; font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: filter .15s; }
.snp-dock-sw i { width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .35); }
.snp-dock-sw:hover { filter: brightness(1.06); }
.snp-dock-sw[aria-checked="false"] { background: #3F4350; color: #fff; flex-direction: row-reverse; padding: 4px 14px 4px 4px; }
@keyframes snp-dock-in { from { opacity: 0; transform: translate(-50%, 16px); } }
@media (prefers-reduced-motion: reduce) { .snp-dock { animation: none; } }
html.snp-recording #lhc { display: none !important; }
