.primary.demo-next{animation:demo-next 1.8s ease-in-out infinite}
.secondary.demo-next,.next-step.demo-next{animation:demo-next-soft 1.8s ease-in-out infinite;border-color:#a77bf0}
@keyframes demo-next{0%,100%{box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 10px 26px -8px rgba(123,74,220,.75),0 0 0 0 rgba(183,139,235,0)}50%{box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 10px 26px -8px rgba(123,74,220,.75),0 0 0 4px rgba(183,139,235,.4),0 0 26px 4px rgba(150,100,240,.55)}}
@keyframes demo-next-soft{0%,100%{box-shadow:0 0 0 0 rgba(183,139,235,0)}50%{box-shadow:0 0 0 3px rgba(183,139,235,.35),0 0 20px 2px rgba(150,100,240,.4)}}
nav button.demo-next{color:#fff}
nav button.demo-next>span::after,header.compact nav button.demo-next:not(.active)>b::after{content:"";display:inline-block;width:6px;height:6px;margin-left:5px;border-radius:50%;vertical-align:2px;background:#c9a8ff;box-shadow:0 0 8px 2px rgba(183,139,235,.8);animation:demo-dot 1.8s ease-in-out infinite}
@keyframes demo-dot{0%,100%{opacity:.35}50%{opacity:1}}
header.named nav{justify-content:space-between;margin-left:-3px}
header.named nav button{padding:0 3px;font-size:var(--nav-f,11.5px)}
header.named nav button::after{left:3px;right:3px}
header.named nav button>span{position:relative}
header.named nav button.demo-next>span::after{position:absolute;left:50%;top:-8px;margin:0 0 0 -3px}
header.roll nav{justify-content:flex-start;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;overscroll-behavior-x:contain;margin-right:-8px}
header.roll nav::-webkit-scrollbar{display:none}
header.roll nav button{padding:0 8px}
header.roll nav button::after{left:8px;right:8px}
header.roll nav.more-r{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 30px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 30px),transparent)}
header.roll nav.more-l{-webkit-mask-image:linear-gradient(270deg,#000 calc(100% - 30px),transparent);mask-image:linear-gradient(270deg,#000 calc(100% - 30px),transparent)}
header.roll nav.more-l.more-r{-webkit-mask-image:linear-gradient(90deg,transparent,#000 30px,#000 calc(100% - 30px),transparent);mask-image:linear-gradient(90deg,transparent,#000 30px,#000 calc(100% - 30px),transparent)}
@media(prefers-reduced-motion:reduce){
  .primary.demo-next{box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 0 0 3px rgba(183,139,235,.55),0 0 18px 2px rgba(150,100,240,.5)}
  .secondary.demo-next,.next-step.demo-next{box-shadow:0 0 0 3px rgba(183,139,235,.45)}
  nav button.demo-next>span::after,header.compact nav button.demo-next:not(.active)>b::after{opacity:1}
}
.hook-title[readonly]{cursor:default}
.cut-time input[readonly]{cursor:default}
main button,.next-step,#cancel,.outline-item,header.stacked nav button{min-height:33px!important}
.text-button,.hook-go,.chapter-go{display:inline-flex;align-items:center;justify-content:center;min-width:33px}
.hook-up,.hook-down{min-height:33px;height:33px;width:33px}
.cut-top input[type=checkbox]::before,.hook-side>input[type=checkbox]::before{content:"";position:absolute;left:-10px;top:-10px;right:-10px;bottom:-10px}
header.compact nav button{min-width:33px}
.more>summary{min-height:33px}
.profile-chip{pointer-events:none}
.profile-chip,.dropdown-trigger{min-height:33px;height:auto}
.collapse-toggle{min-height:33px!important;width:33px!important;height:33px!important}
.chapter-option{min-height:33px}
.outline{display:none}
@media(pointer:coarse){
  main button,.next-step,#cancel,.outline-item,nav button,header.stacked nav button,main summary,.more>summary,.dropdown-trigger,.chapter-option,main label.check,.time-input,.title-input{min-height:40px!important}
  header.compact nav button,.text-button,.hook-go,.chapter-go{min-width:40px}
  .hook-up,.hook-down,.collapse-toggle{min-height:40px!important;width:40px!important;height:40px!important}
  .cut-top input[type=checkbox]::before,.hook-side>input[type=checkbox]::before{left:-12px;top:-12px;right:-12px;bottom:-12px}
}
header.tight nav button,.camera-part .part-label,.label,.soon-badge,.brand-label,.counts .field,.mode-switch small,.chapter-badge,.check small,.chapter-go,
#intro .hook-more>summary,.cut-kind,.cut-top .cut-back,.sync-step>h3 span,.step-card>h3 span,.step-card>#chaptersResult>h3 span{font-size:11.5px}
.sync-step.done h3::after{font-size:11.5px}
@media(max-width:459px){.outline-item{font-size:11.5px}}
.demo-end{position:fixed;left:0;right:0;bottom:0;top:0;z-index:60;display:flex;align-items:flex-start;justify-content:center;padding:26px 16px;overflow:auto;background:rgba(11,10,16,.97);opacity:0;transition:opacity .35s}
.demo-end.in{opacity:1}
.demo-end-card{width:100%;max-width:340px;margin:auto 0;text-align:center;padding:26px 20px 20px;border-radius:14px;background:linear-gradient(180deg,#1d1828 0%,#15121c 100%);border:1px solid var(--line-strong);box-shadow:0 24px 60px -20px rgba(0,0,0,.8),0 0 50px -10px rgba(134,85,213,.35);transform:translateY(12px) scale(.98);transition:transform .5s cubic-bezier(.22,.8,.24,1)}
.demo-end.in .demo-end-card{transform:none}
.demo-end-check{width:64px;height:64px;margin:0 auto 14px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--success-bg);border:2px solid var(--success-line);box-shadow:0 0 0 7px rgba(127,217,185,.08),0 0 30px rgba(127,217,185,.25)}
.demo-end-check svg{width:34px;height:34px;fill:none;stroke:var(--success);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:24;stroke-dashoffset:24;transition:stroke-dashoffset .55s .3s ease-out}
.demo-end.in .demo-end-check svg{stroke-dashoffset:0}
.demo-end-title{margin:0 0 8px;font-size:24px;line-height:1.15;font-weight:700;color:#fff}
.demo-end-text{margin:0 0 18px;font-size:13.5px;line-height:1.5;color:var(--muted-strong)}
a.demo-end-get{display:flex;align-items:center;justify-content:center;min-height:50px;font-size:15.5px;text-decoration:none}
a.demo-end-get:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.demo-end-again{margin-top:10px;font-size:14px}
.demo-end.short .demo-end-card{margin-top:0}
@media(max-height:470px){.demo-end{padding:14px 12px}.demo-end-card{padding:18px 16px 16px}.demo-end-check{width:50px;height:50px;margin-bottom:10px}.demo-end-check svg{width:28px;height:28px}
  .demo-end-title{font-size:21px;margin-bottom:6px}.demo-end-text{font-size:12.5px;line-height:1.45;margin-bottom:14px}a.demo-end-get{min-height:46px;font-size:15px}.demo-end-again{margin-top:8px}}
@media(prefers-reduced-motion:reduce){.demo-end,.demo-end-card,.demo-end-check svg{transition:none}.demo-end-card{transform:none}.demo-end-check svg{stroke-dashoffset:0}}
