/* English Study Bot — V4.9 public-security filing footer polish (Scheme C)
   Scope: the existing unified footer only.
   IMPORTANT:
   - Does not change the established blue-gradient footer background.
   - Does not touch page content, account/session UI, learning logic, or JavaScript.
   - Mobile/desktop both supported; desktop/tablet receives the symmetric Scheme-C separators. */

.esb-mobile-unified-footer-v373 .esb-v490-gongan{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  vertical-align:middle!important;
  text-decoration:none!important;
}
.esb-mobile-unified-footer-v373 .esb-v490-gongan-logo{
  display:block!important;
  flex:0 0 auto!important;
  width:18px!important;
  height:20px!important;
  max-width:18px!important;
  object-fit:contain!important;
}
.esb-mobile-unified-footer-v373 .esb-v490-gongan-text{
  display:inline-block!important;
  white-space:nowrap!important;
}
.esb-mobile-unified-footer-v373 .esb-v490-dot{
  display:inline-block!important;
  flex:0 0 auto!important;
  width:4px!important;
  height:4px!important;
  border-radius:999px!important;
  background:#bed0f2!important;
  box-shadow:0 0 0 3px rgba(190,208,242,.12)!important;
}

/* Scheme C: symmetric desktop/tablet information rows. */
@media (min-width:768px){
  html.esb-mobile-page-v373 .esb-v373-primary{
    gap:0!important;
    margin-bottom:18px!important;
  }
  html.esb-mobile-page-v373 .esb-v373-primary>a,
  html.esb-mobile-page-v373 .esb-v373-primary>span{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
  html.esb-mobile-page-v373 .esb-v373-primary>a:not(:last-child)::after,
  html.esb-mobile-page-v373 .esb-v373-primary>span:not(:last-child)::after{
    content:""!important;
    display:block!important;
    flex:0 0 auto!important;
    width:1px!important;
    height:14px!important;
    margin:0 20px!important;
    background:linear-gradient(180deg,rgba(121,153,210,0),rgba(121,153,210,.36),rgba(121,153,210,0))!important;
  }

  html.esb-mobile-page-v373 .esb-v373-filing.esb-v490-filing{
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    justify-content:center!important;
    column-gap:16px!important;
    row-gap:9px!important;
    max-width:1240px!important;
    margin-bottom:24px!important;
  }
  html.esb-mobile-page-v373 .esb-v373-filing.esb-v490-filing::before,
  html.esb-mobile-page-v373 .esb-v373-filing.esb-v490-filing::after{
    content:""!important;
    display:block!important;
    flex:0 1 76px!important;
    width:clamp(36px,5vw,82px)!important;
    height:1px!important;
    background:linear-gradient(90deg,rgba(116,158,230,0),rgba(116,158,230,.38))!important;
  }
  html.esb-mobile-page-v373 .esb-v373-filing.esb-v490-filing::after{
    background:linear-gradient(90deg,rgba(116,158,230,.38),rgba(116,158,230,0))!important;
  }
  html.esb-mobile-page-v373 .esb-v373-filing.esb-v490-filing a,
  html.esb-mobile-page-v373 .esb-v373-filing.esb-v490-filing span{
    font-size:12.5px!important;
    line-height:1.5!important;
  }
  html.esb-mobile-page-v373 .esb-v490-gongan-logo{
    width:20px!important;
    height:22px!important;
    max-width:20px!important;
  }
}

@media (min-width:768px) and (max-width:1024px){
  html.esb-mobile-page-v373 .esb-v373-primary>a:not(:last-child)::after,
  html.esb-mobile-page-v373 .esb-v373-primary>span:not(:last-child)::after{
    margin-left:14px!important;
    margin-right:14px!important;
  }
  html.esb-mobile-page-v373 .esb-v373-filing.esb-v490-filing{
    column-gap:12px!important;
  }
  html.esb-mobile-page-v373 .esb-v373-filing.esb-v490-filing::before,
  html.esb-mobile-page-v373 .esb-v373-filing.esb-v490-filing::after{
    flex-basis:32px!important;
    width:32px!important;
  }
}

/* Phone: keep the already-proven compact footer layout; only add logo + dot separators. */
@media (max-width:767px){
  html.esb-mobile-page-v373 .esb-v373-filing.esb-v490-filing{
    column-gap:9px!important;
    row-gap:7px!important;
  }
  html.esb-mobile-page-v373 .esb-v490-dot{
    width:3px!important;
    height:3px!important;
    box-shadow:none!important;
  }
  html.esb-mobile-page-v373 .esb-v490-gongan{
    gap:5px!important;
  }
  html.esb-mobile-page-v373 .esb-v490-gongan-logo{
    width:16px!important;
    height:18px!important;
    max-width:16px!important;
  }
  html.esb-mobile-page-v373 .esb-v490-gongan-text{
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
}
