[data-bts-ui].bts-gallery{position:fixed;inset:0;z-index:120;width:100%;height:100dvh;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;color:#e9e4da;background:#000000d1;pointer-events:auto;isolation:isolate}[data-bts-ui].bts-gallery[hidden]{display:none}[data-bts-ui].bts-gallery.is-enlarged,[data-bts-ui].bts-gallery.is-closing{overflow:hidden}.bts-gallery.is-closing .bts-gallery-header,.bts-gallery.is-closing .bts-gallery-card{pointer-events:none}[data-bts-ui].bts-gallery button{font:inherit}[data-bts-ui].bts-gallery button:focus-visible{outline:2px solid #f0c89a;outline-offset:3px}.bts-gallery-header{position:fixed;z-index:500;display:flex;align-items:center;gap:10px;pointer-events:auto}.bts-gallery-header{top:max(14px,env(safe-area-inset-top,0px));left:max(14px,env(safe-area-inset-left,0px));right:max(14px,env(safe-area-inset-right,0px));justify-content:space-between}.bts-gallery-title{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0 auto 0 0;color:#f0e9dc;font:inherit;letter-spacing:inherit;text-transform:inherit;text-shadow:0 1px 8px #000}.bts-gallery-button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;box-sizing:border-box;font:inherit;text-decoration:none;white-space:nowrap;min-width:44px;min-height:44px;border:1px solid rgba(242,226,204,.56);border-radius:3px;padding:8px 12px;color:#f0e9dc;background:#0b0a09b8;cursor:pointer;letter-spacing:inherit;text-transform:inherit;touch-action:manipulation}.bts-gallery-button:hover{background:#382e25e6}.bts-gallery-button[hidden]{display:none}.bts-gallery-grid{position:relative;isolation:isolate;z-index:1;width:100%;min-height:100%;pointer-events:none}.bts-gallery-card{position:absolute;box-sizing:border-box;display:flex;flex-direction:column;padding:0;border:0;border-radius:0;background:#f2eee4;color:#1e1b18;box-shadow:0 8px 24px #00000057;transform:translate(-50%,-50%);transform-origin:50% 50%;transition:opacity .22s ease,box-shadow .22s ease,background-color .22s ease,border-color .22s ease;pointer-events:auto}.bts-gallery.is-gallery .bts-gallery-card.is-selected,.bts-gallery.is-enlarged .bts-gallery-card.is-selected{z-index:220!important}.bts-gallery.is-gallery .bts-gallery-card{border-color:transparent;background:transparent;box-shadow:none}.bts-gallery.is-enlarged .bts-gallery-card:not(.is-selected){opacity:.32}.bts-gallery.is-closing .bts-gallery-card{translate:none!important;scale:none!important;transition:none}.bts-gallery-card[hidden]{display:none}.bts-gallery.is-gallery:not(.is-enlarged):not(.is-closing) .bts-gallery-card{transform:translate(-50%,-50%) scale(var(--bts-hover-scale, 1))!important}.bts-gallery.is-gallery:not(.is-enlarged):not(.is-closing) .bts-gallery-card[data-bts-lift]{z-index:10000!important}.bts-gallery-photo{position:absolute;display:block;overflow:hidden;border:0;padding:0;background:#c7c0b3;cursor:pointer}.bts-gallery-photo img{display:block;width:100%;height:100%;object-fit:cover;background:#bdb5a7}.bts-handoff-caption{position:absolute;left:6%;top:82.5%;width:88%;height:13.333333%;pointer-events:none;fill:#272522;font:74px Permanent Marker,cursive;letter-spacing:normal;text-transform:none;transition:opacity .2s ease}.bts-gallery.is-spreading .bts-handoff-caption,.bts-gallery.is-gallery .bts-handoff-caption{opacity:0}.bts-gallery-photo[aria-busy=true] img{opacity:.58}.bts-gallery-card.is-error .bts-gallery-photo img{display:none}.bts-gallery-error{display:none;align-items:center;justify-content:center;width:100%;height:100%;padding:10px;box-sizing:border-box;color:#4b4035;font:inherit;text-align:center;text-transform:uppercase}.bts-gallery-card.is-error .bts-gallery-error{display:flex}.bts-gallery-viewer{position:fixed;inset:0;z-index:600;display:grid;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr);place-items:center;padding:calc(env(safe-area-inset-top,0px) + 64px) max(16px,env(safe-area-inset-right,0px)) calc(env(safe-area-inset-bottom,0px) + 18px) max(16px,env(safe-area-inset-left,0px));box-sizing:border-box;pointer-events:auto}.bts-gallery-viewer[hidden]{display:none}.bts-gallery-viewer-backdrop{position:absolute;inset:0;background:#030303bd}.bts-gallery-viewer-panel{position:relative;z-index:1;min-width:0;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;width:100%;height:100%;max-width:100%;max-height:100%;padding:0;box-sizing:border-box;border:0;background:transparent}.bts-gallery-viewer-image-wrap{position:relative;min-height:0;min-width:0;display:grid;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr);place-items:center;background:transparent}.bts-gallery-viewer-image{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}.bts-gallery-viewer-error{display:none;max-width:28em;padding:24px;color:#d9cabb;font:inherit;text-align:center}.bts-gallery-viewer.is-error .bts-gallery-viewer-image{display:none}.bts-gallery-viewer.is-error .bts-gallery-viewer-error{display:block}.bts-gallery-viewer-caption{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:46px;padding:10px 2px 0;color:#e9ded0;font:inherit}.bts-gallery-viewer-controls{position:fixed;z-index:2;top:calc(10px + env(safe-area-inset-top,0px));right:max(16px,env(safe-area-inset-right,0px));left:max(16px,env(safe-area-inset-left,0px));display:flex;justify-content:space-between;pointer-events:none}.bts-gallery-viewer-controls .bts-gallery-button{pointer-events:auto}@media (max-width: 619px){.bts-gallery-header{gap:6px}.bts-gallery-button{padding-inline:8px}}@media (prefers-reduced-motion: reduce){[data-bts-ui].bts-gallery *,[data-bts-ui].bts-gallery *:before,[data-bts-ui].bts-gallery *:after{scroll-behavior:auto!important;transition:none!important}}
