/* m231 (BP-267 r117 round 5): #pains "What founders tell us." on phones: the Messaging window pins and the messages open
   one by one with the scroll (m231.js sets .m231--pin, --m231-y and --m231-f).
   From 768 px up the wrapper is display: contents, so the page is as before. Undo: build without m231. */
#pains.m213 .m231-track { display: contents; }
@media (max-width: 767px) {
  /* sizes from the small screen height (svh), so the page does not change length when the phone's bars hide */
  #pains.m213.m231--pin .m231-track {
    display: block; grid-area: win; min-width: 0; position: relative;
    height: calc(100vh - 24px + 7 * 42vh); height: calc(100svh - 24px + 7 * 42svh);
  }
  #pains.m213.m231--pin .m213-win {
    position: sticky; top: 12px; height: calc(100vh - 24px); height: calc(100svh - 24px);
    display: flex; flex-direction: column;
  }
  #pains.m213.m231--pin .m213-win__top { position: relative; flex: none; }
  #pains.m213.m231--pin .m213-win__top::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
    background: var(--ds-green, #5c7900); transform-origin: 0 50%; transform: scaleX(var(--m231-f, 0));
  }
  #pains.m213.m231--pin .m213-panes { flex: 1; min-height: 0; overflow: hidden; }
  #pains.m213.m231--pin .m213-inbox { transform: translateY(var(--m231-y, 0px)); transition: transform .42s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
}
