/* EMCSE profile */
body:has(.astro-profile-emcse){background:#080d13;color:#f1f3f4}
.astro-library.astro-profile-emcse{--ink:#f1f3f4;--muted:#a2afbd;--accent:#9fc9e4;--line:#26313c;background:#080d13;color:var(--ink)}
.astro-library.astro-profile-emcse .emcse-gallery-header{position:relative;height:136px;padding:0 max(48px,calc((100vw - 1360px)/2));background:#090f16;border-bottom:1px solid #26313c;display:flex;align-items:center;gap:34px;z-index:50}
.astro-library.astro-profile-emcse .emcse-header-brand{display:flex;align-items:center;flex:0 0 auto}
.astro-library.astro-profile-emcse .emcse-header-logo{display:block;width:160px;height:auto;filter:brightness(0) invert(1);opacity:.93}
.astro-library.astro-profile-emcse .emcse-desktop-nav{display:flex;align-items:center;justify-content:flex-end;gap:25px;margin-left:auto;font-size:13px;font-weight:550}
.astro-library.astro-profile-emcse .emcse-desktop-nav>a,.astro-library.astro-profile-emcse .emcse-desktop-nav .astro-gallery-menu>a{color:#dce5eb;text-decoration:none;white-space:nowrap}
.astro-library.astro-profile-emcse .emcse-desktop-nav>a:hover,.astro-library.astro-profile-emcse .emcse-desktop-nav .astro-gallery-menu>a:hover{color:#9fc9e4}
.astro-library.astro-profile-emcse .emcse-join{border:1px solid #526b80;padding:11px 17px;border-radius:4px;color:#f1f3f4!important}
.astro-library.astro-profile-emcse .emcse-join:hover{background:#b6d7e9;color:#0b1821!important;border-color:#b6d7e9}
.astro-library.astro-profile-emcse .emcse-mobile-nav{display:none;margin-left:auto;position:relative}
.astro-library.astro-profile-emcse .emcse-mobile-nav>summary{list-style:none;cursor:pointer;border:1px solid #526b80;border-radius:4px;padding:10px 13px;color:#eef3f6;font-size:14px}
.astro-library.astro-profile-emcse .emcse-mobile-nav>summary::-webkit-details-marker{display:none}
.astro-library.astro-profile-emcse .emcse-mobile-links{position:absolute;right:0;top:calc(100% + 14px);min-width:265px;padding:18px;background:#101923;border:1px solid #344654;border-radius:6px;box-shadow:0 18px 48px #0009;display:flex;flex-direction:column;gap:4px}
.astro-library.astro-profile-emcse .emcse-mobile-links>a,.astro-library.astro-profile-emcse .emcse-mobile-links .astro-gallery-menu>a{display:block;padding:9px 10px;color:#dce5eb;text-decoration:none}
.astro-library.astro-profile-emcse .astro-gallery-dropdown{background:#101923;border-color:#344654;box-shadow:0 18px 48px #0009}
.astro-library.astro-profile-emcse .astro-gallery-dropdown a{color:#dce5eb}
.astro-library.astro-profile-emcse .astro-gallery-dropdown a:hover{background:#172633;color:#a9d5ef}
.astro-library.astro-profile-emcse .astro-page,.astro-library.astro-profile-emcse .astro-content,.astro-library.astro-profile-emcse .astro-catalog{background:#080d13;color:#f1f3f4}
.astro-library.astro-profile-emcse h1,.astro-library.astro-profile-emcse h2,.astro-library.astro-profile-emcse h3,.astro-library.astro-profile-emcse h4{color:#f1f3f4}
.astro-library.astro-profile-emcse p,.astro-library.astro-profile-emcse .astro-muted,.astro-library.astro-profile-emcse .astro-count,.astro-library.astro-profile-emcse label{color:#a2afbd}
.astro-library.astro-profile-emcse input,.astro-library.astro-profile-emcse select,.astro-library.astro-profile-emcse textarea{background:#101923!important;color:#f1f3f4!important;border-color:#394b5c!important}
.astro-library.astro-profile-emcse input:focus,.astro-library.astro-profile-emcse select:focus,.astro-library.astro-profile-emcse textarea:focus{outline:2px solid #9fc9e4;outline-offset:1px}
.astro-library.astro-profile-emcse .catalog-filter-form button,.astro-library.astro-profile-emcse .button,.astro-library.astro-profile-emcse input[type=submit]{background:#b6d7e9!important;color:#0b1821!important;border-color:#b6d7e9!important}
.astro-library.astro-profile-emcse .astro-filter,.astro-library.astro-profile-emcse .astro-card,.astro-library.astro-profile-emcse .astro-photo-data,.astro-library.astro-profile-emcse .astro-catalogue-directory,.astro-library.astro-profile-emcse .astro-panel{background:#101720;border-color:#26313c}
.astro-library.astro-profile-emcse .astro-card:hover{border-color:#526b80;box-shadow:0 14px 40px #0007}
.astro-library.astro-profile-emcse .astro-album-tabs a,.astro-library.astro-profile-emcse .astro-filter a{color:#a2afbd;border-color:#344654}
.astro-library.astro-profile-emcse .astro-album-tabs a:hover,.astro-library.astro-profile-emcse .astro-album-tabs a[aria-current=true],.astro-library.astro-profile-emcse .astro-filter a:hover,.astro-library.astro-profile-emcse .astro-filter .current{color:#0b1821;background:#b6d7e9;border-color:#b6d7e9}
.astro-library.astro-profile-emcse a{color:#9fc9e4}
.astro-library.astro-profile-emcse .album-tabs a:hover,.astro-library.astro-profile-emcse .album-groups a:hover,.astro-library.astro-profile-emcse .album-groups a[aria-current],.astro-library.astro-profile-emcse .catalog-pagination .current{background:#b6d7e9;color:#0b1821;border-color:#b6d7e9}
.astro-library.astro-profile-emcse .album-groups a:hover small,.astro-library.astro-profile-emcse .album-groups a[aria-current] small{color:inherit;opacity:1}

@media(max-width:1100px){
  .astro-library.astro-profile-emcse .emcse-desktop-nav{gap:15px;font-size:12px}
  .astro-library.astro-profile-emcse .emcse-header-logo{width:145px}
}
@media(max-width:900px){
  .astro-library.astro-profile-emcse .emcse-gallery-header{height:120px;padding-inline:28px}
  .astro-library.astro-profile-emcse .emcse-desktop-nav{display:none!important}
  .astro-library.astro-profile-emcse .emcse-mobile-nav{display:block;position:static}
  .astro-library.astro-profile-emcse .emcse-mobile-links{left:28px;right:28px;width:auto;min-width:0;align-items:stretch!important;text-align:left;gap:2px}
  .astro-library.astro-profile-emcse .emcse-mobile-links>a{width:100%;padding:11px 12px;text-align:left}
  .astro-library.astro-profile-emcse .emcse-mobile-links .astro-gallery-menu{width:100%}
  .astro-library.astro-profile-emcse .emcse-mobile-links .astro-gallery-menu>summary{padding:11px 12px;text-align:left}
  .astro-library.astro-profile-emcse .emcse-mobile-links .astro-gallery-dropdown{position:static;display:block;visibility:visible;opacity:1;transform:none;box-shadow:none;margin:2px 0 7px 12px;padding:3px 0 3px 12px;border-left:1px solid #344654;border-top:0;border-right:0;border-bottom:0;border-radius:0}
  .astro-library.astro-profile-emcse .emcse-mobile-links .astro-gallery-dropdown a{padding:9px 10px!important;text-align:left}
}
@media(max-width:600px){
  .astro-library.astro-profile-emcse .emcse-gallery-header{height:112px;padding-inline:18px}
  .astro-library.astro-profile-emcse .emcse-header-logo{width:136px}
  .astro-library.astro-profile-emcse .emcse-mobile-links{left:18px;right:18px;width:auto;min-width:0;max-height:calc(100svh - 132px);overflow-y:auto;padding:14px}
}

.astro-profile-emcse .emcse-footer-logo{display:block;width:160px;height:auto;filter:brightness(0) invert(1);margin-bottom:18px}.astro-profile-emcse .astro-wrap{max-width:1360px}.astro-profile-emcse .photo-detail-image{background:#080d13}

/* Image viewers are not form submit buttons. Keep their letterboxing dark. */
.astro-library.astro-profile-emcse .photo-detail-image:is(button){background:#080d13!important;border:0!important;padding:0!important;color:inherit!important;border-radius:0}
.astro-library.astro-profile-emcse .photo-preview-actions button{background:transparent!important;border:0!important;padding:0!important;color:#b9d8eb!important}
.astro-library.astro-profile-emcse .viewer-controls button,.astro-library.astro-profile-emcse .viewer-fullscreen-compact,.astro-library.astro-profile-emcse .viewer-menu-toggle{background:#101923!important;color:#f1f3f4!important;border:1px solid #394b5c!important}
