/* Shared mobile article navigation; reuse the official 15 x 32 pointed caps. */
.mobile-return-nav { display: none; }
@media (max-width: 999px) {
  body.has-mobile-return-nav {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }
  .mobile-return-nav {
    box-sizing: border-box;
    position: fixed;
    inset: auto 0 0;
    z-index: 150;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 8px max(12px, env(safe-area-inset-right, 0px))
      calc(8px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    border-top: 1px solid #af844d;
    background: #fbf7ee;
  }
  .mobile-return-nav a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 44px;
    padding: 0 15px;
    color: #fff;
    font: 14px/32px "Microsoft YaHei", sans-serif;
    text-decoration: none;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-return-nav a span {
    width: 100%;
    background: #521608;
    color: inherit;
    text-align: center;
  }
  .mobile-return-nav a::before, .mobile-return-nav a::after {
    content: "";
    position: absolute;
    top: calc(50% - 16px);
    width: 15px;
    height: 32px;
    background-repeat: no-repeat;
    background-size: 15px 32px;
  }
  .mobile-return-nav a::before {
    left: 0;
    background-image: url('/assets/data-station/media/641e15afbd3d5d-titBg_left.png');
  }
  .mobile-return-nav a::after {
    right: 0;
    background-image: url('/assets/data-station/media/bb8873cd9283c9-titBg_right.png');
  }
  .mobile-return-nav a:is(:hover, :active, :focus-visible) span { background: #b53a24; }
  .mobile-return-nav a:is(:hover, :active, :focus-visible)::before {
    background-image: url('/assets/data-station/media/ce0b5e9e0cf88c-titBg_leftC.png');
  }
  .mobile-return-nav a:is(:hover, :active, :focus-visible)::after {
    background-image: url('/assets/data-station/media/3f16610eb7b680-titBg_rightC.png');
  }
  .mobile-return-nav a:focus-visible { outline: 2px solid #521608; outline-offset: 1px; }
  body:has(dialog[open]) .mobile-return-nav { display: none; }
}
