/* Mobile navigation uses the upper left of its own page or nested view. */
body.mobile-ui-active .mobile-return-heading {
  display:flex!important; flex-direction:row!important; flex-wrap:wrap; align-items:center; justify-content:flex-start!important; gap:6px 8px;
}
body.mobile-ui-active .mobile-return-heading .mobile-return-contents {display:contents!important;}
body.mobile-ui-active .mobile-return-heading>.mobile-return-control,
body.mobile-ui-active .mobile-return-heading .mobile-return-contents>.mobile-return-control {order:-100!important;}
body.mobile-ui-active .mobile-return-heading>:is(h2,h3,strong,div):not(.mobile-return-contents):not(.mobile-return-row) {min-width:0;flex:1 1 100px;}
body.mobile-ui-active .mobile-return-heading>.mobile-return-row {flex-basis:100%;order:-100;}
body.mobile-ui-active .mobile-return-row {
  display:flex!important; flex-wrap:wrap; justify-content:flex-start; align-items:center; gap:6px;
  grid-column:1/-1; width:100%; box-sizing:border-box; margin:0 0 8px; padding:0; position:static;
}
body.mobile-ui-active .mobile-return-inline {justify-content:flex-start!important;text-align:left!important;}
body.mobile-ui-active button.mobile-return-control {
  position:static!important; inset:auto!important; float:none!important; transform:none!important;
  flex:0 0 auto!important; align-self:flex-start!important; width:auto!important; max-width:100%; min-width:0!important; min-height:32px;
  margin:0!important; padding:5px 8px!important; border:1px solid #d8e3ef; border-radius:7px;
  background:#fff; color:#175cc3; font-size:12px!important; line-height:20px!important; text-align:left; white-space:normal;
}
body.mobile-ui-active .mobile-return-row+header {margin-top:0;}
body.mobile-ui-active :is(.ia-app,.as-app)>.mobile-return-row {padding:0 10px;}
body.mobile-ui-active button.mobile-return-control[aria-label="返回"] {width:34px!important;text-align:center;}
/* These original pairs use the same guarded handler; keep the single left return. */
body.mobile-ui-active .reim-detail-header:has(>button[data-close-detail]:first-child)>button[data-close-detail]:last-child,
body.mobile-ui-active .reim-detail-header:has(>button[data-close-editor]:first-child)>button[data-close-editor]:last-child {display:none;}
