.lens-showcase{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(150px,1fr);gap:0;padding:45px 22px 30px;min-height:490px;background:radial-gradient(ellipse at 35% 45%,#ffffff 0,#edf5f8 47%,#dceaf0 100%)}.lens-stage{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;height:370px;perspective:850px;cursor:grab;touch-action:none;border-radius:24px;outline-offset:-4px}.lens-stage:active{cursor:grabbing}.lens-stage:focus-visible{outline:2px solid #63889d}.lens-turn{width:135%;flex-shrink:0;transform-style:preserve-3d;will-change:transform;pointer-events:none}.lens-showcase .rotating-lens{width:100%;filter:drop-shadow(0 20px 16px #496f852e);max-width:none}.lens-shadow{position:absolute;bottom:40px;width:145px;height:15px;border-radius:50%;background:#769bad26;filter:blur(10px);pointer-events:none}.drag-hint{position:absolute;bottom:0;font-size: 12px;color:#6a8393;pointer-events:none}.lens-label{position:relative;z-index:2;padding-left:12px;align-self:center;pointer-events:none}.lens-index{font-size: 12px;letter-spacing:.13em;color:#7993a2}.lens-name{font-size: 22px;font-weight:500;line-height:1.2;margin:16px 0 10px;overflow-wrap:anywhere}.lens-summary{font-size: 13px;line-height:1.5;color:#637c8e;min-height:62px;margin:0}.lens-dots{display:flex;gap:10px;margin:26px 0 17px;pointer-events:auto}.lens-dots button{width:24px;height:24px;padding:6px;border:0;background:transparent;border-radius:50%;position:relative}.lens-dots button:after{content:'';display:block;width:10px;height:10px;background:#bacbd4;border-radius:50%;transition:background .5s}.lens-dots button[aria-pressed=true]:after{background:#304e62}.lens-dots button[aria-pressed=true]{outline:1px solid #8ca7b7}.cycle-progress{height:2px;background:#ccdde5;width:110px}.cycle-progress i{display:block;height:100%;background:#627e90;width:0}.motion-toggle{font-size: 11px;margin-top:15px;border:0;padding:8px 0;background:none;color:#6c8494;pointer-events:auto;text-decoration:underline;text-underline-offset:4px}.showcase-note{grid-column:1/-1;font-size: 11px;line-height:1.5;text-align:center;margin:20px 0 0;color:#738a99}.optic-pattern{fill:none;stroke:#86aabf;stroke-width:1.3;opacity:0;transition:opacity 1.3s}.edof-pattern{stroke-width:1.8;stroke:#abc6d4}.lens-showcase[data-optic=edof] .edof-pattern{opacity:.65}.lens-showcase[data-optic=tri] .tri-pattern{opacity:.7}.lens-name,.lens-summary{animation:none}.label-enter{animation:labelIn .7s ease both!important}@keyframes labelIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media(max-width:1100px) and (min-width:851px){.lens-name{font-size: 18px}.lens-showcase{padding-left:10px;padding-right:10px;grid-template-columns:1.3fr 1fr}}@media(max-width:550px){.lens-showcase{grid-template-columns:1fr;min-height:520px}.lens-stage{height:300px}.lens-turn{width:110%}.lens-label{text-align:center;padding:15px 0 0}.lens-summary{min-height:0}.lens-dots{justify-content:center;margin:15px}.cycle-progress{margin:auto}.showcase-note{margin-top:12px}.lens-name{margin:8px 0}}
.lens-dots{gap:3px;flex-wrap:wrap}.lens-showcase[data-optic=enhanced] .enhanced-pattern{opacity:.55}.lens-showcase[data-optic=multi] .multi-pattern{opacity:.7}.lens-showcase[data-optic=full] .full-pattern{opacity:.6}.enhanced-pattern{stroke-width:3}.multi-pattern{stroke-width:2}.full-pattern{stroke-width:1}
.lens-stage canvas{display:block;position:absolute;inset:0;border-radius:24px;max-width:100%}.lens-showcase{grid-template-columns:minmax(0,1.4fr) minmax(185px,1fr);min-height:530px}.lens-stage{height:410px}.lens-model{font-size: 12px;font-weight:600;line-height:1.5;color:#46667b;margin:12px 0}.lens-summary{min-height:85px;font-size: 12px}.lens-source{pointer-events:auto;font-size: 12px;color:#607f92;text-underline-offset:3px}.lens-dots{margin-top:22px}.drag-hint{bottom:12px;z-index:1}.lens-shadow{display:none}.lens-name{font-size: 21px}.webgl-fallback{font-size: 13px;padding:20px}@media(max-width:550px){.lens-showcase{grid-template-columns:1fr}.lens-stage{height:310px}.lens-summary{min-height:0}}.optic-detail{display:flex;align-items:center;gap:10px;margin-top:16px;padding:12px 8px;background:#ffffff80;border:1px solid #c9dce6;border-radius:12px}.optic-detail svg{width:76px;flex-shrink:0}.optic-detail b{display:block;font-size: 11px;color:#526f82}.optic-detail span{display:block;font-size: 11px;line-height:1.4;margin-top:5px;color:#38576b}.optic-detail small{display:block;font-size: 9px;line-height:1.3;color:#7a91a0;margin-top:5px}.lens-label{padding-left:8px}.lens-showcase{min-height:580px}.lens-stage{height:450px}.lens-summary{min-height:70px}.lens-name{font-weight:600}.lens-dots{margin:16px 0 12px}.highlight-toggle{position:absolute;top:16px;right:18px;border:1px solid #a9c2d2;border-radius:20px;padding:8px 12px;background:#fff;color:#56758a;font-size: 11px;z-index:3}.highlight-toggle[aria-pressed=true]{background:#345e78;color:white;border-color:#345e78}.lens-stage{height:460px}.optic-detail svg{width:85px}.optic-detail{border-color:#abc5d4}.showcase-note{color:#536e81;font-size: 12px}.lens-showcase .tag{font-size: 12px}@media(max-width:550px){.highlight-toggle{top:48px}.lens-stage{height:350px}}
/* readability 30.09: подписи карточки линзы не мельче 14-16 px, контраст AA */
@media(min-width:768px){
.lens-showcase{grid-template-columns:minmax(0,1.15fr) minmax(250px,1fr)}
.drag-hint,.lens-index,.motion-toggle,.showcase-note,.lens-source,.highlight-toggle{font-size:15px}
.drag-hint,.lens-index,.motion-toggle,.showcase-note,.lens-showcase .tag{color:#4d6575}
.lens-model{font-size:16px}
.lens-summary{font-size:16px;color:#3f5869;min-height:96px}
.optic-detail b,.optic-detail span{font-size:15px}
.optic-detail small{font-size:14px;color:#4d6575}
.webgl-fallback{font-size:16px}
}
.lens-showcase .lens-name{font-weight:400}.lens-showcase .lens-model{font-weight:500}
/* 30.09: правая колонка не прыгает при смене линзы — высота фиксирована, точки прижаты к низу */
@media(min-width:768px){
.lens-showcase .lens-label{align-self:stretch;display:flex;flex-direction:column;height:460px;padding:26px 0 0 8px}
.lens-showcase .lens-name{margin:12px 0 6px}
.lens-showcase .lens-model{margin:0 0 10px;line-height:1.35}
.lens-showcase .lens-summary{min-height:0;line-height:1.45}
.lens-showcase .optic-detail{margin-top:auto;height:116px;box-sizing:border-box;padding:10px 12px;gap:12px}
.lens-showcase .optic-detail svg{width:72px}
.lens-showcase .optic-detail small{display:none}
.lens-showcase .lens-dots{margin:18px 0 10px}
.lens-showcase .motion-toggle{margin-top:8px;align-self:flex-start}
}
/* 30.09: круглая кнопка пауза/пуск вместо текстовой ссылки; примечание под линзой мелко */
@media(min-width:768px){
.lens-showcase .showcase-note{font-size:13px;margin-top:10px}
.lens-showcase .motion-toggle{position:absolute;right:4px;bottom:0;width:40px;height:40px;margin:0;padding:0;font-size:0;border:1px solid #8ca7b7;border-radius:50%;background:#fff;display:grid;place-items:center;cursor:pointer;text-decoration:none;transition:background .2s,border-color .2s}
.lens-showcase .motion-toggle:hover{background:#e8f0f6;border-color:#345e78}
.lens-showcase .motion-toggle:focus-visible{outline:2px solid #345e78;outline-offset:2px}
.lens-showcase .motion-toggle::before{content:'';display:block;width:12px;height:14px;box-sizing:border-box;border-left:4px solid #304e62;border-right:4px solid #304e62}
.lens-showcase .motion-toggle[aria-pressed=true]::before{width:0;height:0;margin-left:3px;border:0;border-top:8px solid transparent;border-bottom:8px solid transparent;border-left:13px solid #304e62}
}

/* 30.09: пауза на одной линии с точками, компактнее */
@media(min-width:768px){
.lens-showcase .motion-toggle{width:32px;height:32px;right:0;bottom:8px;border-color:#a9c2d2}
.lens-showcase .motion-toggle::before{width:10px;height:12px;border-left-width:3px;border-right-width:3px}
.lens-showcase .motion-toggle[aria-pressed=true]::before{margin-left:2px;border-top-width:6px;border-bottom-width:6px;border-left-width:10px}
}

/* 30.09: карточка «Оптика крупно» сразу под описанием; места под текст зарезервировано на 3 строки, чтобы не прыгало */
@media(min-width:768px){
.lens-showcase .lens-label{height:auto;align-self:center;padding-top:0}
.lens-showcase .lens-model{min-height:22px}
.lens-showcase .lens-summary{min-height:70px}
.lens-showcase .optic-detail{margin-top:14px}
}
@media(min-width:768px){.lens-showcase .motion-toggle::before{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.lens-showcase .motion-toggle[aria-pressed=true]::before{margin-left:0;transform:translate(-38%,-50%)}}
@media(min-width:768px){.lens-showcase .lens-name{font-size:19px;white-space:nowrap}}
