/* ALBUMS 1.0-U2: only cards inside an OPEN ALBUM. Native React actions are
 * hidden only after safe DOM enhancement. No changes to album cover grid,
 * Trash, Favorites, global layout, horizontal sizing or media URLs. */
.album-detail > .album-grid > .album-asset-card.nx-album-photo-u2-enabled {
  position:relative;
}
.album-detail > .album-grid > .album-asset-card.nx-album-photo-u2-enabled > .album-asset-card__actions {
  display:none!important;
}
.album-detail > .album-grid > .album-asset-card > .nx-album-photo-u2-more {
  position:absolute;
  top:10px;right:10px;z-index:5;
  width:36px;height:36px;min-width:36px;min-height:36px;
  padding:0;border:1px solid rgba(255,255,255,.43);
  border-radius:50%;background:rgba(10,20,33,.82);
  color:#fff;font:inherit;font-size:23px;line-height:1;
  display:grid;place-items:center;box-sizing:border-box;
  opacity:0;transition:opacity .13s ease,background-color .13s ease;
  cursor:pointer;-webkit-tap-highlight-color:transparent;
}
.album-detail > .album-grid > .album-asset-card:hover > .nx-album-photo-u2-more,
.album-detail > .album-grid > .album-asset-card:focus-within > .nx-album-photo-u2-more,
.album-detail > .album-grid > .album-asset-card > .nx-album-photo-u2-more[aria-expanded="true"] {
  opacity:1;
}
.album-detail > .album-grid > .album-asset-card > .nx-album-photo-u2-more:hover,
.album-detail > .album-grid > .album-asset-card > .nx-album-photo-u2-more[aria-expanded="true"] {
  background:rgba(34,75,132,.96);border-color:rgba(161,194,255,.9);
}
.album-detail > .album-grid > .album-asset-card > .nx-album-photo-u2-more:focus-visible {
  outline:2px solid #7aa2ff;outline-offset:2px;opacity:1;
}
.nx-album-photo-u2-menu {
  position:fixed;z-index:10020;box-sizing:border-box;
  max-width:calc(100vw - 24px);max-height:calc(100vh - 24px);overflow-y:auto;
  border:1px solid #3c4961;border-radius:11px;
  background:#1c2535;color:#f0f3f8;
  box-shadow:0 12px 24px rgba(0,0,0,.4);
  padding:5px;display:flex;flex-direction:column;
}
.nx-album-photo-u2-action {
  width:100%;box-sizing:border-box;min-height:37px;
  background:transparent;border:0;border-radius:7px;
  padding:9px 11px;color:inherit;font:inherit;font-size:14px;
  text-align:left;cursor:pointer;
}
.nx-album-photo-u2-action:not(:disabled):hover,
.nx-album-photo-u2-action:not(:disabled):focus-visible {
  background:#314766;
}
.nx-album-photo-u2-action:disabled {opacity:.42;cursor:not-allowed;}
html[data-theme="light"] .nx-album-photo-u2-menu {
  background:#fff;border-color:#d9e0eb;color:#243044;
  box-shadow:0 12px 25px rgba(25,38,56,.16);
}
html[data-theme="light"] .nx-album-photo-u2-action:not(:disabled):hover,
html[data-theme="light"] .nx-album-photo-u2-action:not(:disabled):focus-visible {
  background:#e6effb;
}
@media(hover:none) {
  .album-detail > .album-grid > .album-asset-card > .nx-album-photo-u2-more {opacity:1;}
}
