/* iYueBi shared footer
 * IMPORTANT: no independent page-width value lives here.
 * The inner rail inherits the one global --iyb-page-width / --iyb-page-gutter rule from common/extend_common.css.
 */
.iyb-shared-footer{
  clear:both;
  width:100%;
  margin-top:5px;
  border-top:1px solid #e8dfcb;
  background:#fff;
  color:#777;
  font-size:13px;
  line-height:1.8;
}
.iyb-shared-footer *{box-sizing:border-box;}
.iyb-shared-footer-inner{
  margin:0 auto;
  padding:24px 12px 16px;
}
.iyb-shared-footer-grid{
  display:grid;
  grid-template-columns:minmax(140px,1fr) minmax(150px,1fr) minmax(140px,1fr) minmax(140px,1fr) 118px;
  gap:30px;
  align-items:start;
  padding-bottom:20px;
  border-bottom:1px solid #eee7d8;
}
.iyb-shared-footer-col{min-width:0;}
.iyb-shared-footer-col h3,
.iyb-shared-footer-about h3{
  position:relative;
  margin:0 0 10px;
  padding:0 0 0 10px;
  color:#444;
  font-size:15px;
  font-weight:600;
  line-height:24px;
}
.iyb-shared-footer-col h3:before,
.iyb-shared-footer-about h3:before{
  content:"";
  position:absolute;
  left:0;
  top:5px;
  width:3px;
  height:14px;
  border-radius:2px;
  background:#45b6f7;
}
.iyb-shared-footer-col>a{
  display:block;
  width:max-content;
  max-width:100%;
  padding:2px 0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#777;
  text-decoration:none;
}
.iyb-shared-footer a{color:#777;text-decoration:none;}
.iyb-shared-footer a:hover{color:#249fdf;text-decoration:none;}
.iyb-shared-footer-qr{justify-self:end;width:118px;}
.iyb-shared-footer-qr h3{white-space:nowrap;}
.iyb-shared-footer-qr>a{display:block;padding:0;}
.iyb-shared-footer-qr img{
  display:block;
  width:92px;
  height:92px;
  object-fit:cover;
  padding:4px;
  border:1px solid #e8dfcb;
  border-radius:6px;
  background:#fffdf7;
}
.iyb-shared-footer-meta{
  display:grid;
  grid-template-columns:minmax(260px,1fr) minmax(520px,1.6fr);
  gap:36px;
  align-items:start;
  padding-top:16px;
}
.iyb-shared-footer-about p{
  margin:0;
  color:#888;
  line-height:1.9;
  white-space:pre-line;
}
.iyb-shared-footer-native{text-align:right;}
.iyb-native-footernavs{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:4px 0;
  margin-bottom:6px;
}
.iyb-native-footernavs>a,
.iyb-native-footer-item{
  display:inline-flex;
  align-items:center;
}
.iyb-native-footernavs>a:not(:last-child):after,
.iyb-native-footer-item:not(:last-child):after{
  content:"|";
  padding:0 8px;
  color:#d3c8b4;
}
.iyb-native-footer-item .pipe{display:none!important;}
.iyb-native-footer-item a{white-space:nowrap;}
.iyb-shared-footer-legal{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  align-items:center;
  gap:2px 0;
  color:#999;
}
.iyb-shared-footer-legal>*{display:inline-flex;align-items:center;}
.iyb-shared-footer-legal>*:not(:last-child):after{
  content:"|";
  padding:0 8px;
  color:#d3c8b4;
}
.iyb-footer-mps{width:14px;height:14px;margin-right:4px;vertical-align:-2px;}
.iyb-shared-footer-runtime{margin:4px 0 0;color:#aaa;font-size:12px;}
.iyb-shared-footer-statcode{height:0;overflow:hidden;}

@media (max-width:980px){
  .iyb-shared-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 28px;}
  .iyb-shared-footer-qr{justify-self:start;}
  .iyb-shared-footer-meta{grid-template-columns:1fr;gap:12px;}
  .iyb-shared-footer-native{text-align:left;}
  .iyb-native-footernavs,.iyb-shared-footer-legal{justify-content:flex-start;}
}
@media (max-width:720px){
  .iyb-shared-footer-inner{padding:18px 10px 14px;}
  .iyb-shared-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px;padding-bottom:16px;}
  .iyb-shared-footer-qr{width:auto;}
  .iyb-shared-footer-qr img{width:82px;height:82px;}
  .iyb-shared-footer-meta{padding-top:14px;}
  .iyb-native-footernavs,.iyb-shared-footer-legal{gap:4px 8px;}
  .iyb-native-footernavs>a:not(:last-child):after,
  .iyb-native-footer-item:not(:last-child):after,
  .iyb-shared-footer-legal>*:not(:last-child):after{display:none;}
}
