html:not([data-galleries=on]) [data-gallery],.g-gallery[hidden]{display:none!important}.g-gallery{position:absolute;top:8px;right:8px;z-index:2;width:88px;height:88px;padding:0;border-radius:0;display:inline-flex;align-items:center;justify-content:center;background:none;border:0;color:#050505;cursor:pointer;animation:gal-glow 3.4s ease-out infinite;transition:transform .18s ease-out}.g-gallery .ic{width:20px;height:20px}.g-stack{position:relative;width:76px;height:74px;flex:none}.g-stack i{position:absolute;left:15px;top:6px;width:46px;height:58px;padding:2px 2px 7px;background:#f2efe8;border-radius:3px;box-shadow:0 2px 7px #000000a6;box-sizing:border-box;transition:rotate .2s ease-out,translate .2s ease-out}.g-stack i:nth-last-child(1){rotate:-3deg;z-index:3;animation:gal-flick 3.4s ease-in-out infinite}.g-stack i:nth-last-child(2){rotate:11deg;translate:9px -1px;z-index:2}.g-stack i:nth-last-child(3){rotate:-12deg;translate:-10px 1px;z-index:1}.g-stack img{display:block;width:100%;height:100%;object-fit:cover}.g-gallery:hover,.g-gallery:focus-visible{animation:none;filter:drop-shadow(0 0 10px var(--a));transform:scale(1.1)}.g-gallery:hover .g-stack i:nth-last-child(2),.g-gallery:focus-visible .g-stack i:nth-last-child(2){rotate:17deg;translate:13px -1px}.g-gallery:hover .g-stack i:nth-last-child(3),.g-gallery:focus-visible .g-stack i:nth-last-child(3){rotate:-19deg;translate:-14px 1px}@keyframes gal-glow{0%,55%{filter:drop-shadow(0 0 0 transparent)}80%{filter:drop-shadow(0 0 10px var(--a))}to{filter:drop-shadow(0 0 0 transparent)}}@keyframes gal-flick{0%,72%,to{translate:0 0;rotate:-3deg}80%{translate:0 -4px;rotate:-9deg}90%{translate:0 0;rotate:2deg}}@media(prefers-reduced-motion:reduce){.g-gallery,.g-stack i{animation:none!important}}@media(max-width:760px){.g-gallery{top:36px;right:6px;width:80px;height:80px}}html[data-galleries=on] .g-title{padding-right:104px}.gallery{width:min(760px,calc(100vw - 24px));height:min(640px,calc(100svh - 24px));max-width:none;max-height:none;padding:0;margin:auto;border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface-100);color:var(--ink);box-shadow:0 16px 48px #0009;overflow:hidden}.gallery::backdrop{background:#050505d1}.gal-box{height:100%;display:flex;flex-direction:column;gap:14px;padding:20px}.gal-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.gal-title{font-size:26px;letter-spacing:.02em}.gal-close{width:44px;height:44px;flex-shrink:0;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:var(--surface-200);border:1px solid var(--border);color:var(--ink);transition:border-color .15s ease-out,color .15s ease-out}.gal-close:hover,.gal-close:focus-visible{border-color:var(--a);color:var(--a)}.gal-stage{position:relative;flex:1;min-height:0;background:var(--surface-050);border:1px solid var(--border);border-radius:var(--r-sm);overflow:hidden}.gal-img{position:absolute;top:16px;right:72px;bottom:16px;left:72px;width:calc(100% - 144px);height:calc(100% - 32px);object-fit:contain}.gal-nav{position:absolute;z-index:2;top:50%;translate:0 -50%;width:44px;height:44px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#050505b8;border:1px solid var(--border);color:var(--ink);transition:border-color .15s ease-out,color .15s ease-out}.gal-nav .ic{width:22px;height:22px}.gal-nav:hover,.gal-nav:focus-visible{border-color:var(--a);color:var(--a)}.gal-prev{left:12px}.gal-next{right:12px}.gal-foot{display:flex;flex-direction:column;gap:10px}.gal-thumbs{display:flex;justify-content:safe center;gap:8px;overflow-x:auto;scrollbar-width:thin;padding-bottom:2px}.gal-thumbs button{flex:0 0 96px;aspect-ratio:4 / 3;padding:0;border:2px solid var(--border);border-radius:var(--r-sm);background:var(--surface-050);overflow:hidden;transition:border-color .15s ease-out}.gal-thumbs button:hover{border-color:var(--ink-2)}.gal-thumbs button[aria-current=true]{border-color:var(--a)}.gal-thumbs img{display:block;width:100%;height:100%;object-fit:cover}.gal-count{text-align:center;font-family:var(--font-h);font-size:14px;font-weight:700;letter-spacing:.14em;color:var(--ink-2);font-variant-numeric:tabular-nums}.gal-nav[hidden],.gal-thumbs[hidden]{display:none}html.gallery-open{overflow:hidden}html.has-cursor.gallery-open #gallery,html.has-cursor.gallery-open #gallery *{cursor:auto!important}html.has-cursor.gallery-open #gallery button,html.has-cursor.gallery-open #gallery button *{cursor:pointer!important}html.has-cursor.gallery-open #cursor,html.has-cursor.gallery-open .tc-corner{visibility:hidden}@media(max-width:520px){.gal-box{padding:14px;gap:10px}.gal-title{font-size:22px}.gal-img{top:0;right:0;bottom:0;left:0;width:100%;height:100%}.gal-prev{left:6px}.gal-next{right:6px}.gal-thumbs{gap:6px}.gal-thumbs button{flex-basis:72px}}.lib-hero{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-2;pointer-events:none;background:var(--surface-050)}.lib-hero img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 4s ease-in-out;will-change:opacity}.lib-hero img.on{opacity:1}.lib-hero img.first{transition-duration:1.2s}.lib-hero:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:#0c0e15b8}@media(max-width:600px){.lib-hero:after{background:#0c0e15c7}}.lib-pola-wrap{margin-top:clamp(28px,4vw,56px)}.lib-pola{position:relative;height:clamp(270px,24vw,320px);pointer-events:none;contain:layout style}@media(max-width:600px){.lib-pola{height:200px}}.lib-pola-card{position:absolute;margin:0;padding:calc(var(--w) * .06) calc(var(--w) * .06) calc(var(--w) * .22);background:#f2efe8;border-radius:3px;box-shadow:0 6px 14px #00000073;opacity:0;rotate:calc(var(--r) + var(--spin));scale:1.35;translate:0 -36px;transition:opacity .18s ease-out,rotate .38s cubic-bezier(.3,1.25,.5,1),scale .38s cubic-bezier(.3,1.25,.5,1),translate .38s cubic-bezier(.3,1.25,.5,1)}.lib-pola-card.landed{opacity:1;rotate:var(--r);scale:1;translate:none}.lib-pola-card.gone{opacity:0;transition:opacity 1.2s ease-in}.lib-pola-card img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover}.lib-hero,.lib-pola,#gallery,#gallery *{-webkit-user-select:none;user-select:none}.lib-hero img,.lib-pola img,#gallery img{-webkit-user-drag:none;-webkit-touch-callout:none}#gallery ::selection{background:transparent}
