.photo-library{padding:24px 0 64px}.library-nav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:32px}.library-nav button,.library-back{font:inherit;border:0;border-radius:24px;padding:12px 20px;background:#edf0f3;color:#172d3d;cursor:pointer}.library-nav button[aria-pressed=true]{background:#122b3b;color:white}.photo-library h3{font-size:30px;letter-spacing:-.03em;margin:20px 0}.library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.library-card,.library-thumb{border:0;padding:0;background:none;text-align:left;cursor:pointer;color:inherit;font:inherit;min-width:0}.library-frame{display:block;position:relative;overflow:hidden;border-radius:14px;background:#edf0f3;aspect-ratio:4/3}.library-frame>img:first-child{width:100%;height:100%;object-fit:cover;display:block}.library-frame .library-logo{position:absolute;right:14px;bottom:14px;width:65px;height:auto;filter:drop-shadow(0 0 4px #ffffffb0)}.library-card strong{display:block;font-size:19px;margin:12px 0 3px}.library-card>span:last-child{font-size:14px;color:#65717c}.library-grid.photos{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.photos .library-frame{border-radius:5px;aspect-ratio:1}.library-thumb:hover img:first-child{transform:scale(1.025)}.library-viewer{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;border:0;padding:56px 70px 24px;background:#101215;color:white}.library-viewer::backdrop{background:#101215}.library-display{height:calc(100% - 60px);display:grid;place-items:center}.library-display .library-frame{height:100%;max-width:100%;aspect-ratio:auto;background:transparent;border-radius:0;display:inline-block}.library-display .library-frame>img:first-child{width:auto;max-width:100%;height:100%;object-fit:contain}.library-display .library-logo{width:100px;right:20px;bottom:20px}.library-viewer>p{text-align:center;color:#eee;font-size:15px;margin:18px 0}.library-viewer>button{position:absolute;background:#ffffff20;color:white;border:0;border-radius:50%;width:42px;height:42px;font-size:30px;cursor:pointer}.library-close{right:18px;top:12px}.library-prev{left:12px;top:48%}.library-next{right:12px;top:48%}.library-back[hidden],[hidden]{display:none!important}.library-card:focus-visible,.library-thumb:focus-visible,.library-nav button:focus-visible{outline:3px solid #087db5;outline-offset:4px}@media(max-width:700px){.library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.library-grid.photos{grid-template-columns:repeat(3,minmax(0,1fr))}.library-nav button{padding:10px 14px;font-size:14px}.library-frame .library-logo{width:45px;right:8px;bottom:8px}.library-viewer{padding:64px 38px 24px}.library-display .library-logo{width:70px}.library-viewer>p{font-size:13px}.photo-library h3{font-size:25px}}
.library-card{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;appearance:none;-webkit-appearance:none}.library-card .library-frame{width:100%;flex:none}.library-card strong{line-height:1.4}.library-nav button,.library-back{min-height:44px}.library-thumb{appearance:none;-webkit-appearance:none}
