/* v5 mockup: what the five My Space directions share. Blue Rail tokens only
   (css/console.css); each direction draws with css/ms6/kit.css. */

/* the popover beside what was clicked */
.m6-pop{position:fixed; z-index:120; width:340px; max-width:calc(100vw - 24px); max-height:calc(100dvh - 24px); overflow:auto;
  background:#fff; color:var(--ink); border-radius:20px; box-shadow:0 1px 2px rgba(16,34,64,.06), 0 18px 44px -18px rgba(16,34,64,.34);
  opacity:0; transform:translateY(4px) scale(.985); transform-origin:top left; transition:opacity .16s var(--ease), transform .2s var(--ease)}
.m6-pop.on{opacity:1; transform:none}
.m6-pop :focus-visible{outline:2px solid var(--blue); outline-offset:2px}
@media (prefers-reduced-motion:reduce){ .m6-pop{transition:none} }

/* a subject's picture on a tile */
.s5-ico{flex:none; width:36px; height:36px; border-radius:11px; display:grid; place-items:center; background:var(--sky-10); color:var(--navy)}
.s5-ico .i{width:19px; height:19px}
.s5-ico.sm{width:28px; height:28px; border-radius:9px}
.s5-ico.sm .i{width:15px; height:15px}
.s5-ico.lg{width:48px; height:48px; border-radius:14px}
.s5-ico.lg .i{width:24px; height:24px}

/* the browser's own surfaces, in the palette */
.m6 ::selection, .m6-pop ::selection{background:var(--sky-24); color:var(--navy)}
.m6 *{scrollbar-width:thin; scrollbar-color:var(--hair-3) transparent}
.m6 :focus-visible{outline:2px solid var(--blue); outline-offset:2px}
.m6 input, .m6-pop input, .m6 textarea, .m6-pop textarea{caret-color:var(--blue)}
.m6 [hidden], .m6-pop [hidden]{display:none !important}
