.cylindri-gallery-v2-active{--cyl-gallery-radius:16px;--cyl-gallery-gap:14px;--cyl-gallery-bg:#f6f6f4;--cyl-gallery-ink:#111;--cyl-gallery-muted:#6f6f73}
.cyl-gallery-v2-hero button,.cyl-gallery-v2-overlay button{font:inherit}
.cyl-gallery-v2-hero{width:100%;max-width:1360px;margin:0 auto}
.cyl-gallery-v2-desktop{display:grid;grid-template-columns:minmax(0,2fr) minmax(360px,1fr);gap:var(--cyl-gallery-gap);width:100%;height:620px;min-height:0;margin:0 auto;align-items:stretch}
.cyl-gallery-v2-main,.cyl-gallery-v2-tile{position:relative;border:0;padding:0;background:#ececea;overflow:hidden;cursor:pointer;min-width:0;min-height:0}
.cyl-gallery-v2-main{height:100%;min-height:0;border-radius:var(--cyl-gallery-radius)}
.cyl-gallery-v2-main img,.cyl-gallery-v2-tile img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .32s ease}
.cyl-gallery-v2-main:hover img,.cyl-gallery-v2-tile:hover img{transform:scale(1.015)}
.cyl-gallery-v2-counter,.cyl-gallery-v2-mobile__count,.cyl-gallery-v2-viewall{position:absolute;z-index:3;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid rgba(17,17,17,.08);box-shadow:0 2px 14px rgba(0,0,0,.06)}
.cyl-gallery-v2-counter{left:18px;bottom:18px;padding:8px 11px;border-radius:999px;font-size:12px;font-weight:600;letter-spacing:.02em}
.cyl-gallery-v2-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:var(--cyl-gallery-gap);height:100%;min-height:0;overflow:hidden}
.cyl-gallery-v2-tile{border-radius:var(--cyl-gallery-radius);min-height:0}
.cyl-gallery-v2-tile:last-child:nth-child(odd){grid-column:1 / -1}
.cyl-gallery-v2-tile__shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 48%,rgba(0,0,0,.48) 100%)}
.cyl-gallery-v2-tile__label{position:absolute;left:14px;bottom:12px;z-index:2;color:#fff;font-size:13px;font-weight:600;letter-spacing:.01em;text-shadow:0 1px 3px rgba(0,0,0,.22)}
.cyl-gallery-v2-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2;width:48px;height:48px;border-radius:50%;background:rgba(255,255,255,.94);display:grid;place-items:center;box-shadow:0 4px 18px rgba(0,0,0,.13);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);transition:transform .22s ease,background .22s ease,box-shadow .22s ease}
.cyl-gallery-v2-play svg{width:18px;height:18px;display:block;fill:#111;transform:translateX(1px)}
.cyl-gallery-v2-tile:hover .cyl-gallery-v2-play{transform:translate(-50%,-50%) scale(1.06);background:#fff;box-shadow:0 6px 22px rgba(0,0,0,.16)}
.cyl-gallery-v2-mobile{display:none}

.cyl-gallery-v2-overlay{position:fixed;inset:0;z-index:999999;background:var(--cyl-gallery-bg);color:var(--cyl-gallery-ink);overflow:auto;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .22s ease,visibility .22s ease}
.cyl-gallery-v2-overlay.is-open{opacity:1;visibility:visible;pointer-events:auto}
body.cyl-gallery-v2-lock{overflow:hidden}
.cyl-gallery-v2-overlay__top{position:sticky;top:0;z-index:20;background:rgba(246,246,244,.92);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-bottom:1px solid rgba(17,17,17,.08)}
.cyl-gallery-v2-overlay__head{height:66px;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:12px;max-width:1360px;margin:0 auto;padding:0 18px}
.cyl-gallery-v2-overlay__title{font-size:15px;font-weight:600;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cyl-gallery-v2-back,.cyl-gallery-v2-close{width:38px;height:38px;border-radius:50%;border:1px solid rgba(17,17,17,.10);background:rgba(255,255,255,.8);cursor:pointer;font-size:22px;line-height:1;display:grid;place-items:center}
.cyl-gallery-v2-close{font-size:27px;font-weight:300}
.cyl-gallery-v2-nav{display:flex;gap:10px;max-width:1360px;margin:0 auto;padding:0 18px 14px;overflow-x:auto;scrollbar-width:none}
.cyl-gallery-v2-nav::-webkit-scrollbar{display:none}
.cyl-gallery-v2-nav button{flex:0 0 auto;border:1px solid rgba(17,17,17,.10);background:#fff;border-radius:999px;padding:9px 13px;font-size:12px;font-weight:600;cursor:pointer;transition:background .2s ease,border-color .2s ease}
.cyl-gallery-v2-nav button:hover,.cyl-gallery-v2-nav button.is-active{background:#111;color:#fff;border-color:#111}
.cyl-gallery-v2-feed{max-width:1360px;margin:0 auto;padding:18px 18px 60px}
.cyl-gallery-v2-group{scroll-margin-top:130px;margin:0 0 28px}
.cyl-gallery-v2-group__label{display:inline-flex;align-items:center;min-height:30px;padding:0 11px;margin:0 0 12px;border-radius:999px;background:#111;color:#fff;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.cyl-gallery-v2-feed__figure{position:relative;margin:0 0 var(--cyl-gallery-gap);border-radius:18px;overflow:hidden;background:#e9e9e6}
.cyl-gallery-v2-feed__image{display:block;width:100%;height:auto;max-height:88vh;object-fit:contain;background:#ececea}
.cyl-gallery-v2-feed__counter{position:absolute;right:14px;bottom:14px;padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.9);backdrop-filter:blur(10px);font-size:11px;font-weight:600}
.cyl-gallery-v2-video{position:relative;aspect-ratio:16/9;border-radius:18px;overflow:hidden;background:#000}
.cyl-gallery-v2-video iframe{position:absolute;inset:0;width:100%;height:100%}

@media (max-width:899px){
  .cyl-gallery-v2-desktop{display:none}
  .cyl-gallery-v2-mobile{display:block;-webkit-text-size-adjust:100%}
  .cyl-gallery-v2-mobile button{-webkit-appearance:none;appearance:none;color:#111!important;-webkit-text-fill-color:#111;text-decoration:none}
  .cyl-gallery-v2-mobile__viewport{position:relative;overflow:hidden;background:#eee;border-radius:0}
  .cyl-gallery-v2-mobile__track{display:flex;transition:transform .32s cubic-bezier(.22,.61,.36,1);touch-action:pan-y}
  .cyl-gallery-v2-mobile__slide{flex:0 0 100%;border:0;padding:0;background:#eee;aspect-ratio:4/3;cursor:pointer}
  .cyl-gallery-v2-mobile__slide img{width:100%;height:100%;object-fit:cover;display:block}
  .cyl-gallery-v2-arrow{position:absolute;top:50%;z-index:4;transform:translateY(-50%);width:34px;height:34px;border-radius:50%;border:0;background:rgba(255,255,255,.92);box-shadow:0 2px 12px rgba(0,0,0,.12);font-size:27px;line-height:1;display:grid;place-items:center;cursor:pointer;color:#111!important;-webkit-text-fill-color:#111!important}
  .cyl-gallery-v2-arrow--prev{left:10px}.cyl-gallery-v2-arrow--next{right:10px}
  .cyl-gallery-v2-viewall{right:10px;bottom:10px;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;border-radius:999px!important;padding:7px 10px!important;font-size:9px!important;line-height:1!important;font-weight:700!important;letter-spacing:.03em;color:#111!important;-webkit-text-fill-color:#111!important}
  .cyl-gallery-v2-mobile__count{left:10px;bottom:10px;border-radius:999px;padding:7px 10px;font-size:10px;font-weight:700}
  .cyl-gallery-v2-dots{position:absolute;left:50%;bottom:15px;transform:translateX(-50%);display:flex;gap:5px;max-width:42%;overflow:hidden;pointer-events:none}
  .cyl-gallery-v2-dot{width:5px;height:5px;flex:0 0 5px;border-radius:50%;background:rgba(255,255,255,.55);box-shadow:0 0 0 1px rgba(0,0,0,.06)}
  .cyl-gallery-v2-dot.is-active{background:#fff;transform:scale(1.25)}
  .cyl-gallery-v2-mobile__categories{display:flex;gap:10px;overflow-x:auto;padding:12px 28px 4px 12px;scrollbar-width:none;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;transition:-webkit-mask-image .2s ease,mask-image .2s ease}
  .cyl-gallery-v2-mobile__categories.has-more-right{-webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 28px),transparent 100%);mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 28px),transparent 100%)}
  .cyl-gallery-v2-mobile__categories::-webkit-scrollbar{display:none}
  .cyl-gallery-v2-mobilecat{flex:0 0 82px;border:0;padding:0;background:transparent;text-align:left;cursor:pointer;color:#111!important;-webkit-text-fill-color:#111!important;scroll-snap-align:start}
  .cyl-gallery-v2-mobilecat__image{position:relative;display:block;width:82px;aspect-ratio:4/3;border-radius:12px;overflow:hidden;background:#ececea}
  .cyl-gallery-v2-mobilecat__image img{width:100%;height:100%;object-fit:cover;display:block}
  .cyl-gallery-v2-mobilecat__label{display:block;margin-top:6px;font-size:11px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .cyl-gallery-v2-mobilecat .cyl-gallery-v2-play{width:32px;height:32px}
  .cyl-gallery-v2-mobilecat .cyl-gallery-v2-play svg{width:12px;height:12px}
  .cyl-gallery-v2-overlay__head{height:58px;padding:0 10px;grid-template-columns:38px 1fr 38px}
  .cyl-gallery-v2-overlay__title{font-size:13px}
  .cyl-gallery-v2-back,.cyl-gallery-v2-close{width:34px;height:34px;-webkit-appearance:none;appearance:none;color:#111!important;-webkit-text-fill-color:#111!important;text-decoration:none!important}
  .cyl-gallery-v2-nav{padding:0 10px 10px;gap:7px}
  .cyl-gallery-v2-nav button{-webkit-appearance:none;appearance:none;padding:8px 11px;font-size:11px;color:#111!important;-webkit-text-fill-color:#111!important;text-decoration:none!important;background:#fff}
  .cyl-gallery-v2-nav button:hover,.cyl-gallery-v2-nav button.is-active{background:#111!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#111!important}
  .cyl-gallery-v2-feed{padding:12px 0 42px}
  .cyl-gallery-v2-group{scroll-margin-top:112px;margin-bottom:20px}
  .cyl-gallery-v2-group__label{margin-left:10px}
  .cyl-gallery-v2-feed__figure{border-radius:0;margin-bottom:12px}
  .cyl-gallery-v2-feed__image{width:100%;max-height:none;object-fit:contain}
  .cyl-gallery-v2-feed__counter{right:10px;bottom:10px}
  .cyl-gallery-v2-video{border-radius:0}
}
@media (min-width:900px) and (max-width:1199px){
  .cyl-gallery-v2-desktop{grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);height:520px}
}
