/* Two floating mobile actions: desktop-style teal Write pill + round back-to-top. */
@import url('/mobile-compose-dialog.css?v=106-inline-restore1');
@import url('/community-compose-ticker.css?v=110-compose1');
.stockgap-mobile-bottom-nav{display:none}
@media(max-width:780px){
 html{scroll-padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))}
 body{padding-bottom:calc(86px + env(safe-area-inset-bottom,0px))!important}
 #communityForm,#market,#community{scroll-margin-bottom:calc(90px + env(safe-area-inset-bottom,0px))}
 .stockgap-mobile-bottom-nav{
  position:fixed;right:calc(12px + env(safe-area-inset-right,0px));
  bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:1000;
  display:flex;justify-content:flex-end;align-items:center;gap:12px;
  width:auto;max-width:calc(100vw - 24px);padding:0;
  border:0;background:transparent;box-shadow:none;
 }
 .stockgap-mobile-nav-link{
  display:inline-flex;flex-direction:row;align-items:center;justify-content:center;
  flex:none;min-width:0;min-height:56px;gap:10px;
  text-decoration:none;font-family:inherit;line-height:1.1;white-space:nowrap;
  -webkit-tap-highlight-color:transparent;
 }
 .stockgap-mobile-nav-link:focus-visible{outline:3px solid #67d9d0;outline-offset:3px}
 /* Match the PC writing button in the supplied reference: pencil, text, teal pill. */
 .stockgap-mobile-nav-link[data-nav='write']{
  box-sizing:border-box;display:inline-grid;
  grid-template-columns:24px max-content;align-items:center;justify-content:center;
  column-gap:12px;flex:0 0 auto;
  width:max-content;max-width:calc(100vw - 104px);min-height:56px;
  padding:0 24px;border-radius:999px;
  background:#08786c;color:#fff;border:1px solid #08786c;
  box-shadow:0 7px 20px rgba(0,0,0,.20);
  font-size:19px;font-weight:850;
 }
 .stockgap-mobile-nav-link[data-nav='write']:active{background:#07655b}
 .stockgap-mobile-nav-link[data-nav='write'] .stockgap-mobile-nav-icon{
  display:grid;place-items:center;
  flex:none;width:24px;height:24px;
  line-height:1;color:#fff;
  background:none;border:0;box-shadow:none;filter:none;animation:none;
 }
 .stockgap-mobile-nav-link[data-nav='write'] .stockgap-mobile-nav-icon svg{
  display:block;width:24px;height:24px;
 }
 .stockgap-mobile-nav-link[data-nav='write'] .stockgap-mobile-nav-label{
  display:block;font-size:19px;font-weight:850;line-height:1;text-align:center;
 }
 /* Keep the other requested action: a circular arrow that scrolls this page. */
 .stockgap-mobile-nav-link[data-nav='top']{
  box-sizing:border-box;cursor:pointer;flex:0 0 56px;
  width:56px;height:56px;min-height:56px;position:relative;
  border-radius:999px;background:#f4f8fa;color:#173244;
  border:1.5px solid #b7d0dc;box-shadow:0 4px 15px rgba(0,0,0,.13);
  appearance:none;-webkit-appearance:none;
 }
 .stockgap-mobile-nav-link[data-nav='top'] .stockgap-mobile-nav-icon{
  display:inline-flex;justify-content:center;align-items:center;
  flex:none;width:100%;height:100%;
  font-size:34px;font-weight:850;line-height:1;background:none;border:0;
 }
 .stockgap-mobile-nav-link[data-nav='top'] .stockgap-mobile-nav-label{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
 }
 .stockgap-mobile-nav-link[data-nav='top']:active{transform:translateY(-1px)}
}
